From 82e3fe02adcd035ffc701e27f15e0c78ff05b3cc Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 20 Nov 2005 07:33:51 +0000 Subject: [PATCH] patch against configure.ac --- .../files/strace-4.5.12-superh-update.patch | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 dev-util/strace/files/strace-4.5.12-superh-update.patch diff --git a/dev-util/strace/files/strace-4.5.12-superh-update.patch b/dev-util/strace/files/strace-4.5.12-superh-update.patch new file mode 100644 index 000000000000..d402997c1278 --- /dev/null +++ b/dev-util/strace/files/strace-4.5.12-superh-update.patch @@ -0,0 +1,24 @@ +Fix configure script to work with targets like 'sh4-unknown-linux-gnu' + +--- configure.ac ++++ configure.ac +@@ -91,14 +91,14 @@ + arch=hppa + AC_DEFINE([HPPA], 1, [Define for the HPPA architecture.]) + ;; +-sh) +- arch=sh +- AC_DEFINE([SH], 1, [Define for the SH architecture.]) +- ;; +-sh64) ++sh64*) + arch=sh64 + AC_DEFINE([SH64], 1, [Define for the SH64 architecture.]) + ;; ++sh*) ++ arch=sh ++ AC_DEFINE([SH], 1, [Define for the SH architecture.]) ++ ;; + x86?64*) + arch=x86_64 + AC_DEFINE([X86_64], 1, [Define for the AMD x86-64 architecture.]) -- 2.26.2