From 506d219f1054bbac18034a1ca35788900010876a Mon Sep 17 00:00:00 2001
From: Andres Freund <andres@anarazel.de>
Date: Wed, 14 Sep 2022 16:43:47 -0700
Subject: [PATCH v13 12/20] meson: prereq: win: remove date from version number
 in win32ver.rc

This may have served a purpose at some point, but these days it just
contributes to a non-reproducible build.

Discussion: https://postgr.es/m/1cef5b48-32bd-5cbf-fb62-fb648860f5ef@enterprisedb.com
---
 src/makefiles/Makefile.win32 | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/makefiles/Makefile.win32 b/src/makefiles/Makefile.win32
index 17d68196442..d268b3ebafd 100644
--- a/src/makefiles/Makefile.win32
+++ b/src/makefiles/Makefile.win32
@@ -69,7 +69,6 @@ win32ver.rc: $(top_srcdir)/src/port/win32ver.rc
 	sed -e 's;FILEDESC;$(PGFILEDESC);' \
 	    -e 's;VFT_APP;$(PGFTYPE);' \
 	    -e 's;_ICO_;$(PGICOSTR);' \
-	    -e 's;\(VERSION.*\),0 *$$;\1,'`date '+%y%j' | sed 's/^0*//'`';' \
 	    -e '/_INTERNAL_NAME_/$(if $(shlib),s;_INTERNAL_NAME_;"$(basename $(shlib))";,d)' \
 	    -e '/_ORIGINAL_NAME_/$(if $(shlib),s;_ORIGINAL_NAME_;"$(shlib)";,d)' \
 	  $< >$@
-- 
2.37.3.542.gdd3f6c4cae

