Skip to content

Commit

Permalink
ossxmix: Improve layout on NetBSD.
Browse files Browse the repository at this point in the history
Bump revision for code change.
  • Loading branch information
alarixnia committed May 21, 2024
1 parent 44a6d84 commit d052f33
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 3 deletions.
4 changes: 2 additions & 2 deletions audio/ossxmix/Makefile
Original file line number Diff line number Diff line change
@@ -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}
Expand Down
3 changes: 2 additions & 1 deletion audio/ossxmix/distinfo
Original file line number Diff line number Diff line change
@@ -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
18 changes: 18 additions & 0 deletions audio/ossxmix/patches/patch-cmd_ossxmix_ossxmix.c
Original file line number Diff line number Diff line change
@@ -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;

0 comments on commit d052f33

Please sign in to comment.