summaryrefslogtreecommitdiff
path: root/patches/eglibc/2_8
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-09-22 22:01:43 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-09-22 22:01:43 (GMT)
commit69dc5197af02e3a04564cbd89a8eee61b112ac46 (patch)
treeb6e7dac0b9ef2c6b8b360ba643d81e8c6d554261 /patches/eglibc/2_8
parent8935b104210453fc0160377808a9ca657d6c9212 (diff)
Make eglibc build on systems where both autoconf-2.13 and autoconf-2.50 are installed (such as Debian).
/trunk/patches/eglibc/2_8/110-AC_PREREQ-2.50.patch | 78 78 0 0 ++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+)
Diffstat (limited to 'patches/eglibc/2_8')
-rw-r--r--patches/eglibc/2_8/100-powerpc-private_futex.patch15
-rw-r--r--patches/eglibc/2_8/110-AC_PREREQ-2.50.patch78
2 files changed, 93 insertions, 0 deletions
diff --git a/patches/eglibc/2_8/100-powerpc-private_futex.patch b/patches/eglibc/2_8/100-powerpc-private_futex.patch
new file mode 100644
index 0000000..3016529
--- /dev/null
+++ b/patches/eglibc/2_8/100-powerpc-private_futex.patch
@@ -0,0 +1,15 @@
+2008-04-28 Hiroki Kaminaga <kaminaga@sm.sony.co.jp>
+
+ [BZ 6740]
+ nptl/sysdeps/powerpc/tcb-offsets.sym (PRIVATE_FUTEX_OFFSET):
+ Guard sym definition with #ifndef __ASSUME_PRIVATE_FUTEX.
+
+--- a/nptl/sysdeps/powerpc/tcb-offsets.sym
++++ b/nptl/sysdeps/powerpc/tcb-offsets.sym
+@@ -15,4 +15,6 @@
+ PID thread_offsetof (pid)
+ TID thread_offsetof (tid)
+ POINTER_GUARD (offsetof (tcbhead_t, pointer_guard) - TLS_TCB_OFFSET - sizeof (tcbhead_t))
++#ifndef __ASSUME_PRIVATE_FUTEX
+ PRIVATE_FUTEX_OFFSET thread_offsetof (header.private_futex)
++#endif
diff --git a/patches/eglibc/2_8/110-AC_PREREQ-2.50.patch b/patches/eglibc/2_8/110-AC_PREREQ-2.50.patch
new file mode 100644
index 0000000..38388ec
--- /dev/null
+++ b/patches/eglibc/2_8/110-AC_PREREQ-2.50.patch
@@ -0,0 +1,78 @@
+Index: sysdeps/powerpc/powerpc32/configure.in
+===================================================================
+--- libc/sysdeps/powerpc/powerpc32/configure.in (revision 7000)
++++ libc/sysdeps/powerpc/powerpc32/configure.in (working copy)
+@@ -1,6 +1,8 @@
+ GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
+ # Local configure fragment for sysdeps/powerpc/powerpc32.
+
++AC_PREREQ(2.50)
++
+ # See whether gas has R_PPC_REL16 relocs.
+ AC_CACHE_CHECK(for R_PPC_REL16 gas support, libc_cv_ppc_rel16, [dnl
+ cat > conftest.s <<\EOF
+Index: sysdeps/powerpc/powerpc32/elf/configure.in
+===================================================================
+--- libc/sysdeps/powerpc/powerpc32/elf/configure.in (revision 7000)
++++ libc/sysdeps/powerpc/powerpc32/elf/configure.in (working copy)
+@@ -1,6 +1,8 @@
+ GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
+ # Local configure fragment for sysdeps/powerpc32/elf.
+
++AC_PREREQ(2.50)
++
+ if test "$usetls" != no; then
+ # Check for support of thread-local storage handling in assembler and
+ # linker.
+Index: sysdeps/powerpc/configure.in
+===================================================================
+--- libc/sysdeps/powerpc/configure.in (revision 7000)
++++ libc/sysdeps/powerpc/configure.in (working copy)
+@@ -1,6 +1,8 @@
+ GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
+ # Local configure fragment for sysdeps/powerpc.
+
++AC_PREREQ(2.50)
++
+ # Accept binutils which knows about ".machine".
+ AC_CACHE_CHECK(for .machine support, libc_cv_ppc_machine, [dnl
+ cat > conftest.s <<\EOF
+Index: sysdeps/unix/sysv/linux/powerpc/configure.in
+===================================================================
+--- libc/sysdeps/unix/sysv/linux/powerpc/configure.in (revision 7000)
++++ libc/sysdeps/unix/sysv/linux/powerpc/configure.in (working copy)
+@@ -2,6 +2,8 @@
+ GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
+ # Local configure fragment for sysdeps/unix/sysv/linux/powerpc/.
+
++AC_PREREQ(2.50)
++
+ AC_CACHE_CHECK(whether $CC $CFLAGS -mlong-double-128 uses IBM extended format,
+ libc_cv_mlong_double_128ibm, [dnl
+ save_CFLAGS="$CFLAGS"
+Index: sysdeps/ieee754/ldbl-opt/configure.in
+===================================================================
+--- libc/sysdeps/ieee754/ldbl-opt/configure.in (revision 7000)
++++ libc/sysdeps/ieee754/ldbl-opt/configure.in (working copy)
+@@ -2,6 +2,8 @@
+ GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
+ # Local configure fragment for sysdeps/ieee754/ldbl-opt/.
+
++AC_PREREQ(2.50)
++
+ AC_CACHE_CHECK(whether $CC $CFLAGS supports -mlong-double-128,
+ libc_cv_mlong_double_128, [dnl
+ save_CFLAGS="$CFLAGS"
+Index: libidn/configure.in
+===================================================================
+--- libc/libidn/configure.in (revision 7000)
++++ libc/libidn/configure.in (working copy)
+@@ -1,6 +1,8 @@
+ dnl glibc configure fragment for libidn add-on
+ GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
+
++AC_PREREQ(2.50)
++
+ libc_add_on_canonical=
+ libc_add_on_subdirs=.
+