summaryrefslogtreecommitdiff
path: root/scripts/update-patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-10-28 16:33:41 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-10-28 16:33:41 +0100
commit444176e8aa3a958f147f15542793678b619be262 (patch)
tree3bae8dc0b3fd98ebffc239c6f4d0bb2e7604d957 /scripts/update-patches
parent05abc676e9272fdf933e0ea376bb12d8ec497467 (diff)
fix host build stuff and update-patches, convert cifs-utils and libaudiofile to new autotool infrastructure
Diffstat (limited to 'scripts/update-patches')
-rw-r--r--scripts/update-patches11
1 files changed, 11 insertions, 0 deletions
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