diff options
author | Christian Weisgerber <naddy@FreeBSD.org> | 2010-06-06 20:39:21 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@FreeBSD.org> | 2010-06-06 20:39:21 +0000 |
commit | f613ac049d40272c3b27a76dbab7f6723f2a2ba2 (patch) | |
tree | e62b67c39f729f55f17b68f6438f9f1beeadd10c /audio/cmus | |
parent | Update to 2.30.2.0. (diff) |
Bump PORTREVISION after libao update and handle API incompatibility.
Notes
Notes:
svn path=/head/; revision=255956
Diffstat (limited to 'audio/cmus')
-rw-r--r-- | audio/cmus/Makefile | 2 | ||||
-rw-r--r-- | audio/cmus/files/patch-ao.c | 10 |
2 files changed, 11 insertions, 1 deletions
diff --git a/audio/cmus/Makefile b/audio/cmus/Makefile index df7666e7a8d0..436634e1ee80 100644 --- a/audio/cmus/Makefile +++ b/audio/cmus/Makefile @@ -7,7 +7,7 @@ PORTNAME= cmus PORTVERSION= 2.3.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= audio MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} diff --git a/audio/cmus/files/patch-ao.c b/audio/cmus/files/patch-ao.c new file mode 100644 index 000000000000..74c666053891 --- /dev/null +++ b/audio/cmus/files/patch-ao.c @@ -0,0 +1,10 @@ +--- ao.c.orig 2010-06-05 20:09:57.000000000 +0200 ++++ ao.c 2010-06-05 20:10:36.000000000 +0200 +@@ -71,6 +71,7 @@ static int op_ao_open(sample_format_t sf + return -OP_ERROR_ERRNO; + } + ++ memset(&format, 0, sizeof(format)); + format.bits = sf_get_bits(sf); + format.rate = sf_get_rate(sf); + format.channels = sf_get_channels(sf); |