[116575] trunk/dports/graphics/ImageMagick

ryandesign at macports.org ryandesign at macports.org
Tue Jan 28 22:52:05 PST 2014


Revision: 116575
          https://trac.macports.org/changeset/116575
Author:   ryandesign at macports.org
Date:     2014-01-28 22:52:05 -0800 (Tue, 28 Jan 2014)
Log Message:
-----------
ImageMagick: fix "error: comma at end of enumerator list" when compiling other ports that use ImageMagick with older compilers (#42307)

Modified Paths:
--------------
    trunk/dports/graphics/ImageMagick/Portfile

Added Paths:
-----------
    trunk/dports/graphics/ImageMagick/files/
    trunk/dports/graphics/ImageMagick/files/patch-magick-compare.h.diff

Modified: trunk/dports/graphics/ImageMagick/Portfile
===================================================================
--- trunk/dports/graphics/ImageMagick/Portfile	2014-01-29 03:44:19 UTC (rev 116574)
+++ trunk/dports/graphics/ImageMagick/Portfile	2014-01-29 06:52:05 UTC (rev 116575)
@@ -8,6 +8,7 @@
 
 name                        ImageMagick
 version                     6.8.8-3
+revision                    1
 set reasonable_version      [lindex [split ${version} -] 0]
 homepage                    http://www.imagemagick.org/
 categories                  graphics devel
@@ -71,6 +72,8 @@
     conflicts_build         cryptlib
 }
 
+patchfiles-append           patch-magick-compare.h.diff
+
 configure.ccache            no
 
 use_autoreconf              yes

Added: trunk/dports/graphics/ImageMagick/files/patch-magick-compare.h.diff
===================================================================
--- trunk/dports/graphics/ImageMagick/files/patch-magick-compare.h.diff	                        (rev 0)
+++ trunk/dports/graphics/ImageMagick/files/patch-magick-compare.h.diff	2014-01-29 06:52:05 UTC (rev 116575)
@@ -0,0 +1,11 @@
+--- magick/compare.h.orig	2014-01-08 12:24:56.000000000 -0600
++++ magick/compare.h	2014-01-29 00:46:27.000000000 -0600
+@@ -37,7 +37,7 @@
+   NormalizedCrossCorrelationErrorMetric,
+   FuzzErrorMetric,
+   UndefinedErrorMetric = 0,
+-  PerceptualHashErrorMetric = 0xff,
++  PerceptualHashErrorMetric = 0xff
+ } MetricType;
+ 
+ extern MagickExport double
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140128/a003572d/attachment.html>


More information about the macports-changes mailing list