From 0035feff75246ecf39217e893ce5867e3cd3ba5f Mon Sep 17 00:00:00 2001 From: oreo639 Date: Wed, 30 Jul 2025 03:56:11 -0700 Subject: [PATCH] csound: rebuild for portmidi 2.0.x --- srcpkgs/csound/patches/gcc14.patch | 55 ++++++++++++++++++++++++++++++ srcpkgs/csound/template | 2 +- 2 files changed, 56 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/csound/patches/gcc14.patch diff --git a/srcpkgs/csound/patches/gcc14.patch b/srcpkgs/csound/patches/gcc14.patch new file mode 100644 index 00000000000..3dd827cf35a --- /dev/null +++ b/srcpkgs/csound/patches/gcc14.patch @@ -0,0 +1,55 @@ +From 596667daba1ed99eda048e491ff8f36200f09429 Mon Sep 17 00:00:00 2001 +From: vlazzarini +Date: Sat, 3 Jun 2023 18:06:59 +0100 +Subject: [PATCH] fixing liblo calls + +--- + Opcodes/OSC.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/Opcodes/OSC.c b/Opcodes/OSC.c +index 4868a04c5e0..b37f5dac1e6 100644 +--- a/Opcodes/OSC.c ++++ b/Opcodes/OSC.c +@@ -483,7 +483,7 @@ static int32_t OSCcounter(CSOUND *csound, OSCcount *p) + } + + static int32_t OSC_handler(const char *path, const char *types, +- lo_arg **argv, int32_t argc, void *data, void *p) ++ lo_arg **argv, int32_t argc, lo_message data, void *p) + { + IGN(argc); IGN(data); + OSC_PORT *pp = (OSC_PORT*) p; +@@ -548,7 +548,7 @@ static int32_t OSC_handler(const char *path, const char *types, + case 'b': + { + int32_t len = +- lo_blobsize((lo_blob*)argv[i]); ++ lo_blobsize((lo_blob)argv[i]); + m->args[i].blob = + csound->Malloc(csound,len); + memcpy(m->args[i].blob, argv[i], len); + +From 2a071ae8ca89bc21b5c80037f8c95a01bb670ac9 Mon Sep 17 00:00:00 2001 +From: John ffitch +Date: Tue, 31 Oct 2023 15:11:03 +0000 +Subject: [PATCH] type mismatch in OSC + +--- + Opcodes/OSC.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Opcodes/OSC.c b/Opcodes/OSC.c +index c67c35e6c9e..ac271c62391 100644 +--- a/Opcodes/OSC.c ++++ b/Opcodes/OSC.c +@@ -965,7 +965,7 @@ static int32_t OSC_list(CSOUND *csound, OSCLISTEN *p) + /* ******** ARRAY VERSION **** EXPERIMENTAL *** */ + + static int32_t OSC_ahandler(const char *path, const char *types, +- lo_arg **argv, int32_t argc, void *data, void *p) ++ lo_arg **argv, int32_t argc, lo_message data, void *p) + { + IGN(argc); IGN(data); + OSC_PORT *pp = (OSC_PORT*) p; + diff --git a/srcpkgs/csound/template b/srcpkgs/csound/template index 0b6e8b49da1..b55e2c76646 100644 --- a/srcpkgs/csound/template +++ b/srcpkgs/csound/template @@ -1,7 +1,7 @@ # Template file for 'csound' pkgname=csound version=6.18.1 -revision=4 +revision=5 build_style=cmake configure_args=" -DLUA_MODULE_INSTALL_DIR=${XBPS_CROSS_BASE}/usr/lib/lua/5.1