summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2008-10-10 11:20:01 +0000
committerJeroen Roovers <jer@gentoo.org>2008-10-10 11:20:01 +0000
commitf648ff2b90473acf0e2944dc4aef9e2757c8ca1f (patch)
tree1d30126a273c3068ed9455df9b847d85fdbdab14 /net-analyzer/ifstat/files
parentRemoved old version an and closing bug #229693 (diff)
downloadhistorical-f648ff2b90473acf0e2944dc4aef9e2757c8ca1f.tar.gz
historical-f648ff2b90473acf0e2944dc4aef9e2757c8ca1f.tar.bz2
historical-f648ff2b90473acf0e2944dc4aef9e2757c8ca1f.zip
Do not strip (bug #240764).
Package-Manager: portage-2.2_rc11/cvs/Linux 2.6.25-gentoo-r7-JeR i686
Diffstat (limited to 'net-analyzer/ifstat/files')
-rw-r--r--net-analyzer/ifstat/files/ifstat-1.1-strip_and_cflags.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/net-analyzer/ifstat/files/ifstat-1.1-strip_and_cflags.patch b/net-analyzer/ifstat/files/ifstat-1.1-strip_and_cflags.patch
new file mode 100644
index 000000000000..a7bd0218f67d
--- /dev/null
+++ b/net-analyzer/ifstat/files/ifstat-1.1-strip_and_cflags.patch
@@ -0,0 +1,36 @@
+Don't strip - bug #240764
+
+--- configure.orig 2004-01-01 20:18:14.000000000 +0100
++++ configure 2008-10-10 13:09:09.000000000 +0200
+@@ -551,7 +551,7 @@
+ # Check whether --enable-debug or --disable-debug was given.
+ if test "${enable_debug+set}" = set; then
+ enableval="$enable_debug"
+- CFLAGS="$CFLAGS -O2 -Wall -g"
++# CFLAGS="$CFLAGS -O2 -Wall -g"
+ CPPFLAGS="$CPPFLAGS -DDEBUG"
+ LDFLAGS="$LDFLAGS"
+ fi
+@@ -560,8 +560,9 @@
+ if test "${enable_optim+set}" = set; then
+ enableval="$enable_optim"
+ if test "x$enable_debug" != "xyes" ; then
+- CFLAGS="$CFLAGS -O3 -fomit-frame-pointer -g0"
+- LDFLAGS="$LDFLAGS -s"
++# CFLAGS="$CFLAGS -O3 -fomit-frame-pointer -g0"
++# LDFLAGS="$LDFLAGS -s"
++ true
+ else
+ echo "configure: warning: enable-optim and enable-debug are incompatible -- disabling optimizations" 1>&2
+ fi
+--- Makefile.in.orig 2002-09-19 02:00:40.000000000 +0200
++++ Makefile.in 2008-10-10 13:17:39.000000000 +0200
+@@ -66,7 +66,7 @@
+
+ install-$(TARGET): $(TARGET)
+ $(INSTALL) -d -m 755 $(bindir)
+- $(INSTALL) -s -m 755 $(TARGET) $(bindir)/$(TARGET)
++ $(INSTALL) -m 755 $(TARGET) $(bindir)/$(TARGET)
+ $(INSTALL) -d -m 755 $(mandir)/man1
+ $(INSTALL) -m 644 ifstat.1 $(mandir)/man1/ifstat.1
+