aboutsummaryrefslogtreecommitdiff
path: root/srcpkgs/qt5-fsarchiver/template
diff options
context:
space:
mode:
authorĐoàn Trần Công Danh <congdanhqx@gmail.com>2021-06-19 03:03:21 +0000
committerĐoàn Trần Công Danh <sgn.danh@gmail.com>2021-06-20 06:17:29 +0000
commit635e9da391995fe80fb8cd5783363a62a52a54c3 (patch)
tree5fbc1614071957b94acb2a129eea7a12066b7980 /srcpkgs/qt5-fsarchiver/template
parent49cb564d140a79e3a1a85c753aaef429981e4e67 (diff)
downloadvoid-packages-635e9da391995fe80fb8cd5783363a62a52a54c3.tar
void-packages-635e9da391995fe80fb8cd5783363a62a52a54c3.tar.gz
void-packages-635e9da391995fe80fb8cd5783363a62a52a54c3.tar.bz2
void-packages-635e9da391995fe80fb8cd5783363a62a52a54c3.tar.lz
void-packages-635e9da391995fe80fb8cd5783363a62a52a54c3.tar.xz
void-packages-635e9da391995fe80fb8cd5783363a62a52a54c3.tar.zst
void-packages-635e9da391995fe80fb8cd5783363a62a52a54c3.zip
srcpkgs/q*: convert patches to -Np1
* 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 ```
Diffstat (limited to 'srcpkgs/qt5-fsarchiver/template')
-rw-r--r--srcpkgs/qt5-fsarchiver/template1
1 files changed, 0 insertions, 1 deletions
diff --git a/srcpkgs/qt5-fsarchiver/template b/srcpkgs/qt5-fsarchiver/template
index 4eea7d4c7ec..46c87a9e7bd 100644
--- a/srcpkgs/qt5-fsarchiver/template
+++ b/srcpkgs/qt5-fsarchiver/template
@@ -15,7 +15,6 @@ license="GPL-2.0-only"
homepage="https://sourceforge.net/projects/qt4-fsarchiver"
distfiles="${SOURCEFORGE_SITE}/qt4-fsarchiver/${pkgname}-${_realversion}.tar.gz"
checksum=b32e02c9e1fc8038482752f5620d88b103b700ed29314bd55dcf6486f5c6f175
-patch_args=-Np0
CFLAGS="-fcommon"