From 14f912c82cca7aa8c792776cdf443dea8e7f5a6c Mon Sep 17 00:00:00 2001 From: JkktBkkt Date: Thu, 24 Jul 2025 12:17:53 +0300 Subject: [PATCH] dssi: fix gcc14 compat, alsa include --- srcpkgs/dssi/patches/alsa-include.patch | 13 ++++++++ .../patches/fix-incompatible-pointer.patch | 33 +++++++++++++++++++ srcpkgs/dssi/template | 2 +- 3 files changed, 47 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/dssi/patches/alsa-include.patch create mode 100644 srcpkgs/dssi/patches/fix-incompatible-pointer.patch diff --git a/srcpkgs/dssi/patches/alsa-include.patch b/srcpkgs/dssi/patches/alsa-include.patch new file mode 100644 index 00000000000..ed431a2a2ca --- /dev/null +++ b/srcpkgs/dssi/patches/alsa-include.patch @@ -0,0 +1,13 @@ +diff --git a/dssi/dssi.h b/dssi/dssi.h +index fe4a20b36b1..d8a8aee4f00 100644 +--- a/dssi/dssi.h ++++ b/dssi/dssi.h +@@ -25,7 +25,7 @@ + #define DSSI_INCLUDED + + #include +-#include ++#include + + #define DSSI_VERSION "1.0" + #define DSSI_VERSION_MAJOR 1 diff --git a/srcpkgs/dssi/patches/fix-incompatible-pointer.patch b/srcpkgs/dssi/patches/fix-incompatible-pointer.patch new file mode 100644 index 00000000000..7b6da2615cf --- /dev/null +++ b/srcpkgs/dssi/patches/fix-incompatible-pointer.patch @@ -0,0 +1,33 @@ +Source: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8edb9a54a2fd3276396f713745da0a4674e4799 +Modified to use public lo_message type directly instead of non-exported struct lo_message_ *. + +From b8edb9a54a2fd3276396f713745da0a4674e4799 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Miroslav=20=C5=A0ulc?= +Date: Sat, 6 Jul 2024 12:35:11 +0200 +Subject: [PATCH] media-libs/dssi: fixed incompatible pointer +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Closes: https://bugs.gentoo.org/925497 +Signed-off-by: Miroslav Ć ulc +--- 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, 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, lo_message data, void *user_data) + { + int i; + d3h_instance_t *instance = NULL; diff --git a/srcpkgs/dssi/template b/srcpkgs/dssi/template index 0a53d93ea42..950a56bc5c4 100644 --- a/srcpkgs/dssi/template +++ b/srcpkgs/dssi/template @@ -1,7 +1,7 @@ # Template file for 'dssi' pkgname=dssi version=1.1.1 -revision=9 +revision=10 build_style=gnu-configure hostmakedepends="pkg-config" makedepends="