mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-28 06:35:24 +02:00
* par 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 ```
12 lines
527 B
Diff
12 lines
527 B
Diff
--- a/VTK/Utilities/KWSys/vtksys/CMakeLists.txt 2020-08-30 14:24:27.200081977 +0200
|
|
+++ b/VTK/Utilities/KWSys/vtksys/CMakeLists.txt 2020-08-30 14:26:38.533088752 +0200
|
|
@@ -592,7 +592,8 @@
|
|
# check for simple stack trace
|
|
# usually it's in libc but on FreeBSD
|
|
# it's in libexecinfo
|
|
- FIND_LIBRARY(EXECINFO_LIB "execinfo")
|
|
+ FIND_PACKAGE(PkgConfig REQUIRED)
|
|
+ PKG_CHECK_MODULES(EXECINFO IMPORTED_TARGET libexecinfo)
|
|
MARK_AS_ADVANCED(EXECINFO_LIB)
|
|
IF (NOT EXECINFO_LIB)
|
|
SET(EXECINFO_LIB "")
|