aboutsummaryrefslogtreecommitdiff
path: root/graphics/ImageMagick/files
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>2001-01-11 05:19:46 +0000
committerSteve Price <steve@FreeBSD.org>2001-01-11 05:19:46 +0000
commitef77816e022ee1f248f01967245b4660b00cbf8f (patch)
tree273a321b76a48fab756f6d03582cb78f0e096d07 /graphics/ImageMagick/files
parent9616b3620ef4198a0dd0da8f3555d8c55e97445d (diff)
Notes
Diffstat (limited to 'graphics/ImageMagick/files')
-rw-r--r--graphics/ImageMagick/files/patch-al16
1 files changed, 16 insertions, 0 deletions
diff --git a/graphics/ImageMagick/files/patch-al b/graphics/ImageMagick/files/patch-al
new file mode 100644
index 000000000000..44d2a4409968
--- /dev/null
+++ b/graphics/ImageMagick/files/patch-al
@@ -0,0 +1,16 @@
+--- configure.in.orig Fri Dec 1 02:14:22 2000
++++ configure.in Tue Dec 5 02:43:13 2000
+@@ -471,10 +471,10 @@
+ LIB_THREAD=''
+ if test "$with_threads" != 'no'
+ then
+- AC_CHECK_LIB(pthread,pthread_attr_init,
++ AC_CHECK_LIB(c_r,pthread_attr_init,
+ [AC_DEFINE(HasPTHREADS,,Define if you have Posix thread methods.)
+- LIB_THREAD="-lpthread"
+- DEF_THREAD="-D_REENTRANT"],,)
++ LIB_THREAD="-pthread"
++ DEF_THREAD="-D_THREAD_SAFE"],,)
+ LIBS="$LIB_THREAD $LIBS"
+ CPPFLAGS="$DEF_THREAD $CPPFLAGS"
+ fi