diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 2008-09-01 17:56:05 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 2008-09-01 17:56:05 +0000 |
commit | 1348e3ff59552fef1dca022dffb19f56bf70093e (patch) | |
tree | 1d028adc594e4c491bbf5b4414d303eeb820f33d /security/pgp6/files/patch-as | |
parent | make it use gcc 4.2 or above instead of 4.1 only. (diff) |
Fix build on FreeBSD/i386 8-CURRENT. (7.0 building with GCC 4.2)
Notes
Notes:
svn path=/head/; revision=219602
Diffstat (limited to 'security/pgp6/files/patch-as')
-rw-r--r-- | security/pgp6/files/patch-as | 10 |
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}; |