[proaudio] ac3jack-2.0.3-r2: fixing r1 ebuild

[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]


Compilation fixed.

--- /var/lib/layman/proaudio/media-sound/ac3jack/ac3jack-2.0.3-r1.ebuild
2015-09-30 13:16:54.680137295 +0500
+++ /usr/local/portage/media-sound/ac3jack/ac3jack-2.0.3-r2.ebuild
2016-04-23 23:36:36.964120463 +0500 @@ -27,6 +27,7 @@

 src_prepare() {
        epatch "${FILESDIR}"/${P}-compile-fix.patch
+       epatch "${FILESDIR}"/${P}-compile-fix2.patch
 }

 src_configure() {
--- old/src/encoder.cpp	2008-11-09 05:52:25.000000000 +0500
+++ new/src/encoder.cpp	2013-11-23 18:57:52.991015659 +0600
@@ -100,7 +100,7 @@
 	// return number bytes written to ac3buf, or -1 on error
 	int ret;
 
-	ret = aften_encode_frame (&_aften_context, ac3buf, samplebuf, count);
+	ret = aften_encode_frame (&_aften_context, ac3buf, samplebuf);
 
 	return ret;
 }


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/