diff --git a/libs/ardour/lv2_plugin.cc b/libs/ardour/lv2_plugin.cc index 5cac290789..ba36d9613f 100644 --- a/libs/ardour/lv2_plugin.cc +++ b/libs/ardour/lv2_plugin.cc @@ -634,12 +634,12 @@ LV2Plugin::add_state(XMLNode* root) const if (!_impl->state || !lilv_state_equals(state, _impl->state)) { lilv_state_save(_world.world, + _uri_map.urid_map(), _uri_map.urid_unmap(), state, NULL, new_dir.c_str(), - "state.ttl", - NULL); + "state.ttl"); lilv_state_free(_impl->state); _impl->state = state; diff --git a/libs/ardour/wscript b/libs/ardour/wscript index 21936bc278..91a7ea6e7d 100644 --- a/libs/ardour/wscript +++ b/libs/ardour/wscript @@ -259,7 +259,7 @@ def configure(conf): autowaf.check_pkg(conf, 'lilv-0', uselib_store='LILV', atleast_version='0.0.0', mandatory=False) autowaf.check_pkg(conf, 'lilv-0', uselib_store='NEW_LILV', - atleast_version='0.9.0', mandatory=False) + atleast_version='0.11.0', mandatory=False) if conf.is_defined('HAVE_LILV'): autowaf.check_pkg(conf, 'suil-0', uselib_store='SUIL', atleast_version='0.2.0', mandatory=False)