summaryrefslogtreecommitdiff
path: root/security/pgp6/files/patch-ar
diff options
context:
space:
mode:
Diffstat (limited to 'security/pgp6/files/patch-ar')
-rw-r--r--security/pgp6/files/patch-ar13
1 files changed, 5 insertions, 8 deletions
diff --git a/security/pgp6/files/patch-ar b/security/pgp6/files/patch-ar
index 19ef42b122ae..b2e0c43ee0c2 100644
--- a/security/pgp6/files/patch-ar
+++ b/security/pgp6/files/patch-ar
@@ -1,14 +1,11 @@
---- libs/pfl/common/lthread/pgpThreads.h.orig Mon Apr 19 10:59:53 1999
-+++ libs/pfl/common/lthread/pgpThreads.h Thu Jan 22 12:34:15 2004
-@@ -138,7 +138,9 @@
+--- libs/pfl/common/lthread/pgpThreads.h.orig 1999-04-19 10:59:53.000000000 -0700
++++ libs/pfl/common/lthread/pgpThreads.h 2008-08-31 17:22:17.000000000 -0700
+@@ -138,7 +138,7 @@ typedef pthread_key_t PGPThreadKey_t;
#endif /* end HAVE_PTHREAD_ATTR_CREATE */
/* My version of Linux has sem_init in pthreads.so, but *zero* headers ?? */
-#if HAVE_SEM_INIT && !PGP_UNIX_LINUX
-+/* #if HAVE_SEM_INIT && !PGP_UNIX_LINUX
-+ commented out for FreeBSD */
-+#if 0
++#if HAVE_SEM_INIT && !PGP_UNIX_LINUX && !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__)
- #undef HAVE_SEMGET /* prefer POSIX sem_init over semget */
+ #undef HAVE_SEMGET /* prefer POSIX sem_init over semget */
#define HAVE_SEMGET 0
-