1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-07-08 04:49:17 -04:00
ports/graphics/GraphicsMagick12/files/patch-coders__jp2.c
Greg Larkin 4f0acc7cac - Added a patch file to correct post-build, pre-installation test case
core dumps. There is no new release yet, but the patch file was supplied
  by the upstream distribution author.

Reported by:	pointyhat (via pav, erwin)
Feature safe:	yes
2010-02-23 21:36:21 +00:00

38 lines
1.2 KiB
C

--- ./coders/jp2.c.orig 2010-02-23 16:23:04.000000000 -0500
+++ ./coders/jp2.c 2010-02-23 16:23:24.000000000 -0500
@@ -681,7 +681,7 @@
entry=SetMagickInfo("J2C");
entry->description=AcquireString("JPEG-2000 Code Stream Syntax");
- entry->module="JP2";
+ entry->module=AcquireString("JP2");
entry->magick=(MagickHandler) IsJPC;
entry->adjoin=False;
entry->seekable_stream=True;
@@ -694,7 +694,7 @@
entry=SetMagickInfo("JP2");
entry->description=AcquireString("JPEG-2000 JP2 File Format Syntax");
- entry->module="JP2";
+ entry->module=AcquireString("JP2");
entry->magick=(MagickHandler) IsJP2;
entry->adjoin=False;
entry->seekable_stream=True;
@@ -707,7 +707,7 @@
entry=SetMagickInfo("JPC");
entry->description=AcquireString("JPEG-2000 Code Stream Syntax");
- entry->module="JP2";
+ entry->module=AcquireString("JP2");
entry->magick=(MagickHandler) IsJPC;
entry->adjoin=False;
entry->seekable_stream=True;
@@ -720,7 +720,7 @@
entry=SetMagickInfo("PGX");
entry->description=AcquireString("JPEG-2000 VM Format");
- entry->module="JP2";
+ entry->module=AcquireString("JP2");
entry->magick=(MagickHandler) IsJPC;
entry->adjoin=False;
entry->seekable_stream=True;