unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob fa631ce8f375ead93787490c5c6878cda963c574 917 bytes (raw)
name: gnu/packages/patches/geoclue-config.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
 
--- geoclue-2.1.10/src/gclue-config.c.orig	2015-04-07 09:50:07.721074380 +0200
+++ geoclue-2.1.10/src/gclue-config.c	2015-04-07 10:27:26.613171960 +0200
@@ -235,6 +235,11 @@
 gclue_config_init (GClueConfig *config)
 {
         GError *error = NULL;
+	const char *config_file_path;
+
+	config_file_path = g_getenv ("GEOCLUE_CONFIG_FILE_PATH");
+	if (config_file_path == NULL)
+	  config_file_path = CONFIG_FILE_PATH;
 
         config->priv =
                 G_TYPE_INSTANCE_GET_PRIVATE (config,
@@ -242,7 +247,7 @@
                                             GClueConfigPrivate);
         config->priv->key_file = g_key_file_new ();
         g_key_file_load_from_file (config->priv->key_file,
-                                   CONFIG_FILE_PATH,
+                                   config_file_path,
                                    0,
                                    &error);
         if (error != NULL) {

debug log:

solving fa631ce ...
found fa631ce in https://yhetil.org/guix-devel/1428413318.320191.18257@badger/

applying [1/1] https://yhetil.org/guix-devel/1428413318.320191.18257@badger/
diff --git a/gnu/packages/patches/geoclue-config.patch b/gnu/packages/patches/geoclue-config.patch
new file mode 100644
index 0000000..fa631ce

1:18: trailing whitespace.
 
Checking patch gnu/packages/patches/geoclue-config.patch...
Applied patch gnu/packages/patches/geoclue-config.patch cleanly.
warning: 1 line adds whitespace errors.

index at:
100644 fa631ce8f375ead93787490c5c6878cda963c574	gnu/packages/patches/geoclue-config.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).