diff --git a/audio/ossxmix/Makefile b/audio/ossxmix/Makefile index 1fde9fc238d5..1367d2d66df1 100644 --- a/audio/ossxmix/Makefile +++ b/audio/ossxmix/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.10 2024/04/07 07:33:33 wiz Exp $ +# $NetBSD: Makefile,v 1.11 2024/05/21 10:35:42 nia Exp $ -PKGREVISION= 7 +PKGREVISION= 8 .include "../../audio/ossinfo/Makefile.common" PKGNAME= ossxmix-${OSS_CMD_VER} diff --git a/audio/ossxmix/distinfo b/audio/ossxmix/distinfo index 3b2cd12dbfcb..fc3967f70bd6 100644 --- a/audio/ossxmix/distinfo +++ b/audio/ossxmix/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.3 2021/10/26 09:59:20 nia Exp $ +$NetBSD: distinfo,v 1.4 2024/05/21 10:35:42 nia Exp $ BLAKE2s (oss-v4.2-build2019-src-bsd.tar.bz2) = fa3aa8707d813de4e871ed276754893f0a5a96f9153d14501d961e2459086799 SHA512 (oss-v4.2-build2019-src-bsd.tar.bz2) = 9d43fa3e3abe4cf006cabfedf2c9fc51372f8cbe499c2e4bee6ba489291c31eb93b66b312054bcf92fc26df329bc3c7ef14a633fece8af38256bc7198d0c1556 Size (oss-v4.2-build2019-src-bsd.tar.bz2) = 1723557 bytes +SHA1 (patch-cmd_ossxmix_ossxmix.c) = 8ee0da82acf2711e40050f4416310c56a2a4d231 diff --git a/audio/ossxmix/patches/patch-cmd_ossxmix_ossxmix.c b/audio/ossxmix/patches/patch-cmd_ossxmix_ossxmix.c new file mode 100644 index 000000000000..e9b84ad13282 --- /dev/null +++ b/audio/ossxmix/patches/patch-cmd_ossxmix_ossxmix.c @@ -0,0 +1,18 @@ +$NetBSD: patch-cmd_ossxmix_ossxmix.c,v 1.1 2024/05/21 10:35:42 nia Exp $ + +Looks slightly better on NetBSD with the "legacy" orientation. + +--- cmd/ossxmix/ossxmix.c.orig 2024-05-21 10:30:26.876900607 +0000 ++++ cmd/ossxmix/ossxmix.c +@@ -895,7 +895,11 @@ load_devinfo (int dev) + GtkWidget *wid, *wid2, *gang, *rootwid = NULL, *pw = NULL, *frame, *box; + GtkWidget **widgets; + GtkObject *adjust, *adjust2; ++#ifdef __NetBSD__ ++ gboolean change_orient = FALSE, ori, * orient; ++#else + gboolean change_orient = TRUE, ori, * orient; ++#endif + gboolean expand, use_layout_b = FALSE; + + mi.dev = dev;