summaryrefslogtreecommitdiff
path: root/fedora/glibc-ppc-assume.patch
diff options
context:
space:
mode:
Diffstat (limited to 'fedora/glibc-ppc-assume.patch')
-rw-r--r--fedora/glibc-ppc-assume.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/fedora/glibc-ppc-assume.patch b/fedora/glibc-ppc-assume.patch
new file mode 100644
index 0000000000..49ae497559
--- /dev/null
+++ b/fedora/glibc-ppc-assume.patch
@@ -0,0 +1,29 @@
+--- libc/sysdeps/unix/sysv/linux/powerpc/kernel-features.h.jj 2003-01-30 05:24:37.000000000 -0500
++++ libc/sysdeps/unix/sysv/linux/powerpc/kernel-features.h 2003-09-23 18:28:07.000000000 -0400
+@@ -0,0 +1,15 @@
++/* In RHEL3, we can assume the shipped kernel, which is 2.4.21. */
++#include_next <kernel-features.h>
++
++#if !defined __ASSUME_NEW_PRCTL_SYSCALL && defined __powerpc__
++# define __ASSUME_NEW_PRCTL_SYSCALL 1
++#endif
++
++#if !defined __ASSUME_FIXED_CLONE_SYSCALL && defined __powerpc__ \
++ && !defined __powerpc64__
++# define __ASSUME_FIXED_CLONE_SYSCALL 1
++#endif
++
++#if !defined __ASSUME_NEW_RT_SIGRETURN_SYSCALL && defined __powerpc64__
++# define __ASSUME_NEW_RT_SIGRETURN_SYSCALL 1
++#endif
+--- libc/sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c.jj 2003-03-16 01:40:44.000000000 +0100
++++ libc/sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c 2005-06-27 16:33:19.000000000 +0200
+@@ -19,7 +19,7 @@
+
+
+ #include "config.h"
+-#include "kernel-features.h"
++#include <kernel-features.h>
+ #include <ldsodefs.h>
+
+ extern int __cache_line_size;