archrelease: copy trunk to extra-x86_64
[arch-packages.git] / libquvi / repos / extra-x86_64 / reproducible-date.patch
blob9fc8b9b83822fdce60bc0f25a25b063697aa739b
1 diff -aur libquvi-0.9.4.old/configure.ac libquvi-0.9.4/configure.ac
2 --- libquvi-0.9.4.old/configure.ac 2022-09-16 18:40:33.053827077 +0200
3 +++ libquvi-0.9.4/configure.ac 2022-09-16 18:42:19.729788108 +0200
4 @@ -71,7 +71,7 @@
5 AC_MSG_ERROR([a2x is required to create man pages when building from git])])
7 AC_PATH_PROG([DATE], [date], [no])
8 -AS_IF([test x"$DATE" != "xno"], [build_time=`$DATE +"%F %T %z"`])
9 +AS_IF([test x"$DATE" != "xno"], [build_time=`date --utc --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}"`])
10 AC_DEFINE_UNQUOTED([BUILD_TIME], ["$build_time"], [We have build time])
12 BUILD_TIME="$build_time"