summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-12-17 03:14:34 +0000
committerDavid Robillard <d@drobilla.net>2013-12-17 03:14:34 +0000
commitcac1263b0bec8a368b28c0a47e4bbb18f1aae958 (patch)
tree1c220dfa16e8fec433140e3ddbe8c3999104f3f4
parent5aa932bfa7aa701909112e3cc69941b9b6b1170e (diff)
downloadingen-cac1263b0bec8a368b28c0a47e4bbb18f1aae958.tar.gz
ingen-cac1263b0bec8a368b28c0a47e4bbb18f1aae958.tar.bz2
ingen-cac1263b0bec8a368b28c0a47e4bbb18f1aae958.zip
Fix more const issues.
Require latest LV2 svn for Ingen (fix #945). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5174 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--src/AtomReader.cpp2
-rw-r--r--src/server/LV2Block.cpp2
-rw-r--r--wscript2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/AtomReader.cpp b/src/AtomReader.cpp
index 228f3808..bc0ddfe8 100644
--- a/src/AtomReader.cpp
+++ b/src/AtomReader.cpp
@@ -205,7 +205,7 @@ AtomReader::write(const LV2_Atom* msg)
const LV2_Atom_URID* prop = NULL;
lv2_atom_object_get(obj, (LV2_URID)_uris.patch_property, &prop, 0);
- if (!prop || ((LV2_Atom*)prop)->type != _uris.atom_URID) {
+ if (!prop || ((const LV2_Atom*)prop)->type != _uris.atom_URID) {
_log.warn("Set message missing property\n");
return false;
}
diff --git a/src/server/LV2Block.cpp b/src/server/LV2Block.cpp
index e065a5b5..73a74daa 100644
--- a/src/server/LV2Block.cpp
+++ b/src/server/LV2Block.cpp
@@ -125,7 +125,7 @@ LV2Block::make_instance(URIs& uris,
options_iface->get(inst->lv2_handle, options);
if (options[0].value) {
- LV2_URID type = *(LV2_URID*)options[0].value;
+ LV2_URID type = *(const LV2_URID*)options[0].value;
if (type == _uris.lv2_ControlPort) {
port->set_type(PortType::CONTROL, 0);
} else if (type == _uris.lv2_CVPort) {
diff --git a/wscript b/wscript
index ed7dfa99..390ca89b 100644
--- a/wscript
+++ b/wscript
@@ -47,7 +47,7 @@ def configure(conf):
autowaf.display_header('Ingen Configuration')
conf.check_python_version((2,4,0), mandatory=False)
autowaf.check_pkg(conf, 'lv2', uselib_store='LV2',
- atleast_version='1.3.0', mandatory=True)
+ atleast_version='1.6.1', mandatory=True)
autowaf.check_pkg(conf, 'glibmm-2.4', uselib_store='GLIBMM',
atleast_version='2.14.0', mandatory=True)
autowaf.check_pkg(conf, 'gthread-2.0', uselib_store='GTHREAD',