diff options
author | ryoon <ryoon@pkgsrc.org> | 2014-06-25 15:26:40 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2014-06-25 15:26:40 +0000 |
commit | 5472c74977ccbc92170344b3db3db3d11aaeefe8 (patch) | |
tree | 02c7eb29da01cd82a46bb75a9879e4ae4373cfd6 /audio/pulseaudio | |
parent | 7b7282e25ca8b14a1019b6ac60fc368dbea80db3 (diff) | |
download | pkgsrc-5472c74977ccbc92170344b3db3db3d11aaeefe8.tar.gz |
Bump PKGREVISION
Use /dev/audio instead of /dev/sound under NetBSD.
This change fixes unstable audio output.
O.k. by wiz@.
Diffstat (limited to 'audio/pulseaudio')
-rw-r--r-- | audio/pulseaudio/Makefile | 3 | ||||
-rw-r--r-- | audio/pulseaudio/distinfo | 6 | ||||
-rw-r--r-- | audio/pulseaudio/patches/patch-src_modules_module-detect.c | 6 | ||||
-rw-r--r-- | audio/pulseaudio/patches/patch-src_modules_oss_module-oss.c | 4 |
4 files changed, 10 insertions, 9 deletions
diff --git a/audio/pulseaudio/Makefile b/audio/pulseaudio/Makefile index 10bd46ce5b9..6a148fe9b25 100644 --- a/audio/pulseaudio/Makefile +++ b/audio/pulseaudio/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.90 2014/06/18 11:12:05 jperkin Exp $ +# $NetBSD: Makefile,v 1.91 2014/06/25 15:26:40 ryoon Exp $ DISTNAME= pulseaudio-5.0 +PKGREVISION= 1 CATEGORIES= audio MASTER_SITES= http://freedesktop.org/software/pulseaudio/releases/ EXTRACT_SUFX= .tar.xz diff --git a/audio/pulseaudio/distinfo b/audio/pulseaudio/distinfo index 1f37043ca33..3207a703823 100644 --- a/audio/pulseaudio/distinfo +++ b/audio/pulseaudio/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.43 2014/06/16 13:26:25 jperkin Exp $ +$NetBSD: distinfo,v 1.44 2014/06/25 15:26:40 ryoon Exp $ SHA1 (pulseaudio-5.0.tar.xz) = e420931a0b9cf37331cd06e30ba415046317ab85 RMD160 (pulseaudio-5.0.tar.xz) = 4ba13e92c58f8ada4542d521131094a55e3b6991 @@ -9,8 +9,8 @@ SHA1 (patch-src_Makefile.am) = debe40be5d1155f6cb0d5ae90119dece4e090b02 SHA1 (patch-src_Makefile.in) = 21daf6069ae067dd235de6d43a013e4e70bbca78 SHA1 (patch-src_daemon_caps.c) = e819c26cd3d91d93ae5877725ed6a1b59183d89a SHA1 (patch-src_daemon_main.c) = e87f764d18345056210427bea52bf27f3f2999b6 -SHA1 (patch-src_modules_module-detect.c) = 1679519bc8a46a85790babe9c729850d10b9da6c -SHA1 (patch-src_modules_oss_module-oss.c) = 43a0c2eeb5a9a37c7a231a531caa3658fe8d49b0 +SHA1 (patch-src_modules_module-detect.c) = 25c803ee2d5addf9dbf522d81bd422dc201d4550 +SHA1 (patch-src_modules_oss_module-oss.c) = 399ac178ae832619253ce8dd985edbed23db86e7 SHA1 (patch-src_pulsecore_sample-util.h) = b6bd83cfdc1c337453d9a728f07205a2cf0af831 SHA1 (patch-src_pulsecore_svolume__mmx.c) = b500530bcc9792b97050c7fa6e47639ac8e261a2 SHA1 (patch-src_pulsecore_svolume__sse.c) = 07da6faa8529d7308d8a6a9f11958ef9faf46409 diff --git a/audio/pulseaudio/patches/patch-src_modules_module-detect.c b/audio/pulseaudio/patches/patch-src_modules_module-detect.c index e85640674df..bc26eb0ff14 100644 --- a/audio/pulseaudio/patches/patch-src_modules_module-detect.c +++ b/audio/pulseaudio/patches/patch-src_modules_module-detect.c @@ -1,4 +1,4 @@ -$NetBSD: patch-src_modules_module-detect.c,v 1.1 2014/06/09 13:08:19 ryoon Exp $ +$NetBSD: patch-src_modules_module-detect.c,v 1.2 2014/06/25 15:26:40 ryoon Exp $ Hack to set proper sound device on NetBSD. @@ -10,11 +10,11 @@ Hack to set proper sound device on NetBSD. +#if defined(__NetBSD__) +/* -+ * Assume primary sound device is used (/dev/sound). ++ * Assume primary sound device is used (/dev/audio). + * And only primary sound device will be used (n=1). + */ + char args[64]; -+ pa_snprintf(args, sizeof(args), "device=/dev/sound"); ++ pa_snprintf(args, sizeof(args), "device=/dev/audio"); + if (!pa_module_load(c, "module-oss", args)) + exit(1); + n = 1; diff --git a/audio/pulseaudio/patches/patch-src_modules_oss_module-oss.c b/audio/pulseaudio/patches/patch-src_modules_oss_module-oss.c index 6b63725d719..3647a772b23 100644 --- a/audio/pulseaudio/patches/patch-src_modules_oss_module-oss.c +++ b/audio/pulseaudio/patches/patch-src_modules_oss_module-oss.c @@ -1,4 +1,4 @@ -$NetBSD: patch-src_modules_oss_module-oss.c,v 1.1 2014/06/09 13:08:19 ryoon Exp $ +$NetBSD: patch-src_modules_oss_module-oss.c,v 1.2 2014/06/25 15:26:40 ryoon Exp $ Set proper sound device default on NetBSD. @@ -9,7 +9,7 @@ Set proper sound device default on NetBSD. #endif +#if defined(__NetBSD__) -+#define DEFAULT_DEVICE "/dev/sound" ++#define DEFAULT_DEVICE "/dev/audio" +#else /* Linux */ #define DEFAULT_DEVICE "/dev/dsp" +#endif |