From 1c9ad538cd90ab5f32b0132218da6d30e6023023 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Tue, 4 Mar 2008 18:11:23 +0000 Subject: glibc 2.7: fix undefined reference --- packages/glibc/glibc-2.4/glibc-arm-IO-acquire-lock-fix.diff | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 packages/glibc/glibc-2.4/glibc-arm-IO-acquire-lock-fix.diff (limited to 'packages/glibc/glibc-2.4') diff --git a/packages/glibc/glibc-2.4/glibc-arm-IO-acquire-lock-fix.diff b/packages/glibc/glibc-2.4/glibc-arm-IO-acquire-lock-fix.diff new file mode 100644 index 0000000000..a552cf0d1f --- /dev/null +++ b/packages/glibc/glibc-2.4/glibc-arm-IO-acquire-lock-fix.diff @@ -0,0 +1,13 @@ +Arm needs a similar fix as http://sourceware.org/ml/libc-ports/2007-12/msg00000.html + +--- /tmp/stdio-lock.h 2008-03-04 18:51:15.555038993 +0100 ++++ glibc-2.7/ports/sysdeps/unix/sysv/linux/arm/bits/stdio-lock.h 2008-03-04 18:51:28.445035052 +0100 +@@ -50,6 +50,8 @@ + _IO_cleanup_region_start ((void (*) (void *)) _IO_funlockfile, (_fp)); \ + _IO_flockfile (_fp) + ++# define _IO_acquire_lock_clear_flags2(_fp) _IO_acquire_lock (_fp) ++ + # define _IO_release_lock(_fp) \ + _IO_funlockfile (_fp); \ + _IO_cleanup_region_end (0) -- cgit v1.2.3