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

14 lines
506 B
Text

--- 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 @@
#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
#undef HAVE_SEMGET /* prefer POSIX sem_init over semget */
#define HAVE_SEMGET 0