From: | "Jeroen Roovers (jer)" <jer@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-apps/ipmiutil/files: ipmiutil-2.9.3-flags.patch ipmiutil-2.9.3-tmpdir.patch |
Date: | Sat, 28 Jun 2014 14:20:23 |
Message-Id: | 20140628142018.97EC42004F@flycatcher.gentoo.org |
1 | jer 14/06/28 14:20:18 |
2 | |
3 | Added: ipmiutil-2.9.3-flags.patch |
4 | ipmiutil-2.9.3-tmpdir.patch |
5 | Log: |
6 | Fix building with FEATURES=distcc (chokes on TMPDIR being set, respect CFLAGS. |
7 | |
8 | (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A792A613) |
9 | |
10 | Revision Changes Path |
11 | 1.1 sys-apps/ipmiutil/files/ipmiutil-2.9.3-flags.patch |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/ipmiutil/files/ipmiutil-2.9.3-flags.patch?rev=1.1&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/ipmiutil/files/ipmiutil-2.9.3-flags.patch?rev=1.1&content-type=text/plain |
15 | |
16 | Index: ipmiutil-2.9.3-flags.patch |
17 | =================================================================== |
18 | --- a/configure.ac |
19 | +++ b/configure.ac |
20 | @@ -145,7 +145,7 @@ |
21 | LANPLUS_CRYPTO="" |
22 | LANPLUS_SAM="no" |
23 | LD_SAMX="" |
24 | - CFLAGS="-O2" |
25 | +# CFLAGS="-O2" |
26 | SUBDIR_S="doc scripts util" |
27 | if test "x$cross_compiling" = "xyes"; then |
28 | # cross-compiling, so link with -static (e.g. Android ARM) |
29 | @@ -270,7 +270,7 @@ |
30 | fi |
31 | rm -f $tmpc $tmpo >/dev/null 2>&1 |
32 | echo $ECHO_N "checking compile fortify flags ... $ECHO_C" |
33 | - cfhard="-fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2" |
34 | +# cfhard="-fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2" |
35 | echo "int main() { return(1); }" >$tmpc |
36 | gcc -o $tmpo -c $cfhard $tmpc >/dev/null 2>&1 |
37 | if test $? -ne 0 ; then |
38 | |
39 | |
40 | |
41 | 1.1 sys-apps/ipmiutil/files/ipmiutil-2.9.3-tmpdir.patch |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/ipmiutil/files/ipmiutil-2.9.3-tmpdir.patch?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/ipmiutil/files/ipmiutil-2.9.3-tmpdir.patch?rev=1.1&content-type=text/plain |
45 | |
46 | Index: ipmiutil-2.9.3-tmpdir.patch |
47 | =================================================================== |
48 | --- a/Makefile.am |
49 | +++ b/Makefile.am |
50 | @@ -5,7 +5,7 @@ |
51 | BUILDDIR = $(PKGDIR)/BUILD |
52 | RSPEC = doc/$(PACKAGE).spec |
53 | PNAME = $(PACKAGE)-$(VERSION) |
54 | -TMPDIR = /var/tmp/$(PNAME) |
55 | +#TMPDIR = /var/tmp/$(PNAME) |
56 | BDIR = $(TMPDIR)-1-root |
57 | RPMB = rpmbuild |
58 | # $(RPMB) -bb --buildroot $(BDIR) $(RSPEC) |