freebsd-ports/graphics/ImageMagick/files/patch-coders::jp2.c
Norikatsu Shigemura 142eb4adfe Update to 5.5.7-11. [1]
o Removed two (now obsolate) libtool version patches
  as ImageMagick now uses internal version system for
  them starting from 0:0:0 (5.5.8 will become 0:1:0),
  also MAJOR_VERSION/MINOR_VERSION/MICRO_VERSION
  variables removed from the source.
o Removed two other patches as now they are already
  embedded to the source.
o Updated plist to reflect separate Q8/Q16 folder
  installations based on selection while installing.
  Also Makefile modifed to reflect this.

Minor cleanup MASTER_SITES.
Utilize PLIST_SUB from post-install:

PR:		ports/55274 (Update to 5.5.7-10) [1]
Submitted by:	Erdener Gonenc <ergonenc@artemis.efes.net> [1]
Reviewed by:	Rob Lahaye <lahaye@snu.ac.kr>
2003-10-04 16:36:09 +00:00

17 lines
462 B
C

--- coders/jp2.c.orig Sat Oct 12 23:41:32 2002
+++ coders/jp2.c Wed Jan 22 21:11:31 2003
@@ -639,5 +639,14 @@
#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
+
/*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %