SOURCES: glibc-sparc-lowlevellock.patch (NEW) - fix build on sparc
tommat
tommat at pld-linux.org
Fri Nov 2 08:59:51 CET 2007
Author: tommat Date: Fri Nov 2 07:59:51 2007 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- fix build on sparc
---- Files affected:
SOURCES:
glibc-sparc-lowlevellock.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/glibc-sparc-lowlevellock.patch
diff -u /dev/null SOURCES/glibc-sparc-lowlevellock.patch:1.1
--- /dev/null Fri Nov 2 08:59:51 2007
+++ SOURCES/glibc-sparc-lowlevellock.patch Fri Nov 2 08:59:46 2007
@@ -0,0 +1,21 @@
+--- glibc-2.7/nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h.orig 2007-11-01 22:29:07.000000000 +0100
++++ glibc-2.7/nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h 2007-11-01 22:29:39.000000000 +0100
+@@ -120,7 +120,7 @@
+ /* Returns non-zero if error happened, zero if success. */
+ #ifdef __sparc32_atomic_do_lock
+ /* Avoid FUTEX_WAKE_OP if supporting pre-v9 CPUs. */
+-# define lll_futex_wake_unlock(futexp, nr_wake, nr_wake2, futexp2) 1
++# define lll_futex_wake_unlock(futexp, nr_wake, nr_wake2, futexp2, private) 1
+ #else
+ # define lll_futex_wake_unlock(futexp, nr_wake, nr_wake2, futexp2, private) \
+ ({ \
+--- glibc-2.7/nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c.orig 2007-11-01 23:11:22.000000000 +0100
++++ glibc-2.7/nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c 2007-11-01 23:11:43.000000000 +0100
+@@ -133,6 +133,7 @@
+ __old_sem_wait (sem_t *sem)
+ {
+ struct sparc_old_sem *isem = (struct sparc_old_sem *) sem;
++ int *futex = (int *) sem;
+ int err;
+ int val;
+
================================================================
More information about the pld-cvs-commit
mailing list