[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#423476: Internal portaudio v19 libraries crash against JACK on AMD64



Package: audacity
Version: 1.3.2-2
Tags: patch
Severity: wishlist

   The JACK interface of the internal portaudio libraries used by
audacity do not have proper memory bounds checking for 64-bit
architectures (see bug 406754 for discussion).  The decision taken by
the portaudio maintainer appears to have been to disable JACK for
architectures other than i386 and powerpc.  Please consider the
attached patch as a similar workaround for the audacity package, until
such time as this issue is fullly addressed.

   Thank you.

--
Emmet HIKORY
diff -u audacity-1.3.2/debian/rules audacity-1.3.2/debian/rules
--- audacity-1.3.2/debian/rules
+++ audacity-1.3.2/debian/rules
@@ -5,6 +5,7 @@
 include /usr/share/cdbs/1/rules/simple-patchsys.mk
 include /usr/share/cdbs/1/rules/utils.mk
 
+ifeq (i386,$(DEB_HOST_ARCH))
 DEB_CONFIGURE_EXTRA_FLAGS := --with-libsndfile=system \
                              --with-vorbis=system \
 			     --with-id3tag=system \
@@ -13,6 +14,28 @@
 			     --with-expat=system \
 			     --with-portaudio=v19 \
 			     --enable-unicode
+else
+ifeq (powerpc,$(DEB_HOST_ARCH))
+DEB_CONFIGURE_EXTRA_FLAGS := --with-libsndfile=system \
+                             --with-vorbis=system \
+			     --with-id3tag=system \
+			     --with-libmad=system \
+			     --with-libflac=system \
+			     --with-expat=system \
+			     --with-portaudio=v19 \
+			     --enable-unicode
+else
+DEB_CONFIGURE_EXTRA_FLAGS := --with-libsndfile=system \
+                             --with-vorbis=system \
+			     --with-id3tag=system \
+			     --with-libmad=system \
+			     --with-libflac=system \
+			     --with-expat=system \
+			     --with-portaudio=v19 \
+			     --with-jack=no \
+			     --enable-unicode
+endif
+endif
 
 DEB_COMPRESS_EXCLUDE := *.htb
 

Reply to: