openbsd-ports/lang/swi-prolog/patches/patch-src_configure_in
espie 095670b78e update to 5.6.27. We lose the sgml package temporarily (wide-chars),
but we gain sparc64 support ! seems the fixes for win64 also fixed
our problems.

Add a few SUBST variables to simplify packing-list comparisons.
2007-01-27 17:35:46 +00:00

13 lines
511 B
Plaintext

$OpenBSD: patch-src_configure_in,v 1.2 2007/01/27 17:35:46 espie Exp $
--- src/configure.in.orig Wed Jan 24 10:30:36 2007
+++ src/configure.in Sat Jan 27 18:35:39 2007
@@ -350,7 +350,7 @@ AC_TRY_LINK([
[ static pthread_mutex_t m = PTHREAD_MUTEX_INITIALIZER;
pthread_mutex_lock(&m);
pthread_mutex_unlock(&m);
-#if !(defined(_REENTRANT) || defined(_THREAD_SAFE))
+#if !(defined(_REENTRANT) || defined(_THREAD_SAFE) || defined(_POSIX_THREADS))
this should not be compiled
#endif
],