Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-misc/tinysvm/files: tinysvm-0.09-darwin.patch
Date: Wed, 17 Feb 2010 21:30:11
Message-Id: E1NhrTD-00083f-SR@stork.gentoo.org
1 jlec 10/02/17 21:30:07
2
3 Added: tinysvm-0.09-darwin.patch
4 Log:
5 import prefix changes from the overlay
6 (Portage version: 2.2_rc62/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 sci-misc/tinysvm/files/tinysvm-0.09-darwin.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/tinysvm/files/tinysvm-0.09-darwin.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/tinysvm/files/tinysvm-0.09-darwin.patch?rev=1.1&content-type=text/plain
13
14 Index: tinysvm-0.09-darwin.patch
15 ===================================================================
16 * http://bugs.gentoo.org/show_bug.cgi?id=111598
17
18 --- TinySVM-0.09/src/getopt.h.orig 2006-02-19 17:22:37.000000000 +0100
19 +++ TinySVM-0.09/src/getopt.h 2006-02-19 17:23:11.000000000 +0100
20 @@ -122,7 +122,7 @@
21 #define optional_argument 2
22
23 #if defined (__STDC__) && __STDC__
24 -#ifdef __GNU_LIBRARY__
25 +#if defined __GNU_LIBRARY__ || defined __APPLE__
26 /* Many other libraries have conflicting prototypes for getopt, with
27 differences in the consts, in stdlib.h. To avoid compilation
28 errors, only prototype getopt for the GNU C library. */