openbsd-ports/devel/boehm-gc/patches/patch-threadlibs_c
kili 1dd9afdf52 Update to 7.0.
Most work done by kurt@, who got bleeding eyes and has been trapped
into pthread issues because some of us (me and Stuart Henderson)
were slopyy and applied some patches only partial. A big sorry to
kurt@ for this waste of time!

Tested by many. Intermediate ok's (IIRC) from kurt@, naddy@ and todd@.
2007-07-14 22:16:16 +00:00

14 lines
405 B
Plaintext

$OpenBSD: patch-threadlibs_c,v 1.1 2007/07/14 22:16:17 kili Exp $
--- threadlibs.c.orig Thu Jul 12 08:56:01 2007
+++ threadlibs.c Thu Jul 12 08:58:02 2007
@@ -18,6 +18,9 @@ int main()
# endif
printf("-lpthread\n");
# endif
+# if defined(GC_OPENBSD_THREADS)
+ printf("-pthread\n");
+# endif
# if defined(GC_FREEBSD_THREADS)
# ifdef GC_USE_DLOPEN_WRAP
printf("-ldl ");