libquvi/libquvi-stable-build-date.patch

14 lines
566 B
Diff
Raw Permalink Normal View History

Index: configure.ac
===================================================================
--- configure.ac.orig
+++ configure.ac
@@ -71,7 +71,7 @@ AS_IF([test x"$A2X" = "xno" && test -d "
AC_MSG_ERROR([a2x is required to create man pages when building from git])])
AC_PATH_PROG([DATE], [date], [no])
-AS_IF([test x"$DATE" != "xno"], [build_time=`$DATE +"%F %T %z"`])
+AS_IF([test x"$DATE" != "xno"], [build_time=`TZ=UTC $DATE -r stamp-build-time +"%F %T %z"`])
AC_DEFINE_UNQUOTED([BUILD_TIME], ["$build_time"], [We have build time])
BUILD_TIME="$build_time"