all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob 10bfbdf5da314fe20900f2aacd3ac29e5ff15255 681 bytes (raw)
name: gnu/packages/patches/libcanberra-sound-theme-freedesktop.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
 
--- src/sound-theme-spec.c.orig	2015-01-11 13:13:29.520527358 +0100
+++ src/sound-theme-spec.c	2015-01-11 14:27:23.035046849 +0100
@@ -321,9 +321,13 @@
         const char *g;
 
         if (!(g = getenv("XDG_DATA_DIRS")) || *g == 0)
-                return "/usr/local/share:/usr/share";
-
-        return g;
+                return "@SOUND_THEME_DIRECTORY@";
+        else {
+                const char *stp = ":@SOUND_THEME_DIRECTORY@";
+                size_t len = strlen(stp) + strlen(g) + 1;
+                char *g2 = (char*) malloc(len);
+                return strcat(strcpy(g2, g), stp);
+        }
 }
 
 static int load_theme_dir(ca_theme_data *t, const char *name) {

debug log:

solving 10bfbdf ...
found 10bfbdf in https://yhetil.org/guix/CAKrPhPMo0TcvQQ9KzR_dCQ_TM+KXfUkb8t7Pva9Vrt1A73mXHg@mail.gmail.com/

applying [1/1] https://yhetil.org/guix/CAKrPhPMo0TcvQQ9KzR_dCQ_TM+KXfUkb8t7Pva9Vrt1A73mXHg@mail.gmail.com/
diff --git a/gnu/packages/patches/libcanberra-sound-theme-freedesktop.patch b/gnu/packages/patches/libcanberra-sound-theme-freedesktop.patch
new file mode 100644
index 0000000..10bfbdf

1:11: trailing whitespace.
 
1:24: trailing whitespace.
 
Checking patch gnu/packages/patches/libcanberra-sound-theme-freedesktop.patch...
Applied patch gnu/packages/patches/libcanberra-sound-theme-freedesktop.patch cleanly.
warning: 2 lines add whitespace errors.

index at:
100644 10bfbdf5da314fe20900f2aacd3ac29e5ff15255	gnu/packages/patches/libcanberra-sound-theme-freedesktop.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.