summaryrefslogtreecommitdiff
path: root/security/pgp6/files/patch-as
diff options
context:
space:
mode:
Diffstat (limited to 'security/pgp6/files/patch-as')
-rw-r--r--security/pgp6/files/patch-as10
1 files changed, 4 insertions, 6 deletions
diff --git a/security/pgp6/files/patch-as b/security/pgp6/files/patch-as
index 4463f446b4bf..f78f4fc4b91f 100644
--- a/security/pgp6/files/patch-as
+++ b/security/pgp6/files/patch-as
@@ -1,13 +1,11 @@
---- libs/pfl/common/lthread/pgpSemaphore.c.old Tue Mar 17 21:08:17 1998
-+++ libs/pfl/common/lthread/pgpSemaphore.c Thu Jan 22 13:00:16 2004
-@@ -41,7 +41,9 @@
+--- libs/pfl/common/lthread/pgpSemaphore.c.orig 1998-03-17 21:08:17.000000000 -0800
++++ libs/pfl/common/lthread/pgpSemaphore.c 2008-09-01 10:01:39.000000000 -0700
+@@ -41,7 +41,7 @@ int PGPSemDestroy(PGPSem_t *sem)
#endif /* end PGP_UNIX_SOLARIS */
/* Linux has sem_init function but no 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__)
PGPSemAttr_t PGPSemAttr_def = {0, 0};