From 680d83f768298ed0fcabd553f5d48ee8facf203b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz=20=28arab=2C=20vx?= =?UTF-8?q?p=29?= Date: Sun, 7 Feb 2016 16:10:49 +0100 Subject: Apply all upstream patches for the bash version configured. --- 200.coreutils.build | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to '200.coreutils.build') diff --git a/200.coreutils.build b/200.coreutils.build index cf445fb9..a0c72efb 100644 --- a/200.coreutils.build +++ b/200.coreutils.build @@ -1,5 +1,5 @@ -parse_with_pkg_name ${2} \ - coreutils diffutils findutils patch \ +parse_with_pkg_name ${2} \ + coreutils diffutils findutils patch \ gawk bash make grep sed binutils; if is_build_script_done finished; then exit 212; @@ -22,6 +22,15 @@ if ! is_build_script_done extracted; then set_build_script_done extracted -patched; fi; if ! is_build_script_done patched; then + if [ -n "${_pkg_patches_extra}" ]; then + (rm_if_exists -m -c ${_pkg_subdir}-patches-extra; + wget -c -nd -np -r -R \*.htm\* ${_pkg_patches_extra} + for _patch_fname in \ + $(find . -type f -not -iname \*.sig | sort); do + patch -d ../${_pkg_subdir} -p0 \ + < ${_patch_fname}; + done); wait; + fi; patch -d ${_pkg_subdir} -p1 \ < portage/${_pkg_subdir}.midipix.patch; set_build_script_done patched -configured; @@ -30,7 +39,7 @@ if ! is_build_script_done configured; then rm_if_exists -m -c ${_build_dir}; [ ${_no_config_cache:-0} -eq 0 ] &&\ cp ../portage/config.cache .; - ../${_pkg_subdir}/configure \ + ../${_pkg_subdir}/configure \ ${_configure_args} --target=${TARGET}; set_build_script_done configured -built; else -- cgit v1.2.3