summaryrefslogtreecommitdiff
path: root/graphics/ImageMagick
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2003-01-22 15:36:23 +0000
committerMax Khon <fjoe@FreeBSD.org>2003-01-22 15:36:23 +0000
commit738a2ee53add6427c9a5e807fdb068bec219cab2 (patch)
treee3ba1395d2aa13d33265efb3dd4374768f7cd0ee /graphics/ImageMagick
parentThis patch was necessary when committed, but I've been working with the (diff)
Fix compiling with jasper 1.600.0 (and later)
while retaining ability to compile with earlier jasper versions.
Notes
Notes: svn path=/head/; revision=73792
Diffstat (limited to 'graphics/ImageMagick')
-rw-r--r--graphics/ImageMagick/files/patch-coders::jp2.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/graphics/ImageMagick/files/patch-coders::jp2.c b/graphics/ImageMagick/files/patch-coders::jp2.c
new file mode 100644
index 000000000000..fb428a197371
--- /dev/null
+++ b/graphics/ImageMagick/files/patch-coders::jp2.c
@@ -0,0 +1,18 @@
+--- coders/jp2.c.orig Sat Oct 12 23:41:32 2002
++++ coders/jp2.c Wed Jan 22 21:11:31 2003
+@@ -498,6 +498,15 @@
+ }
+
+ #if defined(HasJP2)
++
++#ifndef JAS_IMAGE_CM_GRAY
++#define JAS_IMAGE_CM_GRAY JAS_IMAGE_CS_GRAY
++#endif
++
++#ifndef JAS_IMAGE_CM_RGB
++#define JAS_IMAGE_CM_RGB JAS_IMAGE_CS_RGB
++#endif
++
+ /*
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ % %