summaryrefslogtreecommitdiff
path: root/audio/ardour/lilv.patch
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2013-11-10 12:26:45 +0100
committerRobby Workman <rworkman@slackbuilds.org>2013-11-11 10:51:51 -0600
commite5c306a01d3e55c19a5dd62b401377e62b116273 (patch)
tree2fb10e5427873ccc5e0702ca55243e370488924f /audio/ardour/lilv.patch
parent970a3bf043c2cbad64b5760a96d740bc1bdece65 (diff)
downloadslackbuilds-e5c306a01d3e55c19a5dd62b401377e62b116273.tar.gz
audio/ardour: Updated for version 2.8.16.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'audio/ardour/lilv.patch')
-rw-r--r--audio/ardour/lilv.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/audio/ardour/lilv.patch b/audio/ardour/lilv.patch
new file mode 100644
index 0000000000..cf5abec24e
--- /dev/null
+++ b/audio/ardour/lilv.patch
@@ -0,0 +1,38 @@
+commit 4ce89b51782ae8b86ee00175c5abdeec07cc4e4c
+Author: Paul Davis <paul@linuxaudiosystems.com>
+Date: Thu Feb 21 14:53:49 2013 +0000
+
+ fix const-correctness for current lilv
+
+ git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@14072 d708f5d6-7413-0410-9779-e7cbd77b26cf
+
+diff --git a/libs/ardour/ardour/lv2_plugin.h b/libs/ardour/ardour/lv2_plugin.h
+index eacefa4..595dcc1 100644
+--- a/libs/ardour/ardour/lv2_plugin.h
++++ b/libs/ardour/ardour/lv2_plugin.h
+@@ -154,7 +154,7 @@ class LV2Plugin : public ARDOUR::Plugin
+ /** Find the LV2 input port with the given designation.
+ * If found, bufptrs[port_index] will be set to bufptr.
+ */
+- LilvPort* designated_input (const char* uri, void** bufptrs[], void** bufptr);
++ const LilvPort* designated_input (const char* uri, void** bufptrs[], void** bufptr);
+ };
+
+
+diff --git a/libs/ardour/lv2_plugin.cc b/libs/ardour/lv2_plugin.cc
+index 4a1719d..6d21091 100644
+--- a/libs/ardour/lv2_plugin.cc
++++ b/libs/ardour/lv2_plugin.cc
+@@ -644,10 +644,10 @@ LV2Plugin::latency_compute_run ()
+ deactivate ();
+ }
+
+-LilvPort*
++const LilvPort*
+ LV2Plugin::designated_input (const char* uri, void** bufptrs[], void** bufptr)
+ {
+- LilvPort* port = NULL;
++ const LilvPort* port = NULL;
+ #ifdef HAVE_NEW_LILV
+ LilvNode* designation = lilv_new_uri(_world.world, uri);
+ port = lilv_plugin_get_port_by_designation(