summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-board/pouetchess/files/pouetchess-0.2.0-fix-sdl-version-list.patch')
-rw-r--r--games-board/pouetchess/files/pouetchess-0.2.0-fix-sdl-version-list.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/games-board/pouetchess/files/pouetchess-0.2.0-fix-sdl-version-list.patch b/games-board/pouetchess/files/pouetchess-0.2.0-fix-sdl-version-list.patch
new file mode 100644
index 000000000000..06b9aff2c2d8
--- /dev/null
+++ b/games-board/pouetchess/files/pouetchess-0.2.0-fix-sdl-version-list.patch
@@ -0,0 +1,11 @@
+--- a/pouetChess.py
++++ b/pouetChess.py
+@@ -228,7 +228,7 @@
+ sdlver = sdlobj.read()
+ sdlerr = sdlobj.close()
+ print sdlver,
+- if sdlver.split('.') >= ['1','2','8']:
++ if sdlver.split('.') >= [1,2,8]:
+ env.ParseConfig(sdlcfg+" --cflags --libs")
+ else:
+ print "You need LibSDL version 1.2.8 or greater for this program"