0002-libremakepkg-pacman_5_2.patch 981 B

123456789101112131415161718192021222324
  1. --- libretools-20181004.orig/src/lib/common.sh.in 2018-10-04 14:31:05.000000000 -0500
  2. +++ libretools-20181004/src/lib/common.sh.in 2019-10-26 03:17:40.383684905 -0500
  3. @@ -58,7 +58,7 @@
  4. declare -f "${fns[@]}" | sed 's/^[a-z]/_makepkg_&/'
  5. # re-declare ${fn} as a wrapper around _makepkg_${fn}
  6. - printf '%s() { local mesg; mesg="$(_ "$1")"; _p _makepkg_"${FUNCNAME[0]}" "$mesg" "${@:2}"; }\n' \
  7. + printf '%s() { local mesg; local QUIET=$(true); mesg="$(_ "$1")"; _p _makepkg_"${FUNCNAME[0]}" "$mesg" "${@:2}"; }\n' \
  8. "${fns[@]}"
  9. )"
  10. --- libretools-20181004.orig/src/lib/conf.sh.in 2018-10-04 14:31:05.000000000 -0500
  11. +++ libretools-20181004/src/lib/conf.sh.in 2019-10-26 03:11:48.993679739 -0500
  12. @@ -200,9 +200,6 @@
  13. done
  14. }
  15. - # This line is taken from the makepkg source
  16. - local known_hash_algos=('md5' 'sha1' 'sha224' 'sha256' 'sha384' 'sha512')
  17. -
  18. # From the "OPTIONS AND DIRECTIVES" section (in order of mention)
  19. unset -v pkgname pkgver
  20. unset -f pkgver