[107066] trunk/dports

ryandesign at macports.org ryandesign at macports.org
Mon Jun 17 04:15:46 PDT 2013


Revision: 107066
          https://trac.macports.org/changeset/107066
Author:   ryandesign at macports.org
Date:     2013-06-17 04:15:46 -0700 (Mon, 17 Jun 2013)
Log Message:
-----------
ming, php-ming: update to 0.4.5

Modified Paths:
--------------
    trunk/dports/multimedia/ming/Portfile
    trunk/dports/php/php-ming/Portfile
    trunk/dports/php/php5-ming/Portfile

Added Paths:
-----------
    trunk/dports/multimedia/ming/files/
    trunk/dports/multimedia/ming/files/patch-src-libming.h.diff

Removed Paths:
-------------
    trunk/dports/php/php-ming/files/patch-ming.c.diff

Modified: trunk/dports/multimedia/ming/Portfile
===================================================================
--- trunk/dports/multimedia/ming/Portfile	2013-06-17 09:10:13 UTC (rev 107065)
+++ trunk/dports/multimedia/ming/Portfile	2013-06-17 11:15:46 UTC (rev 107066)
@@ -7,8 +7,7 @@
 # Keep relevant lines in sync between ming and php-ming.
 
 name                        ming
-version                     0.4.4
-revision                    1
+version                     0.4.5
 categories                  multimedia graphics
 platforms                   darwin
 maintainers                 ryandesign
@@ -24,14 +23,18 @@
                             C++, Python, and PHP, plus rudimentary support \
                             for Ruby and Perl.
 
-checksums                   rmd160  2070cd694b9a1ff8dd0a577df2f551d5d810e4fe \
-                            sha256  40e09d781741ac961338ed8dec7ba2ed06217de9da44dd67af6b881b95d2af7e
+checksums                   rmd160  cd28c115a1eb37442f1b9c507ce3fad7837a6d54 \
+                            sha256  82da089bdfc3a7fcb732dc11c11a35003ee270d5102d4043d61ea69834239aeb
 
 depends_lib                 port:giflib \
                             port:libpng \
                             port:zlib \
                             port:freetype
 
+patchfiles                  patch-src-libming.h.diff
+
+configure.args              --disable-silent-rules
+
 use_parallel_build          yes
 
 post-destroot {

Added: trunk/dports/multimedia/ming/files/patch-src-libming.h.diff
===================================================================
--- trunk/dports/multimedia/ming/files/patch-src-libming.h.diff	                        (rev 0)
+++ trunk/dports/multimedia/ming/files/patch-src-libming.h.diff	2013-06-17 11:15:46 UTC (rev 107066)
@@ -0,0 +1,12 @@
+http://bugs.libming.org/show_bug.cgi?id=120
+https://github.com/libming/libming/commit/c67923dac4177bcf66b04b02b67675265727fb26
+--- src/libming.h.orig
++++ src/libming.h
+@@ -77,6 +76,7 @@
+ #endif
+ 
+ #if GIFLIB_GIFERRORSTRING
++#include <gif_lib.h>
+ static void
+ PrintGifError(void)
+ {

Modified: trunk/dports/php/php-ming/Portfile
===================================================================
--- trunk/dports/php/php-ming/Portfile	2013-06-17 09:10:13 UTC (rev 107065)
+++ trunk/dports/php/php-ming/Portfile	2013-06-17 11:15:46 UTC (rev 107066)
@@ -7,8 +7,7 @@
 # Keep relevant lines in sync between ming and php-ming.
 
 name                        php-ming
-version                     0.4.4
-revision                    1
+version                     0.4.5
 categories-append           multimedia graphics
 platforms                   darwin
 maintainers                 ryandesign openmaintainer
@@ -27,20 +26,19 @@
 
 long_description            ${description}
 
-checksums                   rmd160  2070cd694b9a1ff8dd0a577df2f551d5d810e4fe \
-                            sha256  40e09d781741ac961338ed8dec7ba2ed06217de9da44dd67af6b881b95d2af7e
+checksums                   rmd160  cd28c115a1eb37442f1b9c507ce3fad7837a6d54 \
+                            sha256  82da089bdfc3a7fcb732dc11c11a35003ee270d5102d4043d61ea69834239aeb
 
 if {${name} != ${subport}} {
     depends_lib-append      port:ming
     
     post-extract {
-        # config.m4 is missing from the 0.4.4 distfile; see:
+        # config.m4 is missing from the 0.4.4 and 0.4.5 distfiles; see:
         # https://github.com/libming/libming/issues/8
         copy ${filespath}/config.m4 ${worksrcpath}
     }
     
-    patchfiles-append       patch-config.m4.diff \
-                            patch-ming.c.diff
+    patchfiles-append       patch-config.m4.diff
     
     configure.args-append   --with-ming=${prefix}
 }

Deleted: trunk/dports/php/php-ming/files/patch-ming.c.diff
===================================================================
--- trunk/dports/php/php-ming/files/patch-ming.c.diff	2013-06-17 09:10:13 UTC (rev 107065)
+++ trunk/dports/php/php-ming/files/patch-ming.c.diff	2013-06-17 11:15:46 UTC (rev 107066)
@@ -1,22 +0,0 @@
-http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=662620
---- ming.c.orig	2011-10-26 01:33:18.000000000 -0500
-+++ ming.c	2012-05-14 17:06:09.000000000 -0500
-@@ -87,10 +87,17 @@
- static SWFMatrix getMatrix(zval *id TSRMLS_DC);
- #endif
- 
-+#if PHP_API_VERSION < 20100412
- #define PHP_MING_FILE_CHK(file) \
- 	if ((PG(safe_mode) && !php_checkuid((file), NULL, CHECKUID_CHECK_FILE_AND_DIR)) || php_check_open_basedir((file) TSRMLS_CC)) {	\
- 		RETURN_FALSE;	\
--	}	\
-+	}
-+#else
-+#define PHP_MING_FILE_CHK(file) \
-+	if (php_check_open_basedir((file) TSRMLS_CC)) {	\
-+		RETURN_FALSE;	\
-+	}
-+#endif
- 
- /* {{{ proto void ming_setcubicthreshold (int threshold)
-    Set cubic threshold (?) */

Modified: trunk/dports/php/php5-ming/Portfile
===================================================================
--- trunk/dports/php/php5-ming/Portfile	2013-06-17 09:10:13 UTC (rev 107065)
+++ trunk/dports/php/php5-ming/Portfile	2013-06-17 11:15:46 UTC (rev 107066)
@@ -6,7 +6,7 @@
 
 # Keep relevant lines in sync between ming and php5-ming.
 
-php5extension.setup         ming 0.4.4
+php5extension.setup         ming 0.4.5
 categories-append           multimedia graphics
 platforms                   darwin
 maintainers                 ryandesign openmaintainer
@@ -22,13 +22,13 @@
 
 long_description            ${description}
 
-checksums                   rmd160  2070cd694b9a1ff8dd0a577df2f551d5d810e4fe \
-                            sha256  40e09d781741ac961338ed8dec7ba2ed06217de9da44dd67af6b881b95d2af7e
+checksums                   rmd160  cd28c115a1eb37442f1b9c507ce3fad7837a6d54 \
+                            sha256  82da089bdfc3a7fcb732dc11c11a35003ee270d5102d4043d61ea69834239aeb
 
 depends_lib-append          port:ming
 
 post-extract {
-    # config.m4 is missing from the 0.4.4 distfile; see:
+    # config.m4 is missing from the 0.4.4 and 0.4.5 distfiles; see:
     # https://github.com/libming/libming/issues/8
     copy ${filespath}/config.m4 ${worksrcpath}
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130617/5c17716d/attachment-0001.html>


More information about the macports-changes mailing list