Gentoo Archives: gentoo-commits

From: "Markos Chandras (hwoarang)" <hwoarang@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/xxdiff/files: xxdiff-4.0_beta1_p20110426-gcc47.patch
Date: Fri, 30 Nov 2012 20:39:27
Message-Id: 20121130203915.B89B620C9F@flycatcher.gentoo.org
1 hwoarang 12/11/30 20:39:15
2
3 Added: xxdiff-4.0_beta1_p20110426-gcc47.patch
4 Log:
5 Apply upstream patch to fix building with gcc-4.7. Bug #442302
6
7 (Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key B4AFF2C2)
8
9 Revision Changes Path
10 1.1 dev-util/xxdiff/files/xxdiff-4.0_beta1_p20110426-gcc47.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/xxdiff/files/xxdiff-4.0_beta1_p20110426-gcc47.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/xxdiff/files/xxdiff-4.0_beta1_p20110426-gcc47.patch?rev=1.1&content-type=text/plain
14
15 Index: xxdiff-4.0_beta1_p20110426-gcc47.patch
16 ===================================================================
17 https://bugs.gentoo.org/show_bug.cgi?id=442302
18
19 # HG changeset patch
20 # User Martin Blais <mblais@×××××××××××××.com>
21 # Date 1339464558 14400
22 # Node ID 00d868ea5f4a92f4b5c7e2665403eb18c7390aca
23 # Parent fdc247a7d9e51ca71b284f592be33f0465140f6b
24 Fixed compile error that only shows up in FC17 with gcc-4.7.
25
26 diff -r fdc247a7d9e5 -r 00d868ea5f4a src/main.h
27 --- a/src/main.h Mon Feb 20 10:46:22 2012 -0500
28 +++ b/src/main.h Mon Jun 11 21:29:18 2012 -0400
29 @@ -35,6 +35,10 @@
30 * PUBLIC DECLARATIONS
31 *============================================================================*/
32
33 +extern "C" {
34 +
35 extern char** environ;
36
37 +}
38 +
39 #endif