1 |
hollow 10/06/26 06:06:55 |
2 |
|
3 |
Modified: dietlibc-0.33_pre20090721.ebuild ChangeLog |
4 |
Added: dietlibc-0.33_pre20100626.ebuild |
5 |
Log: |
6 |
fix -nopie wrt #325539 |
7 |
(Portage version: 2.2_rc67/cvs/Linux i686) |
8 |
|
9 |
Revision Changes Path |
10 |
1.3 dev-libs/dietlibc/dietlibc-0.33_pre20090721.ebuild |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/dietlibc/dietlibc-0.33_pre20090721.ebuild?rev=1.3&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/dietlibc/dietlibc-0.33_pre20090721.ebuild?rev=1.3&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/dietlibc/dietlibc-0.33_pre20090721.ebuild?r1=1.2&r2=1.3 |
15 |
|
16 |
Index: dietlibc-0.33_pre20090721.ebuild |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/dietlibc/dietlibc-0.33_pre20090721.ebuild,v |
19 |
retrieving revision 1.2 |
20 |
retrieving revision 1.3 |
21 |
diff -u -r1.2 -r1.3 |
22 |
--- dietlibc-0.33_pre20090721.ebuild 24 Aug 2009 15:42:30 -0000 1.2 |
23 |
+++ dietlibc-0.33_pre20090721.ebuild 26 Jun 2010 06:06:55 -0000 1.3 |
24 |
@@ -1,6 +1,6 @@ |
25 |
-# Copyright 1999-2009 Gentoo Foundation |
26 |
+# Copyright 1999-2010 Gentoo Foundation |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/dietlibc/dietlibc-0.33_pre20090721.ebuild,v 1.2 2009/08/24 15:42:30 hollow Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/dietlibc/dietlibc-0.33_pre20090721.ebuild,v 1.3 2010/06/26 06:06:55 hollow Exp $ |
30 |
|
31 |
inherit eutils flag-o-matic toolchain-funcs |
32 |
|
33 |
@@ -31,7 +31,10 @@ |
34 |
# Makefile does not append CFLAGS |
35 |
append-flags -nostdinc -W -Wall -Wextra -Wchar-subscripts \ |
36 |
-Wmissing-prototypes -Wmissing-declarations -Wno-switch \ |
37 |
- -Wno-unused -Wredundant-decls -nopie |
38 |
+ -Wno-unused -Wredundant-decls |
39 |
+ |
40 |
+ # only use -nopie on archs that support it |
41 |
+ gcc-specs-pie && append-flags -nopie |
42 |
} |
43 |
|
44 |
src_compile() { |
45 |
|
46 |
|
47 |
|
48 |
1.81 dev-libs/dietlibc/ChangeLog |
49 |
|
50 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/dietlibc/ChangeLog?rev=1.81&view=markup |
51 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/dietlibc/ChangeLog?rev=1.81&content-type=text/plain |
52 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/dietlibc/ChangeLog?r1=1.80&r2=1.81 |
53 |
|
54 |
Index: ChangeLog |
55 |
=================================================================== |
56 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/dietlibc/ChangeLog,v |
57 |
retrieving revision 1.80 |
58 |
retrieving revision 1.81 |
59 |
diff -u -r1.80 -r1.81 |
60 |
--- ChangeLog 24 Aug 2009 15:42:30 -0000 1.80 |
61 |
+++ ChangeLog 26 Jun 2010 06:06:55 -0000 1.81 |
62 |
@@ -1,6 +1,12 @@ |
63 |
# ChangeLog for dev-libs/dietlibc |
64 |
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
65 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/dietlibc/ChangeLog,v 1.80 2009/08/24 15:42:30 hollow Exp $ |
66 |
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
67 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/dietlibc/ChangeLog,v 1.81 2010/06/26 06:06:55 hollow Exp $ |
68 |
+ |
69 |
+*dietlibc-0.33_pre20100626 (26 Jun 2010) |
70 |
+ |
71 |
+ 26 Jun 2010; Benedikt Böhm <hollow@g.o> |
72 |
+ dietlibc-0.33_pre20090721.ebuild, +dietlibc-0.33_pre20100626.ebuild: |
73 |
+ fix -nopie wrt #325539 |
74 |
|
75 |
24 Aug 2009; Benedikt Böhm <hollow@g.o> |
76 |
-dietlibc-0.32_pre20081116.ebuild, dietlibc-0.33_pre20090721.ebuild: |
77 |
|
78 |
|
79 |
|
80 |
1.1 dev-libs/dietlibc/dietlibc-0.33_pre20100626.ebuild |
81 |
|
82 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/dietlibc/dietlibc-0.33_pre20100626.ebuild?rev=1.1&view=markup |
83 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/dietlibc/dietlibc-0.33_pre20100626.ebuild?rev=1.1&content-type=text/plain |
84 |
|
85 |
Index: dietlibc-0.33_pre20100626.ebuild |
86 |
=================================================================== |
87 |
# Copyright 1999-2010 Gentoo Foundation |
88 |
# Distributed under the terms of the GNU General Public License v2 |
89 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/dietlibc/dietlibc-0.33_pre20100626.ebuild,v 1.1 2010/06/26 06:06:55 hollow Exp $ |
90 |
|
91 |
inherit eutils flag-o-matic toolchain-funcs |
92 |
|
93 |
DESCRIPTION="A minimal libc" |
94 |
HOMEPAGE="http://www.fefe.de/dietlibc/" |
95 |
SRC_URI="http://bb.xnull.de/projects/dietlibc/dist/${P}.tar.bz2" |
96 |
|
97 |
LICENSE="GPL-2" |
98 |
SLOT="0" |
99 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86" |
100 |
IUSE="debug" |
101 |
|
102 |
DEPEND="" |
103 |
RDEPEND="" |
104 |
|
105 |
DIETHOME=/usr/diet |
106 |
|
107 |
pkg_setup() { |
108 |
# Replace sparc64 related C[XX]FLAGS (see bug #45716) |
109 |
use sparc && replace-sparc64-flags |
110 |
|
111 |
# gcc-hppa suffers support for SSP, compilation will fail |
112 |
use hppa && strip-unsupported-flags |
113 |
|
114 |
# debug flags |
115 |
use debug && append-flags -g |
116 |
|
117 |
# Makefile does not append CFLAGS |
118 |
append-flags -nostdinc -W -Wall -Wextra -Wchar-subscripts \ |
119 |
-Wmissing-prototypes -Wmissing-declarations -Wno-switch \ |
120 |
-Wno-unused -Wredundant-decls |
121 |
|
122 |
# only use -nopie on archs that support it |
123 |
gcc-specs-pie && append-flags -nopie |
124 |
} |
125 |
|
126 |
src_compile() { |
127 |
emake prefix=${DIETHOME} CC="$(tc-getCC)" CFLAGS="${CFLAGS}" -j1 || die "make failed" |
128 |
} |
129 |
|
130 |
src_install() { |
131 |
emake prefix=${DIETHOME} DESTDIR="${D}" -j1 install || die "make install failed" |
132 |
dobin "${D}"${DIETHOME}/bin/* || die "dobin failed" |
133 |
doman "${D}"${DIETHOME}/man/*/* || die "doman failed" |
134 |
rm -r "${D}"${DIETHOME}/{man,bin} |
135 |
dodoc AUTHOR BUGS CAVEAT CHANGES README THANKS TODO PORTING |
136 |
} |