summaryrefslogtreecommitdiffstats
path: root/python/python2-pygame/setup.patch
blob: 687c7588742a7017f416a17487249ef8e26cb529 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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',