Gentoo Archives: gentoo-commits

From: "Julian Ospald (hasufell)" <hasufell@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-arcade/commandergenius/files: commandergenius-1.7.4.0-build.patch
Date: Tue, 01 Jul 2014 22:30:27
Message-Id: 20140701223023.CC0472004F@flycatcher.gentoo.org
1 hasufell 14/07/01 22:30:23
2
3 Added: commandergenius-1.7.4.0-build.patch
4 Log:
5 fix build wrt #515188
6
7 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key BDEED020)
8
9 Revision Changes Path
10 1.1 games-arcade/commandergenius/files/commandergenius-1.7.4.0-build.patch
11
12 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
13 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
14
15 Index: commandergenius-1.7.4.0-build.patch
16 ===================================================================
17 From: Julian Ospald <hasufell@g.o>
18 Date: Tue Jul 1 22:23:59 UTC 2014
19 Subject: fix build
20
21 --- lib/GsKit/CMakeLists.txt
22 +++ lib/GsKit/CMakeLists.txt
23 @@ -48,7 +48,6 @@
24 # pkg_check_modules(SDL sdl)
25 #ENDIF(BUILD_TARGET STREQUAL WIN32)
26
27 -Find_Package ( SDL_image REQUIRED )
28
29
30
31 @@ -92,6 +91,7 @@
32 set(SDL_IMAGE_LIBRARIES "SDL2_image")
33 target_link_libraries(GsKit ${SDL_IMAGE_LIBRARIES})
34 else(SDL2_FOUND)
35 + Find_Package ( SDL_image REQUIRED )
36 target_link_libraries(GsKit ${SDL_LIBRARY})
37 target_link_libraries(GsKit ${SDLIMAGE_LIBRARY})
38 endif(SDL2_FOUND)