summaryrefslogtreecommitdiff
path: root/libre/libretools/0002-libremakepkg-pacman_5_2.patch
blob: 186b05dbd14ec28c9f329b95472024017ed494e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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