diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2009-11-13 20:37:18 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2009-11-13 20:37:18 (GMT) |
commit | 4b173045e97ab47f92bc27e9bef3a04f5742b263 (patch) | |
tree | 5c907ac100fc957240f4936d58c16a26554cfcdf /patches/glibc/ports-2.10.1/520-alpha-add-futex-defines.patch | |
parent | 590ca63f0dc6a548e2254d71b065efbf38ed85d8 (diff) |
libc/glibc: add 2.10.1
Woo... It seems the glibc guys finally decided that tarballs
were not deprecated, in fact.
The patchset was vampirised from Gentoo (kudos, guys!), and
applies to glibc+ports, so that's why it's been added as a
patchset against ports, not against glibc.
Diffstat (limited to 'patches/glibc/ports-2.10.1/520-alpha-add-futex-defines.patch')
-rw-r--r-- | patches/glibc/ports-2.10.1/520-alpha-add-futex-defines.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/patches/glibc/ports-2.10.1/520-alpha-add-futex-defines.patch b/patches/glibc/ports-2.10.1/520-alpha-add-futex-defines.patch new file mode 100644 index 0000000..42e1499 --- /dev/null +++ b/patches/glibc/ports-2.10.1/520-alpha-add-futex-defines.patch @@ -0,0 +1,26 @@ +2009-05-19 Aurelien Jarno <aurelien@aurel32.net> + + * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Define + FUTEX_WAIT_BITSET, FUTEX_WAKE_BITSET, FUTEX_CLOCK_REALTIME and + FUTEX_BITSET_MATCH_ANY. + + ports/sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h | 5 +++++ + 1 file changed, 5 insertions(+) + +diff -durN glibc-2.10.1.orig/glibc-ports-2.10.1/sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h glibc-2.10.1/glibc-ports-2.10.1/sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h +--- glibc-2.10.1.orig/glibc-ports-2.10.1/sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h 2009-05-16 10:36:20.000000000 +0200 ++++ glibc-2.10.1/glibc-ports-2.10.1/sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h 2009-11-13 00:51:11.000000000 +0100 +@@ -37,7 +37,12 @@ + #define FUTEX_LOCK_PI 6 + #define FUTEX_UNLOCK_PI 7 + #define FUTEX_TRYLOCK_PI 8 ++#define FUTEX_WAIT_BITSET 9 ++#define FUTEX_WAKE_BITSET 10 + #define FUTEX_PRIVATE_FLAG 128 ++#define FUTEX_CLOCK_REALTIME 256 ++ ++#define FUTEX_BITSET_MATCH_ANY 0xffffffff + + /* Values for 'private' parameter of locking macros. Yes, the + definition seems to be backwards. But it is not. The bit will be +diff -durN glibc-2.10.1.orig/ports/sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h glibc-2.10.1/ports/sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h |