summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/busybox/files/busybox-1.11.1-ppc-ifile.patch')
-rw-r--r--sys-apps/busybox/files/busybox-1.11.1-ppc-ifile.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/sys-apps/busybox/files/busybox-1.11.1-ppc-ifile.patch b/sys-apps/busybox/files/busybox-1.11.1-ppc-ifile.patch
new file mode 100644
index 000000000000..9a9cffa4e309
--- /dev/null
+++ b/sys-apps/busybox/files/busybox-1.11.1-ppc-ifile.patch
@@ -0,0 +1,12 @@
+--- modutils/insmod.c.orig 2008-08-04 12:35:11.000000000 -0400
++++ modutils/insmod.c 2008-08-04 11:16:06.000000000 -0400
+@@ -840,7 +840,8 @@
+ ElfW(RelM) *rel, ElfW(Addr) v)
+ {
+ #if defined(__arm__) || defined(__i386__) || defined(__mc68000__) \
+- || defined(__sh__) || defined(__s390__) || defined(__x86_64__)
++ || defined(__sh__) || defined(__s390__) || defined(__x86_64__) \
++ || defined(__powerpc__)
+ struct arch_file *ifile = (struct arch_file *) f;
+ #endif
+ enum obj_reloc ret = obj_reloc_ok;