unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
blob a1f3189db8795406386b5def56c4824f3e2de63c 1150 bytes (raw)
name: gnu/packages/patches/fvwm-2.6.8-remove-all-compile-timestamps.patch 	 # note: path name is non-authoritative(*)

 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
 
From 90e0ab0a5d5eae066f670723cd4c20f113e664be Mon Sep 17 00:00:00 2001
From: Nils Gillmann <gillmann@infotropique.org>
Date: Mon, 17 Sep 2018 23:23:46 +0000
Subject: [PATCH] Remove compile time __DATE__ and __TIME__ variables from the
 source.

Commentary: it looks like upstream rejected the request for inclusion in
https://github.com/fvwmorg/fvwm/issues/67 and focuses on fvwm3 fixes.
Irritating, but we have tried.
This patch has been taken from a similar (but not applying as-is) patch
by robert@openbsd for openbsd's Xenocara FVWM version.

Signed-off-by: Nils Gillmann <gillmann@infotropique.org>
---
 fvwm/fvwm.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fvwm/fvwm.c b/fvwm/fvwm.c
index f5317f2..3e0f183 100644
--- a/fvwm/fvwm.c
+++ b/fvwm/fvwm.c
@@ -1286,8 +1286,8 @@ static void setVersionInfo(void)
 	int support_len;
 
 	/* Set version information string */
-	sprintf(version_str, "fvwm %s%s compiled on %s at %s",
-		VERSION, VERSIONINFO, __DATE__, __TIME__);
+	sprintf(version_str, "fvwm %s%s\n",
+		VERSION, VERSIONINFO);
 	Fvwm_VersionInfo = safestrdup(version_str);
 
 	sprintf(license_str,
-- 
2.19.0


debug log:

solving a1f3189db ...
found a1f3189db in https://yhetil.org/guix-patches/20180928151419.fd5hxc7sv4nqwo23@abyayala/

applying [1/1] https://yhetil.org/guix-patches/20180928151419.fd5hxc7sv4nqwo23@abyayala/
diff --git a/gnu/packages/patches/fvwm-2.6.8-remove-all-compile-timestamps.patch b/gnu/packages/patches/fvwm-2.6.8-remove-all-compile-timestamps.patch
new file mode 100644
index 000000000..a1f3189db

1:29: space before tab in indent.
 	int support_len;
1:30: trailing whitespace.
 
1:31: space before tab in indent.
 	/* Set version information string */
1:36: space before tab in indent.
 	Fvwm_VersionInfo = safestrdup(version_str);
1:37: trailing whitespace.
 
Checking patch gnu/packages/patches/fvwm-2.6.8-remove-all-compile-timestamps.patch...
Applied patch gnu/packages/patches/fvwm-2.6.8-remove-all-compile-timestamps.patch cleanly.
warning: squelched 3 whitespace errors
warning: 8 lines add whitespace errors.

index at:
100644 a1f3189db8795406386b5def56c4824f3e2de63c	gnu/packages/patches/fvwm-2.6.8-remove-all-compile-timestamps.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).