summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2001-01-30 13:18:51 +0000
committerwiz <wiz@pkgsrc.org>2001-01-30 13:18:51 +0000
commita9adf7cebe2a2add59f5ba18ff7e5e624aa0216a (patch)
treee7848f0fb3497e1586c95ce662a3d671f0e5088f /graphics
parent023e34604435149fa9c0eab0b1ed36a215b4ca52 (diff)
downloadpkgsrc-a9adf7cebe2a2add59f5ba18ff7e5e624aa0216a.tar.gz
Make it partially compile on 1.4.2, whose unistd.h doesn't seem to like
this combination of _XOPEN_SOURCE and _POSIX_C_SOURCE.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/ImageMagick/files/patch-sum3
-rw-r--r--graphics/ImageMagick/patches/patch-ab13
2 files changed, 15 insertions, 1 deletions
diff --git a/graphics/ImageMagick/files/patch-sum b/graphics/ImageMagick/files/patch-sum
index 1e7f6bd7bbc..069816fbc5f 100644
--- a/graphics/ImageMagick/files/patch-sum
+++ b/graphics/ImageMagick/files/patch-sum
@@ -1,4 +1,5 @@
-$NetBSD: patch-sum,v 1.6 2001/01/29 19:03:24 tron Exp $
+$NetBSD: patch-sum,v 1.7 2001/01/30 13:18:51 wiz Exp $
MD5 (patch-aa) = e762a9b4538fe1e2382ab668ebd866c8
+MD5 (patch-ab) = dd8a1b999f6ef1baa7d0c7c63b0c5c9e
MD5 (patch-ac) = 4ab9f29433f4a2b4d711d107f72ba5d2
diff --git a/graphics/ImageMagick/patches/patch-ab b/graphics/ImageMagick/patches/patch-ab
new file mode 100644
index 00000000000..57c2846c45a
--- /dev/null
+++ b/graphics/ImageMagick/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.10 2001/01/30 13:18:52 wiz Exp $
+
+--- magick/magick.h.orig Wed Jan 24 16:12:55 2001
++++ magick/magick.h Tue Jan 30 13:53:37 2001
+@@ -11,8 +11,6 @@
+ /*
+ System include declarations.
+ */
+-#define _XOPEN_SOURCE 500
+-#define _POSIX_C_SOURCE 199506L
+
+ #include <stdio.h>
+ #include <stdlib.h>