pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/wmsmixer wmsmixer: Simplify OSS header inclusion...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/062fef54155a
branches:  trunk
changeset: 385582:062fef54155a
user:      nia <nia%pkgsrc.org@localhost>
date:      Tue Sep 20 06:30:48 2022 +0000

description:
wmsmixer: Simplify OSS header inclusion situation.

Should help Solaris. I don't trust Linux to install the OSS header
in a sensible place any more, so that's the only one that's still
special-cased.

diffstat:

 audio/wmsmixer/distinfo               |   4 ++--
 audio/wmsmixer/patches/patch-ab       |  13 -------------
 audio/wmsmixer/patches/patch-mixctl.h |  23 +++++++++++++++++++++++
 3 files changed, 25 insertions(+), 15 deletions(-)

diffs (57 lines):

diff -r c7c5bdf43edb -r 062fef54155a audio/wmsmixer/distinfo
--- a/audio/wmsmixer/distinfo   Tue Sep 20 06:20:47 2022 +0000
+++ b/audio/wmsmixer/distinfo   Tue Sep 20 06:30:48 2022 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.8 2021/10/26 09:59:35 nia Exp $
+$NetBSD: distinfo,v 1.9 2022/09/20 06:30:48 nia Exp $
 
 BLAKE2s (wmsmixer-0.5.1.tar.gz) = 93f9149904deff7b9addadda90a4350e4e30a86de7fac2bd8e422a0ec08823d9
 SHA512 (wmsmixer-0.5.1.tar.gz) = 2731645addb9888b30cbfcaa1f9609c036855d3ee864628535fc5a0dd4c005d01b111bac3dd7f9d11f4794f55f22be65564ccafe598f098b13abdfa9277da299
 Size (wmsmixer-0.5.1.tar.gz) = 33350 bytes
 SHA1 (patch-aa) = 0db2abe3d917778545e420fe61e4cefce03ce0c6
-SHA1 (patch-ab) = 78ede51033648a4a79d884ebb3d5c6b0b5e9ba86
+SHA1 (patch-mixctl.h) = 1d239e7b2f5c16045fdd59546547cc8ab93b06d2
diff -r c7c5bdf43edb -r 062fef54155a audio/wmsmixer/patches/patch-ab
--- a/audio/wmsmixer/patches/patch-ab   Tue Sep 20 06:20:47 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-ab,v 1.1 2005/12/11 20:51:07 joerg Exp $
-
---- mixctl.h.orig      2005-12-11 20:44:55.000000000 +0000
-+++ mixctl.h
-@@ -18,7 +18,7 @@
- #ifdef __NetBSD__
- #include <soundcard.h>
- #endif
--#ifdef __FreeBSD__
-+#if defined(__FreeBSD__) || defined(__DragonFly__)
- #include <machine/soundcard.h>
- #endif
- #ifdef __linux__
diff -r c7c5bdf43edb -r 062fef54155a audio/wmsmixer/patches/patch-mixctl.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/wmsmixer/patches/patch-mixctl.h     Tue Sep 20 06:30:48 2022 +0000
@@ -0,0 +1,23 @@
+$NetBSD: patch-mixctl.h,v 1.1 2022/09/20 06:30:48 nia Exp $
+
+Simplify OSS header inclusion situation. Should help DragonFly, Solaris...
+
+--- mixctl.h.orig      2001-03-02 10:32:05.000000000 +0000
++++ mixctl.h
+@@ -15,14 +15,10 @@
+ #include <sys/stat.h>
+ #include <fcntl.h>
+ #include <unistd.h>
+-#ifdef __NetBSD__
+-#include <soundcard.h>
+-#endif
+-#ifdef __FreeBSD__
+-#include <machine/soundcard.h>
+-#endif
+ #ifdef __linux__
+ #include <linux/soundcard.h>
++#else
++#include <sys/soundcard.h>
+ #endif
+ 
+ class MixCtl



Home | Main Index | Thread Index | Old Index