summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2015-12-22 23:30:13 -0500
committerMichael Sterrett <mr_bones_@gentoo.org>2015-12-22 23:30:33 -0500
commita6f2ea090989ec0dd8703c6fdd6a6f88a45bf1a3 (patch)
tree205df0e73c88da8ea1d4497ec3ce16b3684b6167 /games-arcade/supertux/files
parentsys-cluster/ceph: restore systemd unit files for 0.94.5 (diff)
downloadgentoo-a6f2ea090989ec0dd8703c6fdd6a6f88a45bf1a3.tar.gz
gentoo-a6f2ea090989ec0dd8703c6fdd6a6f88a45bf1a3.tar.bz2
gentoo-a6f2ea090989ec0dd8703c6fdd6a6f88a45bf1a3.zip
version bump (bug #564076)
Package-Manager: portage-2.2.24
Diffstat (limited to 'games-arcade/supertux/files')
-rw-r--r--games-arcade/supertux/files/supertux-0.1.3-desktop.patch4
-rw-r--r--games-arcade/supertux/files/supertux-0.1.3-gcc41.patch5
-rw-r--r--games-arcade/supertux/files/supertux-0.1.3-ndebug.patch2
-rw-r--r--games-arcade/supertux/files/supertux-0.4.0-desktop.patch11
-rw-r--r--games-arcade/supertux/files/supertux-0.4.0-flags.patch32
-rw-r--r--games-arcade/supertux/files/supertux-0.4.0-icon.patch11
-rw-r--r--games-arcade/supertux/files/supertux-0.4.0-license.patch11
-rw-r--r--games-arcade/supertux/files/supertux-0.4.0-obstack.patch19
-rw-r--r--games-arcade/supertux/files/supertux-0.4.0-squirrel.patch20
-rw-r--r--games-arcade/supertux/files/supertux-0.4.0-tinygettext.patch50
10 files changed, 158 insertions, 7 deletions
diff --git a/games-arcade/supertux/files/supertux-0.1.3-desktop.patch b/games-arcade/supertux/files/supertux-0.1.3-desktop.patch
index 440881dc25f8..2fd7742fc030 100644
--- a/games-arcade/supertux/files/supertux-0.1.3-desktop.patch
+++ b/games-arcade/supertux/files/supertux-0.1.3-desktop.patch
@@ -1,5 +1,5 @@
---- supertux.desktop.orig 2010-11-07 23:29:26.058571005 -0500
-+++ supertux.desktop 2010-11-07 23:30:09.457350053 -0500
+--- supertux.desktop.orig
++++ supertux.desktop
@@ -1,7 +1,6 @@
[Desktop Entry]
Type=Application
diff --git a/games-arcade/supertux/files/supertux-0.1.3-gcc41.patch b/games-arcade/supertux/files/supertux-0.1.3-gcc41.patch
index 5bcf53704fab..449dc3b72a00 100644
--- a/games-arcade/supertux/files/supertux-0.1.3-gcc41.patch
+++ b/games-arcade/supertux/files/supertux-0.1.3-gcc41.patch
@@ -1,6 +1,5 @@
-diff -uNr supertux-0.1.3.orig/src/menu.h supertux-0.1.3/src/menu.h
---- supertux-0.1.3.orig/src/menu.h 2005-06-21 23:16:07.000000000 +0200
-+++ supertux-0.1.3/src/menu.h 2006-03-19 15:49:55.277266712 +0100
+--- supertux-0.1.3.orig/src/menu.h
++++ supertux-0.1.3/src/menu.h
@@ -207,7 +207,7 @@
bool isToggled(int id);
diff --git a/games-arcade/supertux/files/supertux-0.1.3-ndebug.patch b/games-arcade/supertux/files/supertux-0.1.3-ndebug.patch
index 3a302d5ecf5a..197a51802eaf 100644
--- a/games-arcade/supertux/files/supertux-0.1.3-ndebug.patch
+++ b/games-arcade/supertux/files/supertux-0.1.3-ndebug.patch
@@ -1,5 +1,3 @@
-Index: supertux-0.1.3/src/tile.cpp
-===================================================================
--- supertux-0.1.3.orig/src/tile.cpp
+++ supertux-0.1.3/src/tile.cpp
@@ -99,7 +99,11 @@ void TileManager::load_tileset(std::stri
diff --git a/games-arcade/supertux/files/supertux-0.4.0-desktop.patch b/games-arcade/supertux/files/supertux-0.4.0-desktop.patch
new file mode 100644
index 000000000000..b0e26e74526a
--- /dev/null
+++ b/games-arcade/supertux/files/supertux-0.4.0-desktop.patch
@@ -0,0 +1,11 @@
+--- supertux2.desktop.orig
++++ supertux2.desktop
+@@ -35,7 +35,7 @@
+ Comment[pt]=Joga este clássico de plataformas 2D
+ Comment[pt_BR]=Encarne o pinguin Tux neste jogo inspirado em clássicos de Pular&Correr
+ Comment[hu]=Egy klasszikus 2D-s oldalnézeti játék
+-Icon=supertux.png
++Icon=supertux
+ Exec=supertux2
+ Terminal=false
+ StartupNotify=false
diff --git a/games-arcade/supertux/files/supertux-0.4.0-flags.patch b/games-arcade/supertux/files/supertux-0.4.0-flags.patch
new file mode 100644
index 000000000000..97e3e7408ea5
--- /dev/null
+++ b/games-arcade/supertux/files/supertux-0.4.0-flags.patch
@@ -0,0 +1,32 @@
+--- CMakeLists.txt.orig
++++ CMakeLists.txt
+@@ -329,7 +329,7 @@
+ endif(COMPILER_SUPPORTS_CXX11)
+
+
+-IF(CMAKE_COMPILER_IS_GNUCC)
++IF(CMAKE_COMPILER_IS_GNUCC_NOTOUCHING_FLAGS)
+ SET(CMAKE_CXX_FLAGS_DEBUG "-O0 -g" CACHE STRING "Debug flags")
+ SET(CMAKE_C_FLAGS_DEBUG "-O0 -g" CACHE STRING "Debug flags")
+ SET(CMAKE_CXX_FLAGS_PROFILE "-pg" CACHE STRING "Profile flags")
+@@ -352,7 +352,7 @@
+ # -Wlogical-op -Wstrict-null-sentinel
+ SET(SUPERTUX2_EXTRA_WARNING_FLAGS "-fdiagnostics-show-option -pedantic -Wno-long-long -Wcast-align -Wdisabled-optimization -Winit-self -Winvalid-pch -Wmissing-include-dirs -Wmissing-noreturn -Wpacked -Wredundant-decls -Wstack-protector -Wformat=2 -Weffc++ -Wctor-dtor-privacy -Wno-unused-parameter -Wshadow -Wnon-virtual-dtor -Wcast-qual")
+ ENDIF(WARNINGS)
+-ENDIF(CMAKE_COMPILER_IS_GNUCC)
++ENDIF(CMAKE_COMPILER_IS_GNUCC_NOTOUCHING_FLAGS)
+
+ ## If xgettext is available, generate messages.pot for sources
+
+@@ -407,9 +407,9 @@
+ ENDIF(GENERATE_MESSAGESPOT)
+
+ ## Some additional compiler switches
+-IF(CMAKE_COMPILER_IS_GNUCC)
++IF(CMAKE_COMPILER_IS_GNUCC_NOTOUCHING_FLAGS)
+ SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-strict-aliasing")
+-ENDIF(CMAKE_COMPILER_IS_GNUCC)
++ENDIF(CMAKE_COMPILER_IS_GNUCC_NOTOUCHING_FLAGS)
+
+ IF(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
+ ADD_DEFINITIONS(-DMACOSX)
diff --git a/games-arcade/supertux/files/supertux-0.4.0-icon.patch b/games-arcade/supertux/files/supertux-0.4.0-icon.patch
new file mode 100644
index 000000000000..14552f28747b
--- /dev/null
+++ b/games-arcade/supertux/files/supertux-0.4.0-icon.patch
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.orig
++++ CMakeLists.txt
+@@ -571,7 +571,7 @@
+
+ SET(APPS "\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/${INSTALL_SUBDIR_BIN}/supertux2")
+
+- INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/data/images/engine/icons/supertux.png ${CMAKE_CURRENT_SOURCE_DIR}/data/images/engine/icons/supertux.xpm DESTINATION "share/pixmaps/")
++ INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/data/images/engine/icons/supertux.png DESTINATION "share/pixmaps/")
+
+ ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "Darwin" AND DISABLE_CPACK_BUNDLING)
+ ENDIF(WIN32 AND NOT UNIX)
diff --git a/games-arcade/supertux/files/supertux-0.4.0-license.patch b/games-arcade/supertux/files/supertux-0.4.0-license.patch
new file mode 100644
index 000000000000..37558aa8a453
--- /dev/null
+++ b/games-arcade/supertux/files/supertux-0.4.0-license.patch
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.orig
++++ CMakeLists.txt
+@@ -578,7 +578,7 @@
+
+ INSTALL(TARGETS supertux2_exe DESTINATION ${INSTALL_SUBDIR_BIN})
+
+-INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/INSTALL.md ${CMAKE_CURRENT_SOURCE_DIR}/README.md ${CMAKE_CURRENT_SOURCE_DIR}/LICENSE.txt ${CMAKE_CURRENT_SOURCE_DIR}/NEWS.md DESTINATION ${INSTALL_SUBDIR_DOC})
++INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/INSTALL.md ${CMAKE_CURRENT_SOURCE_DIR}/README.md ${CMAKE_CURRENT_SOURCE_DIR}/NEWS.md DESTINATION ${INSTALL_SUBDIR_DOC})
+
+ INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/data/credits.txt DESTINATION ${INSTALL_SUBDIR_SHARE})
+
diff --git a/games-arcade/supertux/files/supertux-0.4.0-obstack.patch b/games-arcade/supertux/files/supertux-0.4.0-obstack.patch
new file mode 100644
index 000000000000..609fe9486098
--- /dev/null
+++ b/games-arcade/supertux/files/supertux-0.4.0-obstack.patch
@@ -0,0 +1,19 @@
+--- CMakeLists.txt.orig
++++ CMakeLists.txt
+@@ -251,7 +251,6 @@
+ include_directories (${CMAKE_CURRENT_SOURCE_DIR}/external/squirrel/include/)
+ include_directories (${CMAKE_CURRENT_SOURCE_DIR}/external/tinygettext/include/)
+ include_directories (${CMAKE_CURRENT_SOURCE_DIR}/external/findlocale/)
+-include_directories (${CMAKE_CURRENT_SOURCE_DIR}/external/obstack/)
+
+ IF(WIN32)
+ ADD_DEFINITIONS(-D_USE_MATH_DEFINES -DNOMINMAX)
+@@ -260,7 +259,7 @@
+
+ ## Build list of sources for supertux binary
+
+-FILE(GLOB SUPERTUX_SOURCES_C RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} external/obstack/*.c external/findlocale/findlocale.c)
++FILE(GLOB SUPERTUX_SOURCES_C RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} external/findlocale/findlocale.c)
+
+ FILE(GLOB SUPERTUX_SOURCES_CXX RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} src/*/*.cpp src/supertux/menu/*.cpp src/video/sdl/*.cpp)
+ FILE(GLOB SUPERTUX_RESOURCES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "${PROJECT_BINARY_DIR}/tmp/*.rc")
diff --git a/games-arcade/supertux/files/supertux-0.4.0-squirrel.patch b/games-arcade/supertux/files/supertux-0.4.0-squirrel.patch
new file mode 100644
index 000000000000..09824425dede
--- /dev/null
+++ b/games-arcade/supertux/files/supertux-0.4.0-squirrel.patch
@@ -0,0 +1,20 @@
+--- supertux-0.4.0.orig/external/squirrel/CMakeLists.txt
++++ supertux-0.4.0/external/squirrel/CMakeLists.txt
+@@ -65,8 +65,6 @@
+
+ # the squirrel sources are out of our control so don't be too pedantic about
+ # them
+-SET(CMAKE_CXX_FLAGS "")
+-SET(CMAKE_C_FLAGS "")
+
+ ## define a target for building the library
+
+@@ -82,8 +80,3 @@
+ set(LIB_SUBDIR "lib${LIB_SUFFIX}"
+ CACHE STRING "Subdirectory of prefix into which libraries are installed (e.g., lib32, lib64)")
+
+-INSTALL(TARGETS squirrel
+- RUNTIME DESTINATION bin
+- ARCHIVE DESTINATION ${LIB_SUBDIR}
+- LIBRARY DESTINATION ${LIB_SUBDIR}
+- COMPONENT squirrel)
diff --git a/games-arcade/supertux/files/supertux-0.4.0-tinygettext.patch b/games-arcade/supertux/files/supertux-0.4.0-tinygettext.patch
new file mode 100644
index 000000000000..23e572d4419c
--- /dev/null
+++ b/games-arcade/supertux/files/supertux-0.4.0-tinygettext.patch
@@ -0,0 +1,50 @@
+--- supertux-0.4.0.orig/external/tinygettext/CMakeLists.txt
++++ supertux-0.4.0/external/tinygettext/CMakeLists.txt
+@@ -59,7 +59,7 @@
+ )
+
+ ## Reveal library type choice to users
+-option(BUILD_SHARED_LIBS "Produce dynamic library instead of static archive" ON)
++option(BUILD_SHARED_LIBS "Produce dynamic library instead of static archive" OFF)
+
+ # TinyGetText library compilation
+
+@@ -127,14 +127,9 @@
+ ## Debug options
+
+ option(WERROR "Stops on first compiler warning in debug mode" OFF)
+-option(WARNINGS "Enable long list of warnings for compiler to check" ON)
++option(WARNINGS "Enable long list of warnings for compiler to check" OFF)
+
+ CHECK_CXX_FLAG(std=c++0x)
+-CHECK_CXX_FLAG(O3)
+-CHECK_CXX_FLAG(Wall)
+-CHECK_CXX_FLAG(Wextra)
+-CHECK_CXX_FLAG(Weffc++)
+-CHECK_CXX_FLAG(pedantic)
+
+ if(WARNINGS)
+ CHECK_CXX_FLAG(Wabi)
+@@ -194,22 +189,4 @@
+ endforeach(TEST)
+ ENDIF()
+
+-## Install tinygettext
+-
+-# use standardized variable name
+-set(LIB_SUBDIR "lib${LIB_SUFFIX}"
+- CACHE STRING "Subdirectory of prefix into which libraries are installed (e.g., lib32, lib64)")
+-
+-## prepare tinygettext.pc
+-configure_file(tinygettext.pc.in tinygettext.pc @ONLY)
+-
+-install(TARGETS tinygettext
+- RUNTIME DESTINATION bin
+- ARCHIVE DESTINATION ${LIB_SUBDIR}
+- LIBRARY DESTINATION ${LIB_SUBDIR})
+-install(FILES ${TINYGETTEXT_HEADERS}
+- DESTINATION include/tinygettext)
+-install(FILES ${tinygettext_BINARY_DIR}/tinygettext.pc
+- DESTINATION ${LIB_SUBDIR}/pkgconfig)
+-
+ # EOF #