From 444176e8aa3a958f147f15542793678b619be262 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 28 Oct 2013 16:33:41 +0100 Subject: fix host build stuff and update-patches, convert cifs-utils and libaudiofile to new autotool infrastructure --- scripts/update-patches | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'scripts/update-patches') diff --git a/scripts/update-patches b/scripts/update-patches index d38a8fdf4..a180b96be 100644 --- a/scripts/update-patches +++ b/scripts/update-patches @@ -77,11 +77,22 @@ else patch_newfiles=0 fi +if [[ -e $WRKDIST/../.autoreconf_done ]]; then + touch $ORGDIST/.autoreconf_done + ignore_autoconf=1 +else + ignore_autoconf=0 +fi + DIFF_FLAGS="-adu -I \"^--- $(echo $D_SUBP.orig/ | $TRANSFORM)@@ .*\"" DIFF_FLAGS="$DIFF_FLAGS -I \"^\+\+\+ $(echo $D_SUBP/ | $TRANSFORM)@@ .*\"" for file in $(cd ${WRKDIST}; find . -type f | sed 's#^\./##'); do + echo "DEBUG: $file" >> /tmp/debug [[ ! -e $ORGDIST/$file && $patch_newfiles = 0 ]] && continue + [[ $file = configure && $ignore_autoconf = 1 ]] && continue + [[ $file = config.h.in && $ignore_autoconf = 1 ]] && continue + [[ $(basename $file) = Makefile.in && $ignore_autoconf = 1 ]] && continue cmp -s "$ORGDIST/$file" "$WRKDIST/$file" && continue echo "Processing ${file}..." >&2 # look in patchdir for an existing patchfile matching this -- cgit v1.2.3