/[packages]/cauldron/ardour/current/SOURCES/ardour-lilv016fix.patch
ViewVC logotype

Contents of /cauldron/ardour/current/SOURCES/ardour-lilv016fix.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 477084 - (show annotations) (download)
Tue Sep 10 05:50:02 2013 UTC (5 years, 10 months ago) by fwang
File size: 1272 byte(s)
use fedora patch to build with recent gcc
1 diff -rupN ardour-2.8.16.old/libs/ardour/ardour/lv2_plugin.h ardour-2.8.16/libs/ardour/ardour/lv2_plugin.h
2 --- ardour-2.8.16.old/libs/ardour/ardour/lv2_plugin.h 2012-04-19 14:51:59.000000000 -0400
3 +++ ardour-2.8.16/libs/ardour/ardour/lv2_plugin.h 2013-08-03 16:18:15.556223746 -0400
4 @@ -154,7 +154,7 @@ class LV2Plugin : public ARDOUR::Plugin
5 /** Find the LV2 input port with the given designation.
6 * If found, bufptrs[port_index] will be set to bufptr.
7 */
8 - LilvPort* designated_input (const char* uri, void** bufptrs[], void** bufptr);
9 + const LilvPort* designated_input (const char* uri, void** bufptrs[], void** bufptr);
10 };
11
12
13 diff -rupN ardour-2.8.16.old/libs/ardour/lv2_plugin.cc ardour-2.8.16/libs/ardour/lv2_plugin.cc
14 --- ardour-2.8.16.old/libs/ardour/lv2_plugin.cc 2012-04-19 14:51:59.000000000 -0400
15 +++ ardour-2.8.16/libs/ardour/lv2_plugin.cc 2013-08-03 16:17:03.564508732 -0400
16 @@ -644,10 +644,10 @@ LV2Plugin::latency_compute_run ()
17 deactivate ();
18 }
19
20 -LilvPort*
21 +const LilvPort*
22 LV2Plugin::designated_input (const char* uri, void** bufptrs[], void** bufptr)
23 {
24 - LilvPort* port = NULL;
25 + const LilvPort* port = NULL;
26 #ifdef HAVE_NEW_LILV
27 LilvNode* designation = lilv_new_uri(_world.world, uri);
28 port = lilv_plugin_get_port_by_designation(

  ViewVC Help
Powered by ViewVC 1.1.26