[hedgewars] 01/02: Patch rename to fix typo, thanks mfv!

Gianfranco Costamagna locutusofborg-guest at moszumanska.debian.org
Thu Jan 15 14:49:03 UTC 2015


This is an automated email from the git hooks/post-receive script.

locutusofborg-guest pushed a commit to branch master
in repository hedgewars.

commit 57db090424738f1a44f9c382288ef160a7467a20
Author: Gianfranco Costamagna <costamagnagianfranco at yahoo.it>
Date:   Thu Jan 15 15:48:42 2015 +0100

    Patch rename to fix typo, thanks mfv!
---
 ...dd-RelWithDebInfo-for-debugging-pourposes.patch | 65 ----------------------
 debian/patches/series                              |  2 +-
 2 files changed, 1 insertion(+), 66 deletions(-)

diff --git a/debian/patches/0001-Add-RelWithDebInfo-for-debugging-pourposes.patch b/debian/patches/0001-Add-RelWithDebInfo-for-debugging-pourposes.patch
deleted file mode 100644
index a43a1be..0000000
--- a/debian/patches/0001-Add-RelWithDebInfo-for-debugging-pourposes.patch
+++ /dev/null
@@ -1,65 +0,0 @@
-From a021c17407eff3d18c39b82795f93d207d1ff0d5 Mon Sep 17 00:00:00 2001
-From: Gianfranco Costamagna <costamagnagianfranco at yahoo.it>
-Date: Thu, 15 Jan 2015 11:48:28 +0100
-Subject: [PATCH] Add RelWithDebInfo for debugging pourposes
-
----
- CMakeLists.txt                     | 9 +++++----
- QTfrontend/CMakeLists.txt          | 4 ++--
- cmake_modules/compilerchecks.cmake | 2 +-
- 3 files changed, 8 insertions(+), 7 deletions(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index bfb9a6c..d7df4b3 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -70,12 +70,13 @@ include(${CMAKE_MODULE_PATH}/platform.cmake)
- if(CMAKE_BUILD_TYPE)
-     string(TOUPPER ${CMAKE_BUILD_TYPE} CMAKE_BUILD_TYPE)
-     if(NOT((CMAKE_BUILD_TYPE MATCHES "RELEASE") OR
--           (CMAKE_BUILD_TYPE MATCHES "DEBUG")))
--        set(CMAKE_BUILD_TYPE ${default_build_type} CACHE STRING "Build type (Debug/Release)" FORCE)
--        message(STATUS "Unknown build type, using default (${default_build_type})")
-+           (CMAKE_BUILD_TYPE MATCHES "DEBUG") OR
-+           (CMAKE_BUILD_TYPE MATCHES "RELWITHDEBINFO")))
-+        set(CMAKE_BUILD_TYPE ${default_build_type} CACHE STRING "Build type (Debug/Release/RelWithDebInfo)" FORCE)
-+        message(STATUS "Unknown build type ${CMAKE_BUILD_TYPE}, using default (${default_build_type})")
-     endif()
- else(CMAKE_BUILD_TYPE)
--    set(CMAKE_BUILD_TYPE ${default_build_type} CACHE STRING "Build type (Debug/Release)" FORCE)
-+    set(CMAKE_BUILD_TYPE ${default_build_type} CACHE STRING "Build type (Debug/Release/RelWithDebInfo)" FORCE)
- endif(CMAKE_BUILD_TYPE)
- 
- 
-diff --git a/QTfrontend/CMakeLists.txt b/QTfrontend/CMakeLists.txt
-index 695caad..9687059 100644
---- a/QTfrontend/CMakeLists.txt
-+++ b/QTfrontend/CMakeLists.txt
-@@ -190,9 +190,9 @@ endif()
- 
- #when debugging, always prompt a console to see fronted messages
- #TODO: check it doesn't interfere on UNIX
--if(CMAKE_BUILD_TYPE MATCHES "RELEASE")
-+if(CMAKE_BUILD_TYPE MATCHES "RELEASE" OR CMAKE_BUILD_TYPE MATCHES "RELWITHDEBINFO")
-     set(console_access "WIN32")
--endif(CMAKE_BUILD_TYPE MATCHES "RELEASE")
-+endif(CMAKE_BUILD_TYPE MATCHES "RELEASE" OR CMAKE_BUILD_TYPE MATCHES "RELWITHDEBINFO")
- 
- add_executable(hedgewars ${console_access}
-     ${hwfr_src}
-diff --git a/cmake_modules/compilerchecks.cmake b/cmake_modules/compilerchecks.cmake
-index 2029712..676ae8e 100644
---- a/cmake_modules/compilerchecks.cmake
-+++ b/cmake_modules/compilerchecks.cmake
-@@ -62,7 +62,7 @@ if(UNIX)
-         endif()
-     endif()
- 
--    if(CMAKE_BUILD_TYPE MATCHES "RELEASE")
-+    if(CMAKE_BUILD_TYPE MATCHES "RELEASE" OR CMAKE_BUILD_TYPE MATCHES "RELWITHDEBINFO")
-         set(CMAKE_REQUIRED_FLAGS "-Wl,--as-needed")
-         check_c_compiler_flag("" HAVE_ASNEEDED)
-         if(HAVE_ASNEEDED)
--- 
-2.1.0
-
diff --git a/debian/patches/series b/debian/patches/series
index 2f64291..9b799b6 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1 @@
-0001-Add-RelWithDebInfo-for-debugging-pourposes.patch
+0001-Add-RelWithDebInfo-for-debugging-purposes.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/hedgewars.git



More information about the Pkg-games-commits mailing list