summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirkjan Ochtman <djc@gentoo.org>2009-11-30 09:42:33 +0000
committerDirkjan Ochtman <djc@gentoo.org>2009-11-30 09:42:33 +0000
commitd2ee8a203bf05b7bf4902321b64bf857d6045ce0 (patch)
tree60b7cc2ed91a03fd609e9c716abbd31033ca1673 /dev-python/imaging/files/imaging-1.1.7-giftrans.patch
parentSign manifest (diff)
downloadgentoo-2-d2ee8a203bf05b7bf4902321b64bf857d6045ce0.tar.gz
gentoo-2-d2ee8a203bf05b7bf4902321b64bf857d6045ce0.tar.bz2
gentoo-2-d2ee8a203bf05b7bf4902321b64bf857d6045ce0.zip
Version bump dev-python/imaging-1.1.7.
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/imaging/files/imaging-1.1.7-giftrans.patch')
-rw-r--r--dev-python/imaging/files/imaging-1.1.7-giftrans.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-python/imaging/files/imaging-1.1.7-giftrans.patch b/dev-python/imaging/files/imaging-1.1.7-giftrans.patch
new file mode 100644
index 000000000000..1a109d28eee0
--- /dev/null
+++ b/dev-python/imaging/files/imaging-1.1.7-giftrans.patch
@@ -0,0 +1,14 @@
+--- Imaging-1.1.6.orig/PIL/GifImagePlugin.py 2006-12-03 11:37:15.000000000 +0000
++++ Imaging-1.1.6/PIL/GifImagePlugin.py 2008-10-02 14:51:43.000000000 +0100
+@@ -352,6 +352,11 @@
+ for i in range(maxcolor):
+ s.append(chr(i) * 3)
+
++ if im.info.has_key('transparency'):
++ transparentIndex = im.info['transparency']
++ s.append('!' + chr(0xf9) + chr(4) + chr(1) + chr(0) + chr(0) +
++ chr(transparentIndex) + chr(0))
++
+ return s
+
+ def getdata(im, offset = (0, 0), **params):