From d3e4576cfb3aae665c79b2378fb0dcd1f90bdde3 Mon Sep 17 00:00:00 2001 From: sbd Date: Mon, 2 Jan 2012 04:06:24 +0000 Subject: Use a C not a c++ comment in alsa/pcm.h. The c++ comment causes a phrase error with the file and the autoconf header usability test to fail. Bump PKGREVISION --- audio/alsa-lib/Makefile | 3 ++- audio/alsa-lib/distinfo | 3 ++- audio/alsa-lib/patches/patch-include_pcm.h | 14 ++++++++++++++ 3 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 audio/alsa-lib/patches/patch-include_pcm.h (limited to 'audio/alsa-lib') diff --git a/audio/alsa-lib/Makefile b/audio/alsa-lib/Makefile index 55f2375a9a1..1d5454fba90 100644 --- a/audio/alsa-lib/Makefile +++ b/audio/alsa-lib/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.7 2010/02/16 15:40:06 wiz Exp $ +# $NetBSD: Makefile,v 1.8 2012/01/02 04:06:24 sbd Exp $ # DISTNAME= alsa-lib-1.0.22 +PKG_REVISION= 1 CATEGORIES= audio MASTER_SITES= ftp://ftp.alsa-project.org/pub/lib/ EXTRACT_SUFX= .tar.bz2 diff --git a/audio/alsa-lib/distinfo b/audio/alsa-lib/distinfo index ef1ab6462ab..1d91c05c16a 100644 --- a/audio/alsa-lib/distinfo +++ b/audio/alsa-lib/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.8 2010/02/16 15:40:06 wiz Exp $ +$NetBSD: distinfo,v 1.9 2012/01/02 04:06:24 sbd Exp $ SHA1 (alsa-lib-1.0.22.tar.bz2) = d3b6c740c23b8d113a8d02da2a9fd61f5d1a8a44 RMD160 (alsa-lib-1.0.22.tar.bz2) = 4dbc3f9550f8ba01535ad3cfd8f0a8140f897e81 @@ -40,3 +40,4 @@ SHA1 (patch-bh) = 4c927eaa0f4fd38934433fe7480b62972ca52634 SHA1 (patch-bi) = b5038db277068034281787c0072201beae8df8ff SHA1 (patch-bj) = 5b7a36747e57e41eddb05cd1b1d9771a36b0c4f7 SHA1 (patch-bk) = 7740eea6a0d4a8ce3db3b93b2af5faacdb9424b1 +SHA1 (patch-include_pcm.h) = 46748bcecbe30c9a2e41d91e1196bbecf885c6f4 diff --git a/audio/alsa-lib/patches/patch-include_pcm.h b/audio/alsa-lib/patches/patch-include_pcm.h new file mode 100644 index 00000000000..27b7deca2c9 --- /dev/null +++ b/audio/alsa-lib/patches/patch-include_pcm.h @@ -0,0 +1,14 @@ +$NetBSD: patch-include_pcm.h,v 1.1 2012/01/02 04:06:24 sbd Exp $ + +--- include/pcm.h.orig 2009-12-16 15:18:51.000000000 +0000 ++++ include/pcm.h +@@ -456,7 +456,9 @@ int snd_pcm_wait(snd_pcm_t *pcm, int tim + int snd_pcm_link(snd_pcm_t *pcm1, snd_pcm_t *pcm2); + int snd_pcm_unlink(snd_pcm_t *pcm); + ++/* + //int snd_pcm_mixer_element(snd_pcm_t *pcm, snd_mixer_t *mixer, snd_mixer_elem_t **elem); ++ */ + + /* + * application helpers - these functions are implemented on top -- cgit v1.2.3