freebsd-ports/security/pgp6/files/patch-as
Kirill Ponomarev ea58b3236e - Fix build on 5.x
PR:		ports/61762
Submitted by:	maintainer
2004-01-23 19:15:05 +00:00

13 lines
416 B
Text

--- 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 @@
#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
PGPSemAttr_t PGPSemAttr_def = {0, 0};