Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-analyzer/flowgrind/files: flowgrind-0.5.8-gentoo.patch flowgrind-0.5.8-cflags.patch
Date: Wed, 22 Aug 2012 00:43:07
Message-Id: 20120822004256.B060A202B0@flycatcher.gentoo.org
1 flameeyes 12/08/22 00:42:56
2
3 Added: flowgrind-0.5.8-gentoo.patch
4 Removed: flowgrind-0.5.8-cflags.patch
5 Log:
6 Fix building with automake 1.12 (bug #426484); fix building with forced --as-needed. Patches sent upstream.
7
8 (Portage version: 2.2.0_alpha121/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.1 net-analyzer/flowgrind/files/flowgrind-0.5.8-gentoo.patch
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/flowgrind/files/flowgrind-0.5.8-gentoo.patch?rev=1.1&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/flowgrind/files/flowgrind-0.5.8-gentoo.patch?rev=1.1&content-type=text/plain
15
16 Index: flowgrind-0.5.8-gentoo.patch
17 ===================================================================
18 diff --git a/configure.ac b/configure.ac
19 index bd025e5..2c78c96 100644
20 --- a/configure.ac
21 +++ b/configure.ac
22 @@ -9,7 +9,6 @@ AC_USE_SYSTEM_EXTENSIONS
23 AC_PROG_CC
24 AM_PROG_CC_C_O
25 AC_PROG_CPP
26 -AM_C_PROTOTYPES
27 AC_PROG_MAKE_SET
28 AC_PATH_PROG(PERL, perl)
29 AC_LIB_RPATH
30 @@ -89,6 +88,7 @@ AC_CHECK_HEADERS([ \
31 stdarg.h \
32 stdio.h \
33 stdlib.h \
34 + string.h \
35 sys/ioctl.h \
36 syslog.h \
37 sys/param.h \
38 @@ -127,7 +127,7 @@ AC_CONFIG_FILES([
39 AC_SEARCH_LIBS([log], [m])
40 AC_SEARCH_LIBS([clock_gettime], [rt])
41 AC_SEARCH_LIBS([socket], [socket])
42 -AC_SEARCH_LIBS([pthread_mutex_lock], [pthread])
43 +AC_SEARCH_LIBS([pthread_create], [pthread])
44
45 AC_SUBST(LIBS)
46
47 @@ -135,9 +135,6 @@ AC_ARG_ENABLE(debug,[AS_HELP_STRING(--enable-debug, enable debugging output and
48
49 if test "$enable_debug" = yes ; then
50 AC_DEFINE(DEBUG, [1], [Use debugging])
51 - CFLAGS="-ggdb3 $CFLAGS"
52 -else
53 - CFLAGS="-O3 $CFLAGS"
54 fi
55
56 AC_ARG_ENABLE(pcap,[AS_HELP_STRING(--enable-pcap, enable lipcap for packet capturing [[default: yes]] )])