* wine is kept at -Np0 ```sh git grep -l '^patch_args=-Np0' "srcpkgs/$1*/template" | while read template; do for p in ${template%/template}/patches/*; do sed -i ' \,^[+-][+-][+-] /dev/null,b /^[*-]\+ [0-9]\+\(,[0-9]\+\)\? [*-]\+$/b s,^[*][*][*] ,&a/, /^--- /{ s,\(^--- \)\(./\)*,\1a/, s,[.-][Oo][Rr][Ii][Gg]\([ /]\),\1, s/[.-][Oo][Rr][Ii][Gg]$// s/[.]patched[.]\([^.]\)/.\1/ h } /^+++ -/{ g s/^--- a/+++ b/ b } s,\(^+++ \)\(./\)*,\1b/, ' "$p" done sed -i '/^patch_args=/d' $template done ```
63 lines
1.5 KiB
Diff
63 lines
1.5 KiB
Diff
Index: CMakeLists.txt
|
|
===================================================================
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -202,7 +202,7 @@ elseif(CMAKE_BUILD_TYPE STREQUAL "RelWit
|
|
set(WL_DEBUG_FLAGS "-DNDEBUG -DNOPARACHUTE")
|
|
option(OPTION_ASAN "Build with AddressSanitizer" ON)
|
|
else()
|
|
- message(FATAL_ERROR "Unknown CMAKE_BUILD_TYPE: ${CMAKE_BUILD_TYPE}")
|
|
+ set(WL_DEBUG_FLAGS "-DNDEBUG -DNOPARACHUTE")
|
|
endif()
|
|
|
|
wl_add_flag(WL_GENERIC_CXX_FLAGS "-std=c++11")
|
|
@@ -353,7 +353,7 @@ endif (OPTION_BUILD_TESTS)
|
|
install (
|
|
FILES ${CMAKE_CURRENT_BINARY_DIR}/VERSION
|
|
DESTINATION ${WL_INSTALL_BASEDIR}
|
|
- CONFIGURATIONS Debug;Release
|
|
+ CONFIGURATIONS Debug
|
|
COMPONENT CoreVersionFile
|
|
)
|
|
|
|
@@ -378,7 +378,6 @@ install(
|
|
data/txts
|
|
data/world
|
|
DESTINATION ${WL_INSTALL_DATADIR}
|
|
- CONFIGURATIONS Debug;Release
|
|
COMPONENT CoreDataFiles
|
|
)
|
|
|
|
@@ -386,7 +385,6 @@ install(
|
|
DIRECTORY
|
|
data/maps
|
|
DESTINATION ${WL_INSTALL_DATADIR}
|
|
- CONFIGURATIONS Debug;Release
|
|
COMPONENT MapFiles
|
|
)
|
|
|
|
@@ -395,7 +393,6 @@ install(
|
|
data/music
|
|
data/sound
|
|
DESTINATION ${WL_INSTALL_DATADIR}
|
|
- CONFIGURATIONS Debug;Release
|
|
COMPONENT MusicFiles
|
|
)
|
|
|
|
@@ -405,7 +402,7 @@ install(
|
|
CREDITS
|
|
ChangeLog
|
|
DESTINATION ${WL_INSTALL_BASEDIR}
|
|
- CONFIGURATIONS Debug;Release
|
|
+ CONFIGURATIONS Debug
|
|
COMPONENT CoreLicenseFiles
|
|
)
|
|
|
|
@@ -424,7 +421,6 @@ install(
|
|
DIRECTORY
|
|
${CMAKE_CURRENT_BINARY_DIR}/locale/
|
|
DESTINATION ${WL_INSTALL_DATADIR}/locale
|
|
- CONFIGURATIONS Debug;Release
|
|
COMPONENT CoreLanguageFiles
|
|
)
|
|
|