Gentoo Archives: gentoo-alt

From: Fabian Groffen <grobian@g.o>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] [PREFIX] Interix _ALL_SOURCE
Date: Mon, 14 Jul 2008 13:40:23
Message-Id: 20080714134020.GI941@gentoo.org
In Reply to: Re: [gentoo-alt] [PREFIX] Interix _ALL_SOURCE by Fabian Groffen
1 On 14-07-2008 15:33:15 +0200, Fabian Groffen wrote:
2 > > > Ok, I'll create the patch for the profile :)
3 > >
4 > > Just wanted to ask what's the state of the patch... Have you done anything yet?
5 >
6 > Uhm, no I fail. Probably because I got stuck when Portage broke on
7 > Interix (well, it was already broken, but some new issues with poll()
8 > were introduced, should be fixed now) and I haven't yet gotten the
9 > courage to actually unbreak it.
10
11 How about this patch?
12
13 Index: profile.bashrc
14 ===================================================================
15 --- profile.bashrc (revision 27541)
16 +++ profile.bashrc (working copy)
17 @@ -1,3 +1,8 @@
18 +# One basically always wants -D_ALL_SOURCE, it's some stupid restriction
19 +# to hide useful stuff
20 +[[ ${CFLAGS} != *"-D_ALL_SOURCE"* ]] && CFLAGS="-D_ALL_SOURCE ${CFLAGS}"
21 +[[ ${CXXFLAGS} != *"-D_ALL_SOURCE"* ]] && CXXFLAGS="-D_ALL_SOURCE ${CXXFLAGS}"
22 +
23 # On interix, binary files (executables, shared libraries) in use
24 # cannot be replaced during merge.
25 # But it is possible to rename them and remove lateron when they are
26
27
28 --
29 Fabian Groffen
30 Gentoo on a different level
31 --
32 gentoo-alt@l.g.o mailing list

Replies

Subject Author
RE: [gentoo-alt] [PREFIX] Interix _ALL_SOURCE Markus Duft <mduft@g.o>