archrelease: copy trunk to extra-x86_64
[arch-packages.git] / netpbm / trunk / use-source-date-epoch.patch
blob496935fe6ae221d6bc1958d854795c80d5b70181
1 Only in netpbm-10.73.31/buildtools/: depend.mk
2 diff -aur netpbm-10.73.31.old/buildtools/stamp-date netpbm-10.73.31/buildtools/stamp-date
3 --- netpbm-10.73.31.old/buildtools/stamp-date 2020-05-30 17:34:29.833395465 +0200
4 +++ netpbm-10.73.31/buildtools/stamp-date 2020-05-30 17:48:52.910091897 +0200
5 @@ -9,7 +9,7 @@
6 # documentation. This software is provided "as is" without express or
7 # implied warranty.
9 -DATE=$(date)
10 +DATE="$(date --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}")"
11 LOGNAME_OR_UNKNOWN=${LOGNAME:-UNKNOWN}
12 USER=${USER:-$LOGNAME_OR_UNKNOWN}
13 if [ "$USER" = "UNKNOWN" ]; then