ae69000001
* arduino and antiword 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 ```
11 lines
444 B
Diff
11 lines
444 B
Diff
--- a/src/CMakeLists.txt 2016-09-14 01:48:05.822928918 +0200
|
|
+++ b/src/CMakeLists.txt 2016-09-14 01:48:54.906931451 +0200
|
|
@@ -1,7 +1,7 @@
|
|
IF (WIN32)
|
|
ADD_DEFINITIONS (-D_CRT_SECURE_NO_WARNINGS)
|
|
ELSE (WIN32)
|
|
- SET (CMAKE_CXX_FLAGS "-Wall -fno-strict-aliasing")
|
|
+ SET (CMAKE_CXX_FLAGS "-Wall -fno-strict-aliasing ${CMAKE_CXX_FLAGS}")
|
|
|
|
OPTION (APVLV_ENABLE_DEBUG "If build binary with debug infomations." OFF)
|
|
IF (APVLV_ENABLE_DEBUG)
|