summaryrefslogtreecommitdiffstats
path: root/meta/packages/strace/strace-4.5.14/sh-arch-update.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/strace/strace-4.5.14/sh-arch-update.patch')
-rw-r--r--meta/packages/strace/strace-4.5.14/sh-arch-update.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/meta/packages/strace/strace-4.5.14/sh-arch-update.patch b/meta/packages/strace/strace-4.5.14/sh-arch-update.patch
new file mode 100644
index 0000000000..e40673a616
--- /dev/null
+++ b/meta/packages/strace/strace-4.5.14/sh-arch-update.patch
@@ -0,0 +1,21 @@
1Strace doesn't know that sh3 and sh4 should be treated as sh and sh5 as
2sh64. Originally this was solved by ac_cv_host in the site files, however
3doing it in the site file breaks the glibc build, so teach strace about them
4instead.
5
6--- strace-4.5.14/configure.ac 2006/05/11 07:12:05 1.1
7+++ strace-4.5.14/configure.ac 2006/05/11 07:15:42
8@@ -91,11 +91,11 @@
9 arch=hppa
10 AC_DEFINE([HPPA], 1, [Define for the HPPA architecture.])
11 ;;
12-sh)
13+sh|sh3*|sh4*)
14 arch=sh
15 AC_DEFINE([SH], 1, [Define for the SH architecture.])
16 ;;
17-sh64)
18+sh64|sh5*)
19 arch=sh64
20 AC_DEFINE([SH64], 1, [Define for the SH64 architecture.])
21 ;;