Revision
76460
Author
ricci@macports.org
Date
2011-02-23 17:11:11 -0800 (Wed, 23 Feb 2011)

Log Message

add patch that allows for parsing of more TIFF files

Modified Paths

Added Paths

Diff

Modified: trunk/dports/python/py27-pil/Portfile (76459 => 76460)


--- trunk/dports/python/py27-pil/Portfile	2011-02-24 01:02:57 UTC (rev 76459)
+++ trunk/dports/python/py27-pil/Portfile	2011-02-24 01:11:11 UTC (rev 76460)
@@ -5,7 +5,7 @@
 
 name            py27-pil
 version         1.1.7
-revision        2
+revision        3
 license         MIT
 maintainers     jmr openmaintainer
 description     Python Imaging Library
@@ -22,7 +22,8 @@
 checksums       md5 fc14a54e1ce02a0225be8854bfba478e \
                 sha1 76c37504251171fda8da8e63ecb8bc42a69a5c81 \
                 rmd160 9af570fe100e250a4860314341fe3e6d695d7fde
-patchfiles      patch-setup.py pil-2009-raclette-fb7ce579f5f9.diff
+patchfiles      patch-setup.py pil-2009-raclette-fb7ce579f5f9.diff \
+                patch-PIL-TiffImagePlugin.py.diff
 
 depends_lib-append  port:freetype \
                     port:jpeg \

Added: trunk/dports/python/py27-pil/files/patch-PIL-TiffImagePlugin.py.diff (0 => 76460)


--- trunk/dports/python/py27-pil/files/patch-PIL-TiffImagePlugin.py.diff	                        (rev 0)
+++ trunk/dports/python/py27-pil/files/patch-PIL-TiffImagePlugin.py.diff	2011-02-24 01:11:11 UTC (rev 76460)
@@ -0,0 +1,10 @@
+--- PIL/TiffImagePlugin.py.b	2011-02-23 16:43:49.000000000 -0800
++++ PIL/TiffImagePlugin.py	2011-02-23 11:45:06.000000000 -0800
+@@ -138,6 +138,7 @@
+     (II, 1, 1, 2, (1,), ()): ("1", "1;R"),
+     (II, 1, 1, 1, (8,), ()): ("L", "L"),
+     (II, 1, 1, 1, (8,8), (2,)): ("LA", "LA"),
++ 	(II, 1, 1, 1, (1,1), (2,)): ("1", "1"),
+     (II, 1, 1, 2, (8,), ()): ("L", "L;R"),
+     (II, 1, 1, 1, (16,), ()): ("I;16", "I;16"),
+     (II, 1, 2, 1, (16,), ()): ("I;16S", "I;16S"),