File: reproducible-build.patch

package info (click to toggle)
lmemory 0.6c-11
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,156 kB
  • sloc: sh: 4,797; ansic: 1,479; makefile: 37
file content (25 lines) | stat: -rw-r--r-- 750 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From: Markus Koschany <apo@debian.org>
Date: Mon, 2 Nov 2015 23:15:05 +0100
Subject: reproducible build

Make the build reproducible by removing the __DATE__ macro and using a fixed
value.

Forwarded: no
---
 help.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/help.c b/help.c
index 0d581b6..0bcb7bc 100644
--- a/help.c
+++ b/help.c
@@ -41,7 +41,7 @@ lmem_about ()
     label = lookup_widget (window_about, "label_about_version");
     gtk_label_set_text(GTK_LABEL(label), "0.6c");
     label = lookup_widget (window_about, "label_about_date");
-    gtk_label_set_text(GTK_LABEL(label), __DATE__);
+    gtk_label_set_text(GTK_LABEL(label), "2015-11-02");
     
     /* display the window */
     gtk_widget_show(window_about);