From b3e7e57e3159a683daf11be981002cfd0bcddb99 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Sun, 20 Feb 2022 23:01:28 +0200 Subject: python/pygame: Updated for version 2.0.3. Signed-off-by: Dimitris Zlatanidis Signed-off-by: Willy Sudiarto Raharjo --- python/pygame/setup.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 python/pygame/setup.patch (limited to 'python/pygame/setup.patch') diff --git a/python/pygame/setup.patch b/python/pygame/setup.patch new file mode 100644 index 0000000000..687c758874 --- /dev/null +++ b/python/pygame/setup.patch @@ -0,0 +1,21 @@ +--- pygame-2.0.3/setup.orig 2022-02-20 22:52:08.449183353 +0200 ++++ pygame-2.0.3/setup.py 2022-02-20 22:52:57.916188118 +0200 +@@ -75,7 +75,7 @@ + + + # A (bit hacky) fix for https://github.com/pygame/pygame/issues/2613 +-# This is due to the fact that distutils uses command line args to ++# This is due to the fact that distutils uses command line args to + # export PyInit_* functions on windows, but those functions are already exported + # and that is why compiler gives warnings + from distutils.command.build_ext import build_ext +@@ -95,6 +95,9 @@ + the_system = 'Ubuntu' + elif distro[0].lower() == 'debian': + the_system = 'Debian' ++ elif distro[0].lower() == 'slackware': ++ the_system = 'Slackware' ++ + + help_urls = { + 'Linux': 'https://www.pygame.org/wiki/Compilation', -- cgit v1.2.3