From 2de903c3d3a1715f5a618c8a9ba3b87164dc7365 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sun, 17 Oct 2021 09:21:26 +0200 Subject: dev-python/PySDL2: Remove old MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- .../PySDL2/files/PySDL2-0.9.7-nameerror.patch | 24 ---------------------- 1 file changed, 24 deletions(-) delete mode 100644 dev-python/PySDL2/files/PySDL2-0.9.7-nameerror.patch (limited to 'dev-python/PySDL2/files/PySDL2-0.9.7-nameerror.patch') diff --git a/dev-python/PySDL2/files/PySDL2-0.9.7-nameerror.patch b/dev-python/PySDL2/files/PySDL2-0.9.7-nameerror.patch deleted file mode 100644 index c94d354c576f..000000000000 --- a/dev-python/PySDL2/files/PySDL2-0.9.7-nameerror.patch +++ /dev/null @@ -1,24 +0,0 @@ -From 635048e81402f3dcc9719c060a67f33e6950649c Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= -Date: Sun, 12 Jul 2020 08:18:06 +0200 -Subject: [PATCH] Fix NameError when calling SDL_SetColorKey() - ---- - sdl2/ext/image.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/sdl2/ext/image.py b/sdl2/ext/image.py -index 1a413e1..49d897d 100644 ---- a/sdl2/ext/image.py -+++ b/sdl2/ext/image.py -@@ -154,6 +154,6 @@ def load_image(fname, enforce=None): - # If the image has a single transparent palette index, set - # that index as the color key to make blitting correct. - if 'transparency' in image.info and isinstance(image.info['transparency'], int): -- sdl2.SDL_SetColorKey(imgsurface, True, image.info['transparency']) -+ surface.SDL_SetColorKey(imgsurface, True, image.info['transparency']) - - return imgsurface --- -2.27.0 - -- cgit v1.2.3