```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
462 B
Diff
11 lines
462 B
Diff
--- a/userspace/libsinsp/CMakeLists.txt
|
|
+++ b/userspace/libsinsp/CMakeLists.txt
|
|
@@ -31,7 +31,7 @@
|
|
include_directories("${B64_INCLUDE}")
|
|
include_directories("${CURSES_INCLUDE_DIR}")
|
|
if(NOT MINIMAL_BUILD)
|
|
- include_directories("${GRPC_INCLUDE}")
|
|
+ include_directories("${GRPC_INCLUDE}" "${GRPC_INCLUDE}/grpc_absl")
|
|
include_directories("${PROTOBUF_INCLUDE}")
|
|
include_directories("${OPENSSL_INCLUDE_DIR}")
|
|
include_directories("${CURL_INCLUDE_DIR}")
|