diff options
author | 2015-08-08 13:49:04 -0700 | |
---|---|---|
committer | 2015-08-08 17:38:18 -0700 | |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /games-strategy/widelands/files | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'games-strategy/widelands/files')
-rw-r--r-- | games-strategy/widelands/files/widelands-0.17-cxxflags.patch | 33 | ||||
-rw-r--r-- | games-strategy/widelands/files/widelands-0.17-gcc47.patch | 12 |
2 files changed, 45 insertions, 0 deletions
diff --git a/games-strategy/widelands/files/widelands-0.17-cxxflags.patch b/games-strategy/widelands/files/widelands-0.17-cxxflags.patch new file mode 100644 index 000000000000..419d5d78a35b --- /dev/null +++ b/games-strategy/widelands/files/widelands-0.17-cxxflags.patch @@ -0,0 +1,33 @@ +From: Julian Ospald <hasufell@gentoo.org> +Date: Wed May 16 12:06:13 UTC 2012 + +respect CXXFLAGS + +--- CMakeLists.txt ++++ CMakeLists.txt +@@ -209,24 +209,7 @@ + + # CMAKE only defines "-g", but we need -DDEBUG also, and we need -DNOPARACHUTE (for SDL) in Debug + set (CMAKE_CXX_FLAGS_DEBUG "-g -DDEBUG -DNOPARACHUTE${WL_COMPILERFLAG_OLDSTYLECAST}${WL_COMPILERFLAG_GENERICWARNINGS}${WL_COMPILERFLAG_EXTRAWARNINGS}${WL_COMPILERFLAG_STRICT}" CACHE STRING "Set by widelands CMakeLists.txt" FORCE) +- +-#This can be removed if no one uses gcc 4.5.1 or 4.5.2 any more +-IF (${CMAKE_COMPILER_IS_GNUCXX}) +-EXEC_PROGRAM ( +- ${CMAKE_CXX_COMPILER} +- ARGS --version +- OUTPUT_VARIABLE WLBUILD_COMPILERVERSION +- ) +- STRING(REGEX REPLACE ".*(4)\\.(5)\\.([0-9]).*" "\\1.\\2.\\3" WLBUILD_COMPILERVERSION_REP ${WLBUILD_COMPILERVERSION}) +- IF (WLBUILD_COMPILERVERSION_REP STREQUAL "4.5.1" OR WLBUILD_COMPILERVERSION_REP STREQUAL "4.5.2") +- message("Detected gcc ${WLBUILD_COMPILERVERSION_REP}") +- message("Suffering from gcc bug, disabling -O3") +- set (CMAKE_CXX_FLAGS_RELEASE "-O2 -DNDEBUG" CACHE STRING "Set by widelands CMakeLists.txt" FORCE) +- ELSE (WLBUILD_COMPILERVERSION_REP STREQUAL "4.5.1" OR WLBUILD_COMPILERVERSION_REP STREQUAL "4.5.2") +- #This line is the default and should be preserved. +- set (CMAKE_CXX_FLAGS_RELEASE "-O3 -DNDEBUG" CACHE STRING "Set by widelands CMakeLists.txt" FORCE) +- ENDIF (WLBUILD_COMPILERVERSION_REP STREQUAL "4.5.1" OR WLBUILD_COMPILERVERSION_REP STREQUAL "4.5.2") +-ENDIF (${CMAKE_COMPILER_IS_GNUCXX}) ++set (CMAKE_CXX_FLAGS_RELEASE "-DNDEBUG" CACHE STRING "Release compiler flags" FORCE) + + #If building with MSVC, then check for 3rdparty libs + if (DEFINED MSVC) diff --git a/games-strategy/widelands/files/widelands-0.17-gcc47.patch b/games-strategy/widelands/files/widelands-0.17-gcc47.patch new file mode 100644 index 000000000000..9ea19c3571db --- /dev/null +++ b/games-strategy/widelands/files/widelands-0.17-gcc47.patch @@ -0,0 +1,12 @@ +=== modified file 'src/main.cc' +--- src/main.cc 2012-02-15 21:25:34 +0000 ++++ src/main.cc 2012-05-02 07:43:01 +0000 +@@ -28,6 +28,7 @@ + #include <iostream> + #include <stdexcept> + #include <typeinfo> ++#include <unistd.h> + + #include <SDL_main.h> + + |