Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dssi: fix incompatible pointer type caused by #365887 #372307

Merged
merged 1 commit into from
Jan 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions pkgs/by-name/ds/dssi/dssi-liblo.patch
Original file line number Diff line number Diff line change
@@ -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;
4 changes: 4 additions & 0 deletions pkgs/by-name/ds/dssi/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ stdenv.mkDerivation rec {
sha256 = "0kl1hzhb7cykzkrqcqgq1dk4xcgrcxv0jja251aq4z4l783jpj7j";
};

patches = [
./dssi-liblo.patch
];

nativeBuildInputs = [
autoconf
automake
Expand Down