unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
blob c30f1f9b6c1a5fbbe1307185521a2d1aa5cfde1e 921 bytes (raw)
name: gnu/packages/patches/pidgin-vv-gst.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
36
37
38
39
40
41
42
43
44
 
diff --git a/libpurple/mediamanager.c b/libpurple/mediamanager.c
--- a/libpurple/mediamanager.c
+++ b/libpurple/mediamanager.c
@@ -2231,6 +2231,7 @@
 purple_media_manager_unregister_gst_device(PurpleMediaManager *manager,
 		GstDevice *device)
 {
+#ifdef USE_VV
 	GList *i;
 	gchar *name;
 	gchar *device_class;
@@ -2277,6 +2278,7 @@
 
 	g_free(name);
 	g_free(device_class);
+#endif /* USE_VV */
 }
 
 static gboolean
@@ -2304,7 +2306,7 @@
 static void
 purple_media_manager_init_device_monitor(PurpleMediaManager *manager)
 {
-#if GST_CHECK_VERSION(1, 4, 0)
+#if GST_CHECK_VERSION(1, 4, 0) && defined(USE_VV)
 	GstBus *bus;
 	GList *i;
 
@@ -2334,6 +2336,7 @@
 		PurpleMediaElementType type)
 {
 	GList *result = NULL;
+#ifdef USE_VV
 	GList *i;
 
 	for (i = manager->priv->elements; i; i = i->next) {
@@ -2347,6 +2350,7 @@
 			result = g_list_prepend(result, info);
 		}
 	}
+#endif /* USE_VV */
 
 	return result;
 }

debug log:

solving c30f1f9b6c ...
found c30f1f9b6c in https://yhetil.org/guix-patches/c0031ac1-fe95-cc49-512b-f2ae5f0bf9b3@raghavgururajan.name/ ||
	https://yhetil.org/guix-patches/76718c32-df1f-0420-c14b-59076bdb90d3@raghavgururajan.name/

applying [1/1] https://yhetil.org/guix-patches/c0031ac1-fe95-cc49-512b-f2ae5f0bf9b3@raghavgururajan.name/
diff --git a/gnu/packages/patches/pidgin-vv-gst.patch b/gnu/packages/patches/pidgin-vv-gst.patch
new file mode 100644
index 0000000000..c30f1f9b6c

1:12: space before tab in indent.
 		GstDevice *device)
1:15: space before tab in indent.
 	GList *i;
1:16: space before tab in indent.
 	gchar *name;
1:17: space before tab in indent.
 	gchar *device_class;
1:19: trailing whitespace.
 
Checking patch gnu/packages/patches/pidgin-vv-gst.patch...
Applied patch gnu/packages/patches/pidgin-vv-gst.patch cleanly.
warning: squelched 16 whitespace errors
warning: 21 lines add whitespace errors.

skipping https://yhetil.org/guix-patches/76718c32-df1f-0420-c14b-59076bdb90d3@raghavgururajan.name/ for c30f1f9b6c
index at:
100644 c30f1f9b6c1a5fbbe1307185521a2d1aa5cfde1e	gnu/packages/patches/pidgin-vv-gst.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).