summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>2017-12-22 16:30:08 +0100
committerDavid Seifert <soap@gentoo.org>2017-12-23 14:11:06 +0100
commit3f2781e9142934dfa52e1b3fd349f92eab57ab06 (patch)
treefeb006b64432e5a9e6957b797169d8dcf00a3849 /games-util/nml
parentgames-util/joystick: remove unused patches (diff)
downloadgentoo-3f2781e9142934dfa52e1b3fd349f92eab57ab06.tar.gz
gentoo-3f2781e9142934dfa52e1b3fd349f92eab57ab06.tar.bz2
gentoo-3f2781e9142934dfa52e1b3fd349f92eab57ab06.zip
games-util/nml: remove unused patch
Diffstat (limited to 'games-util/nml')
-rw-r--r--games-util/nml/files/nml-0.4.2-pillow3.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/games-util/nml/files/nml-0.4.2-pillow3.patch b/games-util/nml/files/nml-0.4.2-pillow3.patch
deleted file mode 100644
index 914cef24df51..000000000000
--- a/games-util/nml/files/nml-0.4.2-pillow3.patch
+++ /dev/null
@@ -1,31 +0,0 @@
---- nml-0.4.2/nml/lz77.py
-+++ nml-0.4.2/nml/lz77.py
-@@ -25,7 +25,7 @@
- @return: Compressed data.
- @rtype: C{bytearray}
- """
-- stream = data.tostring()
-+ stream = data.tobytes()
- position = 0
- output = array.array('B')
- literal_bytes = array.array('B')
---- nml-0.4.2/nml/spriteencoder.py
-+++ nml-0.4.2/nml/spriteencoder.py
-@@ -276,7 +276,7 @@
- pos = generic.build_position(sprite_info.poslist)
- raise generic.ScriptError("Read beyond bounds of image file '{}'".format(filename_32bpp.value), pos)
- sprite = im.crop((x, y, x + size_x, y + size_y))
-- rgb_sprite_data = sprite.tostring()
-+ rgb_sprite_data = sprite.tobytes()
-
- if (info_byte & INFO_ALPHA) != 0:
- # Check for half-transparent pixels (not valid for ground sprites)
-@@ -296,7 +296,7 @@
- raise generic.ScriptError("Read beyond bounds of image file '{}'".format(filename_8bpp.value), pos)
- mask_sprite = mask_im.crop((mask_x, mask_y, mask_x + size_x, mask_y + size_y))
-
-- mask_sprite_data = self.palconvert(mask_sprite.tostring(), im_mask_pal)
-+ mask_sprite_data = self.palconvert(mask_sprite.tobytes(), im_mask_pal)
-
- # Check for white pixels; those that cause "artefacts" when shading
- pixel_stats['white'] = sum(p == 255 for p in mask_sprite_data)