public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in media-libs/a52dec/files: a52dec-0.7.4-tests-optional.patch
@ 2008-06-13 14:06 Peter Alfredsen (loki_val)
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Alfredsen (loki_val) @ 2008-06-13 14:06 UTC (permalink / raw
  To: gentoo-commits

loki_val    08/06/13 14:06:17

  Added:                a52dec-0.7.4-tests-optional.patch
  Log:
  No longer build tests if we don't need them. Bug #226343.
  (Portage version: 2.1.5.5)

Revision  Changes    Path
1.1                  media-libs/a52dec/files/a52dec-0.7.4-tests-optional.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/a52dec/files/a52dec-0.7.4-tests-optional.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/a52dec/files/a52dec-0.7.4-tests-optional.patch?rev=1.1&content-type=text/plain

Index: a52dec-0.7.4-tests-optional.patch
===================================================================
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 15:48:43.000000000 +0200
+++ a52dec-0.7.4/configure.in	2008-06-13 15:46:23.000000000 +0200
@@ -106,10 +106,16 @@
 elif test x"$TENDRA" = x"yes"; then
     dnl TenDRA portability checking compiler
     CFLAGS="$CFLAGS -DTenDRA_check"
 fi
 
+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 15:48:45.000000000 +0200
+++ a52dec-0.7.4/Makefile.am	2008-06-13 15:47:55.000000000 +0200
@@ -1,3 +1,7 @@
 SUBDIRS = autotools include doc liba52 libao src vc++ test
 
+if TESTS
+SUBDIRS += test
+endif
+
 EXTRA_DIST = HISTORY bootstrap



-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gentoo-commits] gentoo-x86 commit in media-libs/a52dec/files: a52dec-0.7.4-tests-optional.patch
@ 2008-06-13 14:16 Peter Alfredsen (loki_val)
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Alfredsen (loki_val) @ 2008-06-13 14:16 UTC (permalink / raw
  To: gentoo-commits

loki_val    08/06/13 14:16:22

  Modified:             a52dec-0.7.4-tests-optional.patch
  Log:
  Include the /right/ patch.
  (Portage version: 2.1.5.5)

Revision  Changes    Path
1.2                  media-libs/a52dec/files/a52dec-0.7.4-tests-optional.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/a52dec/files/a52dec-0.7.4-tests-optional.patch?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/a52dec/files/a52dec-0.7.4-tests-optional.patch?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/a52dec/files/a52dec-0.7.4-tests-optional.patch?r1=1.1&r2=1.2

Index: a52dec-0.7.4-tests-optional.patch
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-libs/a52dec/files/a52dec-0.7.4-tests-optional.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- a52dec-0.7.4-tests-optional.patch	13 Jun 2008 14:06:17 -0000	1.1
+++ a52dec-0.7.4-tests-optional.patch	13 Jun 2008 14:16:22 -0000	1.2
@@ -1,6 +1,6 @@
 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 15:48:43.000000000 +0200
-+++ a52dec-0.7.4/configure.in	2008-06-13 15:46:23.000000000 +0200
+--- 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
@@ -19,13 +19,14 @@
  
  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 15:48:45.000000000 +0200
-+++ a52dec-0.7.4/Makefile.am	2008-06-13 15:47:55.000000000 +0200
+--- 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++ test
++SUBDIRS = autotools include doc liba52 libao src vc++
++
 +if TESTS
 +SUBDIRS += test
 +endif
-+
+ 
  EXTRA_DIST = HISTORY bootstrap



-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gentoo-commits] gentoo-x86 commit in media-libs/a52dec/files: a52dec-0.7.4-tests-optional.patch
@ 2008-06-16 10:42 Diego Petteno (flameeyes)
  0 siblings, 0 replies; 3+ messages in thread
From: Diego Petteno (flameeyes) @ 2008-06-16 10:42 UTC (permalink / raw
  To: gentoo-commits

flameeyes    08/06/16 10:42:17

  Modified:             a52dec-0.7.4-tests-optional.patch
  Log:
  Fix the test building with a slightly different patch, that doesn't expose a conditional during configure (and thus an USE flag).
  (Portage version: 2.1.5.5)

Revision  Changes    Path
1.3                  media-libs/a52dec/files/a52dec-0.7.4-tests-optional.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/a52dec/files/a52dec-0.7.4-tests-optional.patch?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/a52dec/files/a52dec-0.7.4-tests-optional.patch?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/a52dec/files/a52dec-0.7.4-tests-optional.patch?r1=1.2&r2=1.3

Index: a52dec-0.7.4-tests-optional.patch
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-libs/a52dec/files/a52dec-0.7.4-tests-optional.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- a52dec-0.7.4-tests-optional.patch	13 Jun 2008 14:16:22 -0000	1.2
+++ a52dec-0.7.4-tests-optional.patch	16 Jun 2008 10:42:16 -0000	1.3
@@ -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



-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-06-16 10:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-13 14:16 [gentoo-commits] gentoo-x86 commit in media-libs/a52dec/files: a52dec-0.7.4-tests-optional.patch Peter Alfredsen (loki_val)
  -- strict thread matches above, loose matches on Subject: below --
2008-06-16 10:42 Diego Petteno (flameeyes)
2008-06-13 14:06 Peter Alfredsen (loki_val)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox