diff options
author | nia <nia@pkgsrc.org> | 2022-04-18 18:47:56 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2022-04-18 18:47:56 +0000 |
commit | f9a0080d745b911a1f135093b0c26396b0d70b0c (patch) | |
tree | 7643d1789573ea052774ee608fba737ab2216ab0 | |
parent | 492e8068ba19f86e683cb0b770d9f2bf39559cff (diff) | |
download | pkgsrc-f9a0080d745b911a1f135093b0c26396b0d70b0c.tar.gz |
wmmixer: Fix building on illumos
-rw-r--r-- | audio/wmmixer/distinfo | 3 | ||||
-rw-r--r-- | audio/wmmixer/patches/patch-mixctl.h | 17 |
2 files changed, 19 insertions, 1 deletions
diff --git a/audio/wmmixer/distinfo b/audio/wmmixer/distinfo index d9ba60067ef..d5baefc3c3e 100644 --- a/audio/wmmixer/distinfo +++ b/audio/wmmixer/distinfo @@ -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 --git a/audio/wmmixer/patches/patch-mixctl.h b/audio/wmmixer/patches/patch-mixctl.h new file mode 100644 index 00000000000..b598dff86d5 --- /dev/null +++ b/audio/wmmixer/patches/patch-mixctl.h @@ -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__ |