summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorsalo <salo@pkgsrc.org>2002-11-19 13:04:38 +0000
committersalo <salo@pkgsrc.org>2002-11-19 13:04:38 +0000
commit7079622fc8b0b54dec59d85bc944296714557e0a (patch)
tree09c8cb0e407a3828a6e3a414cdf2067448067c6e /audio
parentce75b048b449f4e02b4748d95e95bd01f5041836 (diff)
downloadpkgsrc-7079622fc8b0b54dec59d85bc944296714557e0a.tar.gz
Define Solaris specific AUDIO_ENCODING_SLINEAR and AUDIO_ENCODING_ULINEAR.
A patch from Jonathan Perkin via PR 18791
Diffstat (limited to 'audio')
-rw-r--r--audio/libmikmod/distinfo4
-rw-r--r--audio/libmikmod/patches/patch-ad17
2 files changed, 15 insertions, 6 deletions
diff --git a/audio/libmikmod/distinfo b/audio/libmikmod/distinfo
index 43b78c37bd8..ee7a91db057 100644
--- a/audio/libmikmod/distinfo
+++ b/audio/libmikmod/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.6 2002/08/31 03:47:53 wiz Exp $
+$NetBSD: distinfo,v 1.7 2002/11/19 13:04:38 salo Exp $
SHA1 (libmikmod-3.1.10.tar.gz) = 8d4daec66b17e556e8977cb077c4186111808e0d
Size (libmikmod-3.1.10.tar.gz) = 528929 bytes
SHA1 (patch-aa) = bfff6a9a77238e159e039bfa7d3f590bce8c9c9c
SHA1 (patch-ab) = afda9a7d29e70e42c037163ac5b2d2742c77daab
SHA1 (patch-ac) = 97554f00e4a4823e7a90f742679044fb8f887167
-SHA1 (patch-ad) = 6b5df049ef7ea3c8a527de59361a17a5b64829d6
+SHA1 (patch-ad) = f2fc607efccd4d883ce6b642ab644f0e7bf747f6
diff --git a/audio/libmikmod/patches/patch-ad b/audio/libmikmod/patches/patch-ad
index 8c72744d5cc..e6364b0a69e 100644
--- a/audio/libmikmod/patches/patch-ad
+++ b/audio/libmikmod/patches/patch-ad
@@ -1,8 +1,8 @@
-$NetBSD: patch-ad,v 1.6 2002/08/25 19:21:52 jlam Exp $
+$NetBSD: patch-ad,v 1.7 2002/11/19 13:04:38 salo Exp $
---- drivers/drv_sun.c.orig Sun Jan 13 00:58:57 2002
-+++ drivers/drv_sun.c Thu Jul 11 02:12:04 2002
-@@ -79,9 +79,9 @@
+--- drivers/drv_sun.c.orig Sun Jan 13 01:58:57 2002
++++ drivers/drv_sun.c Tue Nov 19 05:22:18 2002
+@@ -79,12 +79,18 @@
#endif
/* Sound device to open */
@@ -14,3 +14,12 @@ $NetBSD: patch-ad,v 1.6 2002/08/25 19:21:52 jlam Exp $
#define SOUNDDEVICE "/dev/audio"
#endif
++/* Solaris */
++#ifdef SOLARIS
++#define AUDIO_ENCODING_SLINEAR AUDIO_ENCODING_LINEAR
++#define AUDIO_ENCODING_ULINEAR AUDIO_ENCODING_LINEAR8
++#endif
++
+ /* Compatibility defines, for old *BSD or SunOS systems */
+ #ifndef AUDIO_ENCODING_PCM16
+ #define AUDIO_ENCODING_PCM16 AUDIO_ENCODING_LINEAR