1 |
jer 10/02/25 22:22:59 |
2 |
|
3 |
Added: pmacct-0.12.0-gentoo.patch |
4 |
Log: |
5 |
Remove IUSE=mmap. Add IUSE="threads ulog" thanks to Marcin Mirosław (bug #306641). Replace broken sed script with something that both respects CFLAGS and does not remove vital -DEFINES. Install UPGRADE doc. |
6 |
(Portage version: 2.2_rc63/cvs/Linux i686) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 net-analyzer/pmacct/files/pmacct-0.12.0-gentoo.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/pmacct/files/pmacct-0.12.0-gentoo.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/pmacct/files/pmacct-0.12.0-gentoo.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: pmacct-0.12.0-gentoo.patch |
15 |
=================================================================== |
16 |
--- configure.org 2010-02-16 13:06:04.000000000 +0100 |
17 |
+++ configure 2010-02-25 22:57:08.000000000 +0100 |
18 |
@@ -1103,7 +1103,7 @@ |
19 |
echo $ac_n "checking whether to enable debugging compiler options""... $ac_c" 1>&6 |
20 |
echo "configure:1105: checking whether to enable debugging compiler options" >&5 |
21 |
# Check whether --enable-debug or --disable-debug was given. |
22 |
-if test "${enable_debug+set}" = set; then |
23 |
+if test "${enable_debug+set}" = TODO_THIS_WILL_NEVER_BE_TRUE; then |
24 |
enableval="$enable_debug" |
25 |
echo "$ac_t""yes" 1>&6 |
26 |
tmp_CFLAGS=`echo $CFLAGS | sed 's/O2/O0/g'` |
27 |
@@ -1114,7 +1114,7 @@ |
28 |
#CFLAGS="$CFLAGS -Wcast-align -Wcast-qual -Wnested-externs" |
29 |
#CFLAGS="$CFLAGS -Wshadow -Wbad-function-cast -Wwrite-strings" |
30 |
echo "$ac_t""no" 1>&6 |
31 |
- |
32 |
+ CFLAGS="$ac_save_CFLAGS" |
33 |
fi |