diff options
Diffstat (limited to 'net-analyzer/ntop/files/ntop-3.3.9-gentoo.patch')
-rw-r--r-- | net-analyzer/ntop/files/ntop-3.3.9-gentoo.patch | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/net-analyzer/ntop/files/ntop-3.3.9-gentoo.patch b/net-analyzer/ntop/files/ntop-3.3.9-gentoo.patch new file mode 100644 index 000000000000..fb0268fed30a --- /dev/null +++ b/net-analyzer/ntop/files/ntop-3.3.9-gentoo.patch @@ -0,0 +1,47 @@ +diff -Nru ntop-3.3.9.orig/configure.in ntop-3.3.9/configure.in +--- ntop-3.3.9.orig/configure.in 2008-12-03 22:00:22.000000000 +0000 ++++ ntop-3.3.9/configure.in 2009-02-15 18:19:26.000000000 +0000 +@@ -57,6 +57,7 @@ + dnl> + umask 002 + AM_CONFIG_HEADER(config.h) ++AM_MAINTAINER_MODE + + HAS_ERROR= + HAS_WARNING= +@@ -504,11 +504,6 @@ + LOCALEDIR="/usr/lib/locale" + fi + +-dnl> Add /usr/local/ +-CFLAGS="${CFLAGS} -I/usr/local/include -I/opt/local/include" +-CPPFLAGS="${CPPFLAGS} -I/usr/local/include -I/opt/local/include" +-LDFLAGS="${LDFLAGS} -L/usr/local/lib -L/opt/local/lib" +- + PWD=`pwd` + + echo +diff -Nru ntop-3.3.9.orig/globals-core.c ntop-3.3.9/globals-core.c +--- ntop-3.3.9.orig/globals-core.c 2008-12-03 22:00:22.000000000 +0000 ++++ ntop-3.3.9/globals-core.c 2009-02-15 18:18:55.000000000 +0000 +@@ -424,7 +424,7 @@ + _mtuSize[DLT_ATM_RFC1483] = 9180 /* LLC/SNAP encapsulated atm */; + _headerSize[DLT_ATM_RFC1483] = 0; + +- /* _mtuSize[DLT_RAW] = ? raw IP */ ++ _mtuSize[DLT_RAW] = 1500 /* raw IP */; + _headerSize[DLT_RAW] = 0; + + /* Others defined in bpf.h at tcpdump.org as of the resync - it would be NICE +diff -Nru ntop-3.3.9.orig/report.c ntop-3.3.9/report.c +--- ntop-3.3.9.orig/report.c 2008-12-09 11:41:47.000000000 +0000 ++++ ntop-3.3.9/report.c 2009-02-15 18:18:55.000000000 +0000 +@@ -2301,7 +2301,7 @@ + if(fetchPrefsValue("dot.path", buf, sizeof(buf)) != -1) { + snprintf(dotPath, sizeof(dotPath), "%s", buf); + } else { +- snprintf(dotPath, sizeof(dotPath), "/usr/local/bin/dot"); ++ snprintf(dotPath, sizeof(dotPath), "/usr/bin/dot"); + storePrefsValue("dot.path", dotPath); /* Set the default */ + } + |