pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/wmmixer wmmixer: Fix building on illumos



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c9bb2bb5cfe2
branches:  trunk
changeset: 377285:c9bb2bb5cfe2
user:      nia <nia%pkgsrc.org@localhost>
date:      Mon Apr 18 18:47:56 2022 +0000

description:
wmmixer: Fix building on illumos

diffstat:

 audio/wmmixer/distinfo               |   3 ++-
 audio/wmmixer/patches/patch-mixctl.h |  17 +++++++++++++++++
 2 files changed, 19 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r 187ae24df4b4 -r c9bb2bb5cfe2 audio/wmmixer/distinfo
--- a/audio/wmmixer/distinfo    Mon Apr 18 18:47:47 2022 +0000
+++ b/audio/wmmixer/distinfo    Mon Apr 18 18:47:56 2022 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.13 2021/10/26 09:59:35 nia Exp $
+$NetBSD: distinfo,v 1.14 2022/04/18 18:47:56 nia Exp $
 
 BLAKE2s (wmmixer-1.9.tar.gz) = 48e1910f081412f4488cbe696c8f7d39520b8318482ae84d1e62f354df30bdab
 SHA512 (wmmixer-1.9.tar.gz) = 3e1ac2185daad89f8e51ca45c8b96aa3d9791cf9889484fc9873d1111534cf457cfd598296b01a0fa67b2e2c4f4ecea2b9ed3890ef416548342187a1f5dad44d
 Size (wmmixer-1.9.tar.gz) = 103603 bytes
 SHA1 (patch-mixctl.cc) = 6301b07ea04d213c1c1ff6677afcf273d85328ce
+SHA1 (patch-mixctl.h) = 4a455c606e2a4f82916a99570babed756b06151c
diff -r 187ae24df4b4 -r c9bb2bb5cfe2 audio/wmmixer/patches/patch-mixctl.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/wmmixer/patches/patch-mixctl.h      Mon Apr 18 18:47:56 2022 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-mixctl.h,v 1.1 2022/04/18 18:47:56 nia Exp $
+
+Add illumos/Solaris to the list of platforms that have the OSS
+header in sys/.  Of course, most implementations have a copy in
+sys/ (including NetBSD), but never mind that...
+
+--- mixctl.h.orig      2021-03-03 22:36:51.000000000 +0000
++++ mixctl.h
+@@ -23,7 +23,7 @@
+ #ifdef __NetBSD__
+ #include <soundcard.h>
+ #endif
+-#if defined (__FreeBSD__) || defined(__FreeBSD_kernel__)
++#if defined (__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__sun)
+ #include <sys/soundcard.h>
+ #endif
+ #ifdef __linux__



Home | Main Index | Thread Index | Old Index