From b63643fb424ddace4234b2dbaa94631fa2a5c177 Mon Sep 17 00:00:00 2001 From: Stefan Fiedler Date: Sun, 5 Aug 2007 19:48:39 +0000 Subject: [PATCH] Stefan Fiedler: glibc26: copy fix from glibc cvs for arm builds [2007080223035828448] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@8671 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- .../base/glibc/glibc26/semaphore_h.patch.arm | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 package/base/glibc/glibc26/semaphore_h.patch.arm 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 + {