summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2018-01-16 12:25:30 +0100
committerJeroen Roovers <jer@gentoo.org>2018-01-16 12:25:30 +0100
commit47167bd6764afc1ca3a2110bb131ab43a36f6cae (patch)
treea941965fad49f5f9e52c7408e2bd4fe8cffac098 /net-analyzer/sarg/files
parentnet-analyzer/etherape: Version 0.9.16. (diff)
downloadgentoo-47167bd6764afc1ca3a2110bb131ab43a36f6cae.tar.gz
gentoo-47167bd6764afc1ca3a2110bb131ab43a36f6cae.tar.bz2
gentoo-47167bd6764afc1ca3a2110bb131ab43a36f6cae.zip
net-analyzer/sarg: Version 2.3.11.
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'net-analyzer/sarg/files')
-rw-r--r--net-analyzer/sarg/files/sarg-2.3.11-configure.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/net-analyzer/sarg/files/sarg-2.3.11-configure.patch b/net-analyzer/sarg/files/sarg-2.3.11-configure.patch
new file mode 100644
index 000000000000..583bfeb0e8e1
--- /dev/null
+++ b/net-analyzer/sarg/files/sarg-2.3.11-configure.patch
@@ -0,0 +1,31 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -2,6 +2,7 @@
+ AC_INIT([sarg],[2.3.9])
+ AC_CONFIG_SRCDIR([log.c])
+ AC_CONFIG_AUX_DIR(cfgaux)
++AC_CONFIG_MACRO_DIR(m4)
+
+ AC_CANONICAL_HOST
+
+@@ -26,6 +27,11 @@
+ dnl C99 support is required to define LLONG_MAX (at least on CentOS 5.7)
+ AC_PROG_CC_C99
+
++dnl mkdir_p / MKDIR_P
++AC_PROG_MKDIR_P
++mkdir_p="$MKDIR_P"
++AC_SUBST(mkdir_p)
++
+ # Report more warnings to improve code quality.
+ CFLAGS="${CFLAGS} -Wall -Wno-sign-compare"
+
+@@ -60,7 +66,7 @@
+
+ case "$host" in
+ *-solaris*)
+- LDFLAGS="${LDFLAGS} -lsocket -lnsl"
++ LIBS="${LIBS} -lsocket -lnsl"
+ CFLAGS="-DSOLARIS ${CFLAGS}"
+ ;;
+ esac