aboutsummaryrefslogtreecommitdiff
path: root/Mk/Scripts
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-07-14 16:06:05 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-07-14 16:15:03 +0000
commitfcb34faf706733a667358b293970fac444251828 (patch)
treed25f9d8a3e45ba1224e632d513b2055a1cc7b3ab /Mk/Scripts
parentedc51a75bf58cb422cf2c91a928834c85a73c396 (diff)
downloadports-fcb34faf706733a667358b293970fac444251828.tar.gz
ports-fcb34faf706733a667358b293970fac444251828.zip
Diffstat (limited to 'Mk/Scripts')
-rw-r--r--Mk/Scripts/smart_makepatch.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/Scripts/smart_makepatch.sh b/Mk/Scripts/smart_makepatch.sh
index 5146d01a84cd..96ad7e6ee78c 100644
--- a/Mk/Scripts/smart_makepatch.sh
+++ b/Mk/Scripts/smart_makepatch.sh
@@ -193,7 +193,7 @@ regenerate_patches() {
NEW=${ORIG%.orig}
cmp -s ${ORIG} ${NEW} && continue
OUT=${REGENNED}/$(std_patch_filename ${NEW})
- TZ=UTC diff -udp ${ORIG} ${NEW} | sed \
+ TZ=UTC diff -audp ${ORIG} ${NEW} | sed \
-e '/^---/s|\.[0-9]* +0000$| UTC|' \
-e '/^+++/s|\([[:blank:]][-0-9:.+]*\)*$||' \
> ${OUT} || true