summaryrefslogtreecommitdiff
path: root/nonsystemd/libretools/0002-libremakepkg-pacman_5_2.patch
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2019-10-29 15:23:00 -0300
committerDavid P <megver83@parabola.nu>2019-10-29 15:23:00 -0300
commitda2e383a052e31b751119f4563d2542d2c76d978 (patch)
tree39569d10f28a42865863e7169abadc7fbcbba396 /nonsystemd/libretools/0002-libremakepkg-pacman_5_2.patch
parent54cb5e20557a777f3f0409de4f06627130255a9c (diff)
downloadabslibre-da2e383a052e31b751119f4563d2542d2c76d978.tar.gz
abslibre-da2e383a052e31b751119f4563d2542d2c76d978.tar.bz2
abslibre-da2e383a052e31b751119f4563d2542d2c76d978.zip
updpkg: nonsystemd/libretools 20181004-6.1.nonsystemd1
Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'nonsystemd/libretools/0002-libremakepkg-pacman_5_2.patch')
-rw-r--r--nonsystemd/libretools/0002-libremakepkg-pacman_5_2.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/nonsystemd/libretools/0002-libremakepkg-pacman_5_2.patch b/nonsystemd/libretools/0002-libremakepkg-pacman_5_2.patch
new file mode 100644
index 000000000..186b05dbd
--- /dev/null
+++ b/nonsystemd/libretools/0002-libremakepkg-pacman_5_2.patch
@@ -0,0 +1,23 @@
+--- libretools-20181004.orig/src/lib/common.sh.in 2018-10-04 14:31:05.000000000 -0500
++++ libretools-20181004/src/lib/common.sh.in 2019-10-26 03:17:40.383684905 -0500
+@@ -58,7 +58,7 @@
+ declare -f "${fns[@]}" | sed 's/^[a-z]/_makepkg_&/'
+
+ # re-declare ${fn} as a wrapper around _makepkg_${fn}
+- printf '%s() { local mesg; mesg="$(_ "$1")"; _p _makepkg_"${FUNCNAME[0]}" "$mesg" "${@:2}"; }\n' \
++ printf '%s() { local mesg; local QUIET=$(true); mesg="$(_ "$1")"; _p _makepkg_"${FUNCNAME[0]}" "$mesg" "${@:2}"; }\n' \
+ "${fns[@]}"
+ )"
+
+--- libretools-20181004.orig/src/lib/conf.sh.in 2018-10-04 14:31:05.000000000 -0500
++++ libretools-20181004/src/lib/conf.sh.in 2019-10-26 03:11:48.993679739 -0500
+@@ -200,9 +200,6 @@
+ done
+ }
+
+- # This line is taken from the makepkg source
+- local known_hash_algos=('md5' 'sha1' 'sha224' 'sha256' 'sha384' 'sha512')
+-
+ # From the "OPTIONS AND DIRECTIVES" section (in order of mention)
+ unset -v pkgname pkgver
+ unset -f pkgver