diff --git a/pkgs/by-name/ds/dssi/dssi-liblo.patch b/pkgs/by-name/ds/dssi/dssi-liblo.patch new file mode 100644 index 0000000000000..91ef71699b13f --- /dev/null +++ b/pkgs/by-name/ds/dssi/dssi-liblo.patch @@ -0,0 +1,22 @@ +diff --git a/jack-dssi-host/jack-dssi-host.c b/jack-dssi-host/jack-dssi-host.c +index f32ae69..119fe5a 100644 +--- a/jack-dssi-host/jack-dssi-host.c ++++ b/jack-dssi-host/jack-dssi-host.c +@@ -119,7 +119,7 @@ LADSPA_Data get_port_default(const LADSPA_Descriptor *plugin, int port); + void osc_error(int num, const char *m, const char *path); + + int osc_message_handler(const char *path, const char *types, lo_arg **argv, int +- argc, void *data, void *user_data) ; ++ argc, struct lo_message_ *data, void *user_data) ; + int osc_debug_handler(const char *path, const char *types, lo_arg **argv, int + argc, void *data, void *user_data) ; + +@@ -1919,7 +1919,7 @@ int osc_debug_handler(const char *path, const char *types, lo_arg **argv, + } + + int osc_message_handler(const char *path, const char *types, lo_arg **argv, +- int argc, void *data, void *user_data) ++ int argc, struct lo_message_ *data, void *user_data) + { + int i; + d3h_instance_t *instance = NULL; diff --git a/pkgs/by-name/ds/dssi/package.nix b/pkgs/by-name/ds/dssi/package.nix index 9e55c6f66a35f..0e56190f1ac1b 100644 --- a/pkgs/by-name/ds/dssi/package.nix +++ b/pkgs/by-name/ds/dssi/package.nix @@ -27,6 +27,10 @@ stdenv.mkDerivation rec { sha256 = "0kl1hzhb7cykzkrqcqgq1dk4xcgrcxv0jja251aq4z4l783jpj7j"; }; + patches = [ + ./dssi-liblo.patch + ]; + nativeBuildInputs = [ autoconf automake