hasufell    14/07/01 22:30:23

  Added:                commandergenius-1.7.4.0-build.patch
  Log:
  fix build wrt #515188
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
BDEED020)

Revision  Changes    Path
1.1                  
games-arcade/commandergenius/files/commandergenius-1.7.4.0-build.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-arcade/commandergenius/files/commandergenius-1.7.4.0-build.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-arcade/commandergenius/files/commandergenius-1.7.4.0-build.patch?rev=1.1&content-type=text/plain

Index: commandergenius-1.7.4.0-build.patch
===================================================================
From: Julian Ospald <[email protected]>
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)




Reply via email to