summaryrefslogtreecommitdiff
path: root/package/strace/strace-superh-update.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/strace/strace-superh-update.patch')
-rw-r--r--package/strace/strace-superh-update.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/package/strace/strace-superh-update.patch b/package/strace/strace-superh-update.patch
new file mode 100644
index 000000000..ff865a247
--- /dev/null
+++ b/package/strace/strace-superh-update.patch
@@ -0,0 +1,28 @@
+--- strace/configure
++++ strace/configure
+@@ -1993,19 +1993,19 @@
+ _ACEOF
+
+ ;;
+-sh)
+- arch=sh
++sh64)
++ arch=sh64
+
+ cat >>confdefs.h <<\_ACEOF
+-#define SH 1
++#define SH64 1
+ _ACEOF
+
+ ;;
+-sh64)
+- arch=sh64
++sh*)
++ arch=sh
+
+ cat >>confdefs.h <<\_ACEOF
+-#define SH64 1
++#define SH 1
+ _ACEOF
+
+ ;;