From 8a9ea734ec55b69cdca21afb40ef889e7cf1e9bd Mon Sep 17 00:00:00 2001 From: fanquake Date: Wed, 9 Aug 2023 14:42:38 +0200 Subject: [PATCH] gnu: mingw: Update reproducibility patch. * gnu/packages/patches/mingw-w64-reproducible-gendef.patch: Update from upstream. Signed-off-by: Janneke Nieuwenhuizen --- .../patches/mingw-w64-reproducible-gendef.patch | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/gnu/packages/patches/mingw-w64-reproducible-gendef.patch b/gnu/packages/patches/mingw-w64-reproducible-gendef.patch index ee676af7a0..8dbea54ce9 100644 --- a/gnu/packages/patches/mingw-w64-reproducible-gendef.patch +++ b/gnu/packages/patches/mingw-w64-reproducible-gendef.patch @@ -4,12 +4,12 @@ https://salsa.debian.org/mingw-w64-team/mingw-w64.git Invoke the following in the aforementioned repo to see the original patch: - $ git show 4974e2c:debian/patches/reproducible-gendef.patch + $ git show 9a33f50:debian/patches/reproducible-build.patch -Description: Drop __DATE__ from gendef +Description: Drop __DATE__ from gendef and genlib Author: Stephen Kitt -This allows gendef to be built reproducibly. +This allows gendef and genlib to be built reproducibly. --- a/mingw-w64-tools/gendef/src/gendef.c +++ b/mingw-w64-tools/gendef/src/gendef.c @@ -21,3 +21,13 @@ This allows gendef to be built reproducibly. fprintf (stderr, "\nReport bugs to \n"); exit (0); } +--- a/mingw-w64-tools/genlib/src/genlib.c ++++ b/mingw-w64-tools/genlib/src/genlib.c +@@ -123,7 +123,6 @@ + "Usage example:\n" + " By default, the output file is named after the DLL counterpart\n" + " genlib mydef.def Produces libmydll.a\n" +-"\nBuilt on " __DATE__ "\n" + "\nReport bugs to \n" + ; +