diff --git a/package/base/glibc/glibc26/semaphore_h.patch.arm b/package/base/glibc/glibc26/semaphore_h.patch.arm new file mode 100644 index 000000000..9ed258a85 --- /dev/null +++ b/package/base/glibc/glibc26/semaphore_h.patch.arm @@ -0,0 +1,23 @@ +=================================================================== +RCS file: /cvs/glibc/ports/sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h,v +retrieving revision 1.1 +retrieving revision 1.2 +diff -u -r1.1 -r1.2 +--- ./glibc-ports-2.6/sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h 2005/11/16 19:03:42 1.1 ++++ ./glibc-ports-2.6/sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h 2007/07/10 13:35:29 1.2 +@@ -1,4 +1,4 @@ +-/* Copyright (C) 2002, 2005 Free Software Foundation, Inc. ++/* Copyright (C) 2002, 2005, 2007 Free Software Foundation, Inc. + This file is part of the GNU C Library. + + The GNU C Library is free software; you can redistribute it and/or +@@ -27,9 +27,6 @@ + /* Value returned if `sem_open' failed. */ + #define SEM_FAILED ((sem_t *) 0) + +-/* Maximum value the semaphore can have. */ +-#define SEM_VALUE_MAX ((int) ((~0u) >> 1)) +- + + typedef union + {