summaryrefslogtreecommitdiff
path: root/audio/darkice/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'audio/darkice/patches/patch-ac')
-rw-r--r--audio/darkice/patches/patch-ac15
1 files changed, 15 insertions, 0 deletions
diff --git a/audio/darkice/patches/patch-ac b/audio/darkice/patches/patch-ac
new file mode 100644
index 00000000000..bd0619b76e4
--- /dev/null
+++ b/audio/darkice/patches/patch-ac
@@ -0,0 +1,15 @@
+$NetBSD: patch-ac,v 1.3 2008/08/02 17:43:56 dholland Exp $
+
+--- src/TwoLameLibEncoder.cpp~ 2006-01-25 17:49:59.000000000 -0500
++++ src/TwoLameLibEncoder.cpp 2008-08-02 13:42:36.000000000 -0400
+@@ -116,9 +116,9 @@ TwoLameLibEncoder :: open ( void )
+ // ugly twolame returns -1 in a pointer on allocation errors
+ if ( !twolame_opts ) {
+ throw Exception( __FILE__, __LINE__,
+ "TwoLAME lib init error",
+- (int) twolame_opts);
++ /*(int) twolame_opts*/ /* why? */ 0);
+ }
+
+ if ( 0 > twolame_set_num_channels( twolame_opts, getInChannel()) ) {
+ throw Exception( __FILE__, __LINE__,