[SCM] lilv/master: Add patch to prevent build failure.

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Tue Aug 27 16:13:23 UTC 2013


The following commit has been merged in the master branch:
commit 89deda3834807d1122d16dfe862799a8288eab6f
Author: Alessio Treglia <alessio at debian.org>
Date:   Tue Aug 27 17:02:56 2013 +0100

    Add patch to prevent build failure.
    
    Patch taken from upstream VCS.

diff --git a/debian/patches/9001-bindings.patch b/debian/patches/9001-bindings.patch
new file mode 100644
index 0000000..75a863a
--- /dev/null
+++ b/debian/patches/9001-bindings.patch
@@ -0,0 +1,49 @@
+Description: Fix bindings build.
+Origin: http://dev.drobilla.net/changeset/5092/trunk/lilv/lilv/lilvmm.hpp?old=4975&old_path=trunk%2Flilv%2Flilv%2Flilvmm.hpp
+Applied-Upstream: yes
+---
+ lilv/lilvmm.hpp |   26 ++++++++++++++++++++++++++
+ 1 file changed, 26 insertions(+)
+
+--- lilv.orig/lilv/lilvmm.hpp
++++ lilv/lilv/lilvmm.hpp
+@@ -49,6 +49,11 @@ uri_to_path(const char* uri) {
+ 		return lilv_ ## prefix ## _ ## name(me, a1, a2); \
+ 	}
+ 
++#define LILV_WRAP3(RT, prefix, name, T1, a1, T2, a2, T3, a3) \
++	inline RT name(T1 a1, T2 a2, T3 a3) { \
++		return lilv_ ## prefix ## _ ## name(me, a1, a2, a3); \
++	}
++
+ #define LILV_WRAP2_VOID(prefix, name, T1, a1, T2, a2) \
+ 	inline void name(T1 a1, T2 a2) { lilv_ ## prefix ## _ ## name(me, a1, a2); }
+ 
+@@ -139,6 +144,27 @@ struct Nodes {
+ 	LILV_WRAP0(Node, nodes, get_first);
+ };
+ 
++struct UI {
++	inline UI(const LilvUI* c_obj) : me(c_obj) {}
++	LILV_WRAP_CONVERSION(const LilvUI);
++
++	LILV_WRAP0(const LilvNode*, ui, get_uri);
++	LILV_WRAP0(const LilvNode*, ui, get_bundle_uri);
++	LILV_WRAP0(const LilvNode*, ui, get_binary_uri);
++	LILV_WRAP0(const LilvNodes*, ui, get_classes);
++	/*LILV_WRAP3(bool, ui, is_supported,
++	           LilvUISupportedFunc, supported_func,
++	           const LilvNode*,     container_type,
++	           const LilvNode**,    ui_type);*/
++	LILV_WRAP1(bool, ui, is_a, const LilvNode*, class_uri);
++
++	const LilvUI* me;
++};
++
++struct UIs {
++	LILV_WRAP_COLL(UIs, UI, uis);
++};
++
+ struct Port {
+ 	inline Port(const LilvPlugin* p, const LilvPort* c_obj)
+ 		: parent(p), me(c_obj)
diff --git a/debian/patches/series b/debian/patches/series
index 163611c..20024b8 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 1001-dont_run_ldconfig.patch
 1002-fix_gnu_kfreebsd_build.patch
+9001-bindings.patch

-- 
lilv packaging



More information about the pkg-multimedia-commits mailing list