diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:58:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:58:29 +0100 |
commit | 0cf2f20608308acdf3cb922c3736446bbd8f3388 (patch) | |
tree | 07815070629c7c11000a7f51ceb8ccbccb49a809 /games-arcade/jvgs/files | |
parent | 1798c4aeca70ac8d0a243684d6a798fbc65735f8 (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'games-arcade/jvgs/files')
-rw-r--r-- | games-arcade/jvgs/files/jvgs-0.5-fix-build-system.patch | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/games-arcade/jvgs/files/jvgs-0.5-fix-build-system.patch b/games-arcade/jvgs/files/jvgs-0.5-fix-build-system.patch deleted file mode 100644 index 5f5ba191bb7e..000000000000 --- a/games-arcade/jvgs/files/jvgs-0.5-fix-build-system.patch +++ /dev/null @@ -1,43 +0,0 @@ -* Respect user CXXFLAGS -* Build out-of-source - ---- a/src/bind/CMakeLists.txt -+++ b/src/bind/CMakeLists.txt -@@ -1,16 +1,25 @@ --ADD_CUSTOM_TARGET( -- swig -- ${SWIG_EXECUTABLE} -lua -c++ -o ${JVGS_BINARY_DIR}/src/bind/jvgslua.cpp ${JVGS_BINARY_DIR}/src/bind/jvgslua.i -+ADD_CUSTOM_COMMAND( -+ OUTPUT -+ ${CMAKE_CURRENT_BINARY_DIR}/jvgslua.cpp -+ COMMAND -+ ${SWIG_EXECUTABLE} -lua -c++ -o ${CMAKE_CURRENT_BINARY_DIR}/jvgslua.cpp ${CMAKE_CURRENT_SOURCE_DIR}/jvgslua.i -+ VERBATIM - ) - - ADD_LIBRARY( - bind STATIC -- jvgslua.cpp -+ ${CMAKE_CURRENT_BINARY_DIR}/jvgslua.cpp - ScriptManager.cpp - ) - - ADD_DEPENDENCIES( bind swig ) - -+TARGET_INCLUDE_DIRECTORIES( -+ bind -+ PRIVATE -+ ${CMAKE_CURRENT_SOURCE_DIR} -+) -+ - TARGET_LINK_LIBRARIES( - bind - ${LUA_LIBRARIES} ---- a/src/CMakeLists.txt -+++ b/src/CMakeLists.txt -@@ -1,4 +1,4 @@ --SET( CMAKE_CXX_FLAGS "-DTIXML_USE_STL -ggdb" ) -+SET( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DTIXML_USE_STL" ) - - INCLUDE_DIRECTORIES( - ${SDL_INCLUDE_DIR} |