diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2008-06-16 10:42:16 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2008-06-16 10:42:16 +0000 |
commit | 37030d860ae0e2cd0a5d11caad9c1731f6014b65 (patch) | |
tree | 9b401bc3441e4cbf2f12ce77a63602e0c35fee3b /media-libs/a52dec/files | |
parent | Move the patch to the mirrors as it's bigger than 20K. (diff) | |
download | historical-37030d860ae0e2cd0a5d11caad9c1731f6014b65.tar.gz historical-37030d860ae0e2cd0a5d11caad9c1731f6014b65.tar.bz2 historical-37030d860ae0e2cd0a5d11caad9c1731f6014b65.zip |
Fix the test building with a slightly different patch, that doesn't expose a conditional during configure (and thus an USE flag).
Package-Manager: portage-2.1.5.5
Diffstat (limited to 'media-libs/a52dec/files')
-rw-r--r-- | media-libs/a52dec/files/a52dec-0.7.4-tests-optional.patch | 40 |
1 files changed, 9 insertions, 31 deletions
diff --git a/media-libs/a52dec/files/a52dec-0.7.4-tests-optional.patch b/media-libs/a52dec/files/a52dec-0.7.4-tests-optional.patch index d8c647534401..6958ef7b4904 100644 --- a/media-libs/a52dec/files/a52dec-0.7.4-tests-optional.patch +++ b/media-libs/a52dec/files/a52dec-0.7.4-tests-optional.patch @@ -1,32 +1,10 @@ -diff -NrU5 a52dec-0.7.4.orig/configure.in a52dec-0.7.4/configure.in ---- a52dec-0.7.4.orig/configure.in 2008-06-13 16:13:46.000000000 +0200 -+++ a52dec-0.7.4/configure.in 2008-06-13 16:12:20.000000000 +0200 -@@ -106,10 +106,16 @@ - elif test x"$TENDRA" = x"yes"; then - dnl TenDRA portability checking compiler - CFLAGS="$CFLAGS -DTenDRA_check" - fi +Index: a52dec-0.7.4/test/Makefile.am +=================================================================== +--- a52dec-0.7.4.orig/test/Makefile.am ++++ a52dec-0.7.4/test/Makefile.am +@@ -1,4 +1,4 @@ +-noinst_PROGRAMS = compare ++check_PROGRAMS = compare + compare_SOURCES = compare.c + compare_LDADD = -lm -+dnl Build tests? -+AC_ARG_ENABLE(tests, -+ AS_HELP_STRING([--disable-tests], [Don't build tests during make]),, -+ enable_tests="yes") -+AM_CONDITIONAL(TESTS, [test "$enable_tests" = "yes"]) -+ - builtin([include],[src/configure.incl]) - - AC_C_ATTRIBUTE_ALIGNED - - AC_OUTPUT -diff -NrU5 a52dec-0.7.4.orig/Makefile.am a52dec-0.7.4/Makefile.am ---- a52dec-0.7.4.orig/Makefile.am 2008-06-13 16:13:46.000000000 +0200 -+++ a52dec-0.7.4/Makefile.am 2008-06-13 16:12:33.000000000 +0200 -@@ -1,3 +1,7 @@ --SUBDIRS = autotools include doc liba52 libao src vc++ test -+SUBDIRS = autotools include doc liba52 libao src vc++ -+ -+if TESTS -+SUBDIRS += test -+endif - - EXTRA_DIST = HISTORY bootstrap |