[SCM] snd/master: Patch to fix-builds with unavailable macros

umlaeute at users.alioth.debian.org umlaeute at users.alioth.debian.org
Mon Oct 31 09:54:24 UTC 2016


The following commit has been merged in the master branch:
commit 2ad2ed9b954ce7bfc0951c37995323819f01f521
Author: IOhannes m zmölnig <zmoelnig at umlautQ.umlaeute.mur.at>
Date:   Mon Oct 31 10:52:17 2016 +0100

    Patch to fix-builds with unavailable macros

diff --git a/debian/patches/gtk_check_version.patch b/debian/patches/gtk_check_version.patch
new file mode 100644
index 0000000..1c6e79d
--- /dev/null
+++ b/debian/patches/gtk_check_version.patch
@@ -0,0 +1,22 @@
+Description: provide dummy define for GTK_HAVE_VERSION
+ when compiling without GTK (USE_GTK=0), the following line
+ throws an error:
+    #if (USE_GTK) && (!GTK_CHECK_VERSION(3, 22, 0))
+ so we just create a dummy-define for GTK_CHECK_VERSION()
+Author: IOhannes m zmölnig
+Forwarded: yes
+Last-Update: 2016-10-31
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- snd.orig/snd-main.c
++++ snd/snd-main.c
+@@ -10,6 +10,9 @@
+   #define TO_GVAR_NAME(Str) Str
+ #endif
+ 
++#if (!defined USE_GTK) || (!USE_GTK)
++  #define GTK_CHECK_VERSION(x, y, z) 0
++#endif
+ 
+ static void remove_temp_files(chan_info *cp)
+ {
diff --git a/debian/patches/series b/debian/patches/series
index e69de29..c69a03b 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -0,0 +1 @@
+gtk_check_version.patch

-- 
snd packaging



More information about the pkg-multimedia-commits mailing list