File: replace-current-year-with-static-value-t.patch

package info (click to toggle)
ario 1.6-1.5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,264 kB
  • sloc: ansic: 28,604; sh: 4,177; makefile: 576
file content (36 lines) | stat: -rw-r--r-- 1,530 bytes parent folder | download | duplicates (3)
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
26
27
28
29
30
31
32
33
34
35
36
From: Reiner Herrmann <reiner@reiner-h.de>
Date: Tue, 28 Jun 2016 20:57:58 +0200
X-Dgit-Generated: 1.6-1.2 ee49d4c2ad945b1ccb14656dba223bd01cc15557
Subject: Replace current year with static value to get reproducible build

(Closes: #828876)

---

diff --git a/src/Makefile.am b/src/Makefile.am
index 64f2fef..c6a855e 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -206,8 +206,7 @@ AM_CPPFLAGS = \
                 -DDATA_PATH=\""$(pkgdatadir)/data/"\"\
                 -DUI_PATH=\""$(pkgdatadir)/ui/"\"\
         	-DARIO_PLUGIN_DIR=\"$(PLUGINDIR)\"\
-        	-DARIO_PLUGIN_DATA_DIR=\"$(PLUGIN_DATA_DIR)\"\
-		-DCURRENT_DATE="\"`date +%G`\""
+        	-DARIO_PLUGIN_DATA_DIR=\"$(PLUGIN_DATA_DIR)\"
 
 if MPD_GLIB
 AM_CPPFLAGS += -DMPD_GLIB
diff --git a/src/shell/ario-shell.c b/src/shell/ario-shell.c
index a9cb4fa..b6422e7 100644
--- a/src/shell/ario-shell.c
+++ b/src/shell/ario-shell.c
@@ -665,7 +665,7 @@ ario_shell_cmd_about (GSimpleAction *action,
                                "name", "Ario",
                                "program-name", "Ario",
                                "version", PACKAGE_VERSION,
-                               "copyright", "Copyright \xc2\xa9 2005-" CURRENT_DATE " Marc Pavot",
+                               "copyright", "Copyright \xc2\xa9 2005-2011 Marc Pavot",
                                "comments", _("GTK client for MPD"),
                                "translator-credits", _("translator-credits"),
                                "authors", (const char **) authors,