Skip to content

Commit

Permalink
dssi: fix incompatible pointer type caused by #365887 (#372307)
Browse files Browse the repository at this point in the history
  • Loading branch information
7c6f434c authored Jan 9, 2025
2 parents 79b7a17 + 767f9f1 commit af05f69
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
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

0 comments on commit af05f69

Please sign in to comment.