Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-devel/automake/files: automake-1.10-ccnoco-ldflags.patch
Date: Fri, 29 May 2009 23:41:13
Message-Id: E1MABhH-0006ST-JA@stork.gentoo.org
1 vapier 09/05/29 23:41:11
2
3 Added: automake-1.10-ccnoco-ldflags.patch
4 Log:
5 Add fix from upstream for ccnoco test failure with custom LDFLAGS #203914 by Carsten Lohrke.
6 (Portage version: 2.2_rc33/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 sys-devel/automake/files/automake-1.10-ccnoco-ldflags.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/automake/files/automake-1.10-ccnoco-ldflags.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/automake/files/automake-1.10-ccnoco-ldflags.patch?rev=1.1&content-type=text/plain
13
14 Index: automake-1.10-ccnoco-ldflags.patch
15 ===================================================================
16 http://bugs.gentoo.org/203914
17
18 From 6e86514729c6dccb6213fdde8d93d7061c8108a5 Mon Sep 17 00:00:00 2001
19 From: Ralf Wildenhues <Ralf.Wildenhues@×××.de>
20 Date: Mon, 7 Jan 2008 21:53:38 +0100
21 Subject: [PATCH] Fix ccnoco.test for uncommon LDFLAGS settings.
22
23 * tests/ccnoco.test (Mycomp): Use a tighter match for -c -o,
24 to avoid matching for example `LDFLAGS=-Wl,--sort-common'.
25 * THANKS: Update.
26 Report and analysis by Carsten Lohrke and Mike Frysinger.
27 ---
28 ChangeLog | 7 +++++++
29 THANKS | 1 +
30 tests/ccnoco.test | 6 +++---
31 3 files changed, 11 insertions(+), 3 deletions(-)
32
33 diff --git a/tests/ccnoco.test b/tests/ccnoco.test
34 index 8b37fe8..ca75922 100755
35 --- a/tests/ccnoco.test
36 +++ b/tests/ccnoco.test
37 @@ -57,8 +57,8 @@ END
38 cat > Mycomp << 'END'
39 #!/bin/sh
40
41 -case "$@" in
42 - *-c*-o* | *-o*-c*)
43 +case " "$* in
44 + *\ -c*\ -o* | *\ -o*\ -c*)
45 exit 1
46 ;;
47 esac
48 --
49 1.6.3