diff --git a/lib-src/audacity-patches.txt b/lib-src/audacity-patches.txt index dffaa895b..eeed75963 100644 --- a/lib-src/audacity-patches.txt +++ b/lib-src/audacity-patches.txt @@ -267,7 +267,7 @@ twolame http://www.twolame.org/ MPEG I layer 2 audio encoding library used for MP2 exports Version in Audacity SVN: 0.3.13 -Patches: None +Patches: fix-tests.patch: Terminate AM_TESTS_ENVIRONMENT by a semicolon. AM_MAINTAINER_MODE has been added to configure.ac to disable autotools rebuilds by default Upstream Version: 0.3.13 diff --git a/lib-src/twolame/fix-tests.patch b/lib-src/twolame/fix-tests.patch new file mode 100644 index 000000000..30d2e4d36 --- /dev/null +++ b/lib-src/twolame/fix-tests.patch @@ -0,0 +1,16 @@ +Description: Terminate AM_TESTS_ENVIRONMENT by a semicolon. + The automake manual says: "the contents of a non-empty AM_TESTS_ENVIRONMENT + must be terminated by a semicolon." Without the semicolon, the perl command + will indefinitely wait for input from stdin. +Index: tests/Makefile.am +=================================================================== +--- tests/Makefile.am (revision 12957) ++++ tests/Makefile.am (working copy) +@@ -5,6 +5,6 @@ + TESTS_ENVIRONMENT = \ + TWOLAME_CMD="$(top_builddir)/frontend/twolame" \ + STWOLAME_CMD="$(top_builddir)/simplefrontend/stwolame" \ +- perl -w -Mstrict -MTest::Harness -e "runtests(@ARGV)" ++ perl -w -Mstrict -MTest::Harness -e "runtests(@ARGV)"; + + CLEANFILES = *.mp2 *.raw diff --git a/lib-src/twolame/tests/Makefile.am b/lib-src/twolame/tests/Makefile.am index 4a4066dc2..fc058effe 100644 --- a/lib-src/twolame/tests/Makefile.am +++ b/lib-src/twolame/tests/Makefile.am @@ -5,6 +5,6 @@ TESTS = $(dist_check_SCRIPTS) TESTS_ENVIRONMENT = \ TWOLAME_CMD="$(top_builddir)/frontend/twolame" \ STWOLAME_CMD="$(top_builddir)/simplefrontend/stwolame" \ - perl -w -Mstrict -MTest::Harness -e "runtests(@ARGV)" + perl -w -Mstrict -MTest::Harness -e "runtests(@ARGV)"; CLEANFILES = *.mp2 *.raw