Modified: trunk/dports/graphics/scale2x/Portfile (83430 => 83431)
--- trunk/dports/graphics/scale2x/Portfile 2011-09-01 11:27:52 UTC (rev 83430)
+++ trunk/dports/graphics/scale2x/Portfile 2011-09-01 11:47:23 UTC (rev 83431)
@@ -1,9 +1,9 @@
# $Id$
PortSystem 1.0
+
name scale2x
-version 2.1
-revision 1
+version 2.4
categories graphics
maintainers nomaintainer
description utility to increase the size of small bitmaps
@@ -14,9 +14,12 @@
homepage http://scale2x.sourceforge.net/
platforms darwin
-master_sites sourceforge
-checksums md5 e7f93d3c1fb413e1b30667284597d696
+master_sites sourceforge:project/${name}/${name}/${version}
+checksums md5 b89ccfa6df5f059355951dbf69fc163c \
+ sha1 30bbd674dcdf134a58b34e75f87ed05bd716d484
-depends_lib port:zlib port:libpng
+depends_lib port:libpng
+patchfiles file.c.patch
+
configure.args --mandir=${prefix}/share/man
Added: trunk/dports/graphics/scale2x/files/file.c.patch (0 => 83431)
--- trunk/dports/graphics/scale2x/files/file.c.patch (rev 0)
+++ trunk/dports/graphics/scale2x/files/file.c.patch 2011-09-01 11:47:23 UTC (rev 83431)
@@ -0,0 +1,11 @@
+--- file.c.orig 2004-08-09 00:02:11.000000000 +1000
++++ file.c 2011-09-01 21:43:37.000000000 +1000
+@@ -145,7 +145,7 @@ int file_read(const char* file, unsigned
+
+ /* expand grey images */
+ if (pre_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8)
+- png_set_gray_1_2_4_to_8(png_ptr);
++ png_set_expand_gray_1_2_4_to_8(png_ptr);
+
+ /* convert RNS to ALPHA channel */
+ if (png_get_valid(png_ptr, info_ptr, PNG_INFO_tRNS))