summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2024-07-06 12:35:11 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2024-07-06 12:35:20 +0200
commitb8edb9a54a2fd3276396f713745da0a4674e4799 (patch)
tree3aca4f2abf36e9ddf820c424241ef23443532681 /media-libs/dssi
parentdev-tex/lgrind: fix ebuild variable order (diff)
downloadgentoo-b8edb9a54a2fd3276396f713745da0a4674e4799.tar.gz
gentoo-b8edb9a54a2fd3276396f713745da0a4674e4799.tar.bz2
gentoo-b8edb9a54a2fd3276396f713745da0a4674e4799.zip
media-libs/dssi: fixed incompatible pointer
Closes: https://bugs.gentoo.org/925497 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-libs/dssi')
-rw-r--r--media-libs/dssi/dssi-1.1.1-r2.ebuild1
-rw-r--r--media-libs/dssi/files/dssi-1.1.1-incompatible-pointer.patch20
2 files changed, 21 insertions, 0 deletions
diff --git a/media-libs/dssi/dssi-1.1.1-r2.ebuild b/media-libs/dssi/dssi-1.1.1-r2.ebuild
index 5729d158e932..d1be3db33b00 100644
--- a/media-libs/dssi/dssi-1.1.1-r2.ebuild
+++ b/media-libs/dssi/dssi-1.1.1-r2.ebuild
@@ -26,6 +26,7 @@ BDEPEND="virtual/pkgconfig"
PATCHES=(
"${FILESDIR}"/${PN}-1.1.1-no-werror.patch
+ "${FILESDIR}"/${PN}-1.1.1-incompatible-pointer.patch
)
src_prepare() {
diff --git a/media-libs/dssi/files/dssi-1.1.1-incompatible-pointer.patch b/media-libs/dssi/files/dssi-1.1.1-incompatible-pointer.patch
new file mode 100644
index 000000000000..0a453024d999
--- /dev/null
+++ b/media-libs/dssi/files/dssi-1.1.1-incompatible-pointer.patch
@@ -0,0 +1,20 @@
+--- 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;