Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-analyzer/ifstat/files: ifstat-1.1-strip_and_cflags.patch
Date: Fri, 10 Oct 2008 11:20:05
Message-Id: E1KoG2L-000540-QH@stork.gentoo.org
1 jer 08/10/10 11:20:01
2
3 Added: ifstat-1.1-strip_and_cflags.patch
4 Log:
5 Do not strip (bug #240764).
6 (Portage version: 2.2_rc11/cvs/Linux 2.6.25-gentoo-r7-JeR i686)
7
8 Revision Changes Path
9 1.1 net-analyzer/ifstat/files/ifstat-1.1-strip_and_cflags.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/ifstat/files/ifstat-1.1-strip_and_cflags.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/ifstat/files/ifstat-1.1-strip_and_cflags.patch?rev=1.1&content-type=text/plain
13
14 Index: ifstat-1.1-strip_and_cflags.patch
15 ===================================================================
16 Don't strip - bug #240764
17
18 --- configure.orig 2004-01-01 20:18:14.000000000 +0100
19 +++ configure 2008-10-10 13:09:09.000000000 +0200
20 @@ -551,7 +551,7 @@
21 # Check whether --enable-debug or --disable-debug was given.
22 if test "${enable_debug+set}" = set; then
23 enableval="$enable_debug"
24 - CFLAGS="$CFLAGS -O2 -Wall -g"
25 +# CFLAGS="$CFLAGS -O2 -Wall -g"
26 CPPFLAGS="$CPPFLAGS -DDEBUG"
27 LDFLAGS="$LDFLAGS"
28 fi
29 @@ -560,8 +560,9 @@
30 if test "${enable_optim+set}" = set; then
31 enableval="$enable_optim"
32 if test "x$enable_debug" != "xyes" ; then
33 - CFLAGS="$CFLAGS -O3 -fomit-frame-pointer -g0"
34 - LDFLAGS="$LDFLAGS -s"
35 +# CFLAGS="$CFLAGS -O3 -fomit-frame-pointer -g0"
36 +# LDFLAGS="$LDFLAGS -s"
37 + true
38 else
39 echo "configure: warning: enable-optim and enable-debug are incompatible -- disabling optimizations" 1>&2
40 fi
41 --- Makefile.in.orig 2002-09-19 02:00:40.000000000 +0200
42 +++ Makefile.in 2008-10-10 13:17:39.000000000 +0200
43 @@ -66,7 +66,7 @@
44
45 install-$(TARGET): $(TARGET)
46 $(INSTALL) -d -m 755 $(bindir)
47 - $(INSTALL) -s -m 755 $(TARGET) $(bindir)/$(TARGET)
48 + $(INSTALL) -m 755 $(TARGET) $(bindir)/$(TARGET)
49 $(INSTALL) -d -m 755 $(mandir)/man1
50 $(INSTALL) -m 644 ifstat.1 $(mandir)/man1/ifstat.1