diff options
author | naddy <naddy@FreeBSD.org> | 2010-06-07 04:39:21 +0800 |
---|---|---|
committer | naddy <naddy@FreeBSD.org> | 2010-06-07 04:39:21 +0800 |
commit | a7e23ef2423b94523671d838b70763ecfea3ca60 (patch) | |
tree | 3d3fdf131c6f5d30a25430d16a62f0d82e33445f /audio/cmus | |
parent | 14d2f864caf57bceba3f0ac72ea827fafd27743d (diff) | |
download | freebsd-ports-gnome-a7e23ef2423b94523671d838b70763ecfea3ca60.tar.gz freebsd-ports-gnome-a7e23ef2423b94523671d838b70763ecfea3ca60.tar.zst freebsd-ports-gnome-a7e23ef2423b94523671d838b70763ecfea3ca60.zip |
Bump PORTREVISION after libao update and handle API incompatibility.
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); |