summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2014-07-01 22:30:23 +0000
committerJulian Ospald <hasufell@gentoo.org>2014-07-01 22:30:23 +0000
commit662d571647b6cb25c7d000686d51505877ce3017 (patch)
treeda01cfb66da51440c28fc0698dd5300876f8750f /games-arcade/commandergenius/files
parentNew package, python api for docker (diff)
downloadgentoo-2-662d571647b6cb25c7d000686d51505877ce3017.tar.gz
gentoo-2-662d571647b6cb25c7d000686d51505877ce3017.tar.bz2
gentoo-2-662d571647b6cb25c7d000686d51505877ce3017.zip
fix build wrt #515188
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key BDEED020)
Diffstat (limited to 'games-arcade/commandergenius/files')
-rw-r--r--games-arcade/commandergenius/files/commandergenius-1.7.4.0-build.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/games-arcade/commandergenius/files/commandergenius-1.7.4.0-build.patch b/games-arcade/commandergenius/files/commandergenius-1.7.4.0-build.patch
new file mode 100644
index 000000000000..52bf4557d9fc
--- /dev/null
+++ b/games-arcade/commandergenius/files/commandergenius-1.7.4.0-build.patch
@@ -0,0 +1,22 @@
+From: Julian Ospald <hasufell@gentoo.org>
+Date: Tue Jul 1 22:23:59 UTC 2014
+Subject: fix build
+
+--- lib/GsKit/CMakeLists.txt
++++ lib/GsKit/CMakeLists.txt
+@@ -48,7 +48,6 @@
+ # pkg_check_modules(SDL sdl)
+ #ENDIF(BUILD_TARGET STREQUAL WIN32)
+
+-Find_Package ( SDL_image REQUIRED )
+
+
+
+@@ -92,6 +91,7 @@
+ set(SDL_IMAGE_LIBRARIES "SDL2_image")
+ target_link_libraries(GsKit ${SDL_IMAGE_LIBRARIES})
+ else(SDL2_FOUND)
++ Find_Package ( SDL_image REQUIRED )
+ target_link_libraries(GsKit ${SDL_LIBRARY})
+ target_link_libraries(GsKit ${SDLIMAGE_LIBRARY})
+ endif(SDL2_FOUND)