diff options
author | Julian Ospald <hasufell@gentoo.org> | 2015-08-15 00:39:23 +0200 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2015-08-15 00:39:23 +0200 |
commit | 3b1297edb955a74d447610b8082ed273096e1a60 (patch) | |
tree | b938aa618902e757908ea9f7678ad0cfe9715cc5 /games-rpg/arx-libertatis/files | |
parent | 835d1539962d1ce52825925b9f49079fb0bc595f (diff) | |
download | gentoo-3b1297edb955a74d447610b8082ed273096e1a60.tar.gz gentoo-3b1297edb955a74d447610b8082ed273096e1a60.tar.xz |
games-rpg/arx-libertatis: rm old
Diffstat (limited to 'games-rpg/arx-libertatis/files')
-rw-r--r-- | games-rpg/arx-libertatis/files/arx-libertatis-1.0.3-cmake2.8.patch | 36 | ||||
-rw-r--r-- | games-rpg/arx-libertatis/files/arx-libertatis-1.0.3-gentoo.patch | 74 |
2 files changed, 0 insertions, 110 deletions
diff --git a/games-rpg/arx-libertatis/files/arx-libertatis-1.0.3-cmake2.8.patch b/games-rpg/arx-libertatis/files/arx-libertatis-1.0.3-cmake2.8.patch deleted file mode 100644 index b44dce2570c..00000000000 --- a/games-rpg/arx-libertatis/files/arx-libertatis-1.0.3-cmake2.8.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 1cd224fe2933edf33fa1fe7003fc6580e38217fa Mon Sep 17 00:00:00 2001 -From: Daniel Scharrer <daniel@constexpr.org> -Date: Sat, 3 Nov 2012 04:43:42 +0100 -Subject: [PATCH] Fix build with CMake 2.8.10 - -Previously we checked for SDL by using - find_package(SDL 1.2 EXACT) - -This worked with earlier CMake versions as the find script for SDL -didn't provide any version, so CMake just ignored the '1.2 EXACT' part. - -In CMake 2.8.10, FindSDL.cmake reports the SDL version number as -major.minor.patch, which is never exactly equal to 1.2. - -This commit relaxes the check by removing the 'EXACT' requirement. ---- - CMakeLists.txt | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 14ec2fe..5690176 100755 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -145,7 +145,7 @@ if(USE_SDL) - # due to the need to have NSApplication correctly setup by SDLmain. - set(SDL_BUILDING_LIBRARY 1) - endif() -- find_package(SDL 1.2 EXACT) -+ find_package(SDL 1.2) - endif() - - if(MSVC) --- -1.7.10 - - diff --git a/games-rpg/arx-libertatis/files/arx-libertatis-1.0.3-gentoo.patch b/games-rpg/arx-libertatis/files/arx-libertatis-1.0.3-gentoo.patch deleted file mode 100644 index c1da7f7136d..00000000000 --- a/games-rpg/arx-libertatis/files/arx-libertatis-1.0.3-gentoo.patch +++ /dev/null @@ -1,74 +0,0 @@ -From: Julian Ospald <hasufell@gentoo.org> -Date: Wed Jun 27 22:04:32 UTC 2012 -Subject: build system - -respect flags - ---- CMakeLists.txt -+++ CMakeLists.txt -@@ -365,21 +365,6 @@ - - endif() - -- # Warning level -- add_cxxflag("-Wall") -- add_cxxflag("-Wextra") -- add_cxxflag("-Wformat=2") -- add_cxxflag("-Wundef") -- add_cxxflag("-Wpointer-arith") -- add_cxxflag("-Wcast-qual") -- add_cxxflag("-Woverloaded-virtual") -- add_cxxflag("-Wlogical-op") -- -- add_cxxflag("-Wliteral-conversion") -- add_cxxflag("-Wshift-overflow") -- add_cxxflag("-Woverflow") -- add_cxxflag("-Wbool-conversions") -- - # TODO enable: - # add_cxxflag("-Wconversion") # very noisy - # add_cxxflag("-Wsign-conversion") # very noisy -@@ -391,27 +376,12 @@ - endif() - - if(CMAKE_BUILD_TYPE STREQUAL "Debug") -- -- #Debug - add_definitions(-D_DEBUG) -- -- check_compiler_flag(RESULT "-g3") -- if(NOT RESULT STREQUAL "") -- string(REGEX REPLACE "-g(|[0-9]|gdb)" "" CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG}") -- set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} ${RESULT}") -- endif() -- -- check_compiler_flag(RESULT "-O0") -- string(REGEX REPLACE "-O[0-9]" "" CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG}") -- set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} ${RESULT}") -- - elseif(CMAKE_BUILD_TYPE STREQUAL "Release") -- - if((NOT CMAKE_CXX_FLAGS MATCHES "-g(|[0-9]|gdb)") - AND (NOT CMAKE_CXX_FLAGS_RELEASE MATCHES "-g(|[0-9]|gdb)")) - add_cxxflag("-g2") - endif() -- - endif() - - if(DEBUG_EXTRA) -@@ -419,15 +389,7 @@ - add_cxxflag("-fbounds-checking") - add_cxxflag("-fcatch-undefined-behavior") - add_cxxflag("-Wstrict-aliasing=1") -- else() -- # -Wuninitialized causes too many false positives -- add_cxxflag("-Wno-uninitialized") -- # (clang only) Conflicts with using const variables for configuration. -- add_cxxflag("-Wno-constant-logical-operand") - endif() -- -- # Because we are lazy -- add_ldflag("-Wl,--as-needed") - - # Xcode does not support -isystem yet - if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin") |