summaryrefslogtreecommitdiff
path: root/misc/root/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'misc/root/patches/patch-ad')
-rw-r--r--misc/root/patches/patch-ad23
1 files changed, 0 insertions, 23 deletions
diff --git a/misc/root/patches/patch-ad b/misc/root/patches/patch-ad
deleted file mode 100644
index f51da3ba2fb..00000000000
--- a/misc/root/patches/patch-ad
+++ /dev/null
@@ -1,23 +0,0 @@
-$NetBSD: patch-ad,v 1.3 2010/02/26 10:56:38 drochner Exp $
-
---- io/io/src/TMapFile.cxx.orig 2006-05-26 17:50:02.000000000 +0200
-+++ io/io/src/TMapFile.cxx
-@@ -104,7 +104,7 @@
- #include <sys/sem.h>
- #if defined(R__HPUX) || (defined (R__ALPHA) && !defined(R__FBSD)) || \
- defined (R__SOLARIS) || defined(R__AIX) || defined(R__HIUX) || \
-- __GLIBC_MINOR__ > 0
-+ __GLIBC_MINOR__ > 0 || defined(__NetBSD__)
- union semun {
- int val; // value for SETVAL
- struct semid_ds *buf; // buffer for IPC_STAT & IPC_SET
-@@ -760,8 +760,7 @@ void TMapFile::CreateSemaphore(int pid)
- #ifdef HAVE_SEMOP
- #ifndef WIN32
- // create semaphore to synchronize access (should use read/write lock)
-- fSemaphore = semget(IPC_PRIVATE, 1, SEM_R|SEM_A|(SEM_R>>3)|(SEM_A>>3)|
-- (SEM_R>>6)|(SEM_A>>6));
-+ fSemaphore = semget(IPC_PRIVATE, 1, 0);
-
- // set semaphore to 1
- if (fSemaphore != -1) {