mirror of
https://github.com/void-linux/void-packages.git
synced 2025-10-10 04:25:18 +02:00
```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 ```
14 lines
430 B
Diff
14 lines
430 B
Diff
--- a/checker/checker.pri 2017-05-25 10:26:10.000000000 +0200
|
|
+++ b/checker/checker.pri 2017-08-15 10:32:05.033468727 +0200
|
|
@@ -1,3 +1,4 @@
|
|
+include(../config.pri)
|
|
|
|
CONFIG += qt stl c++11 exceptions console warn_on
|
|
QT -= xml network gui widgets
|
|
--- a/checker/helper.pro 2017-05-25 10:26:10.000000000 +0200
|
|
+++ b/checker/helper.pro 2017-08-15 10:32:44.558652327 +0200
|
|
@@ -1,3 +1,4 @@
|
|
+include(../config.pri)
|
|
|
|
TEMPLATE = app
|
|
|