summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/ntop/files/ntop-5.0.1-INCS.patch')
-rw-r--r--net-analyzer/ntop/files/ntop-5.0.1-INCS.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/net-analyzer/ntop/files/ntop-5.0.1-INCS.patch b/net-analyzer/ntop/files/ntop-5.0.1-INCS.patch
new file mode 100644
index 000000000000..de49a41d7175
--- /dev/null
+++ b/net-analyzer/ntop/files/ntop-5.0.1-INCS.patch
@@ -0,0 +1,27 @@
+--- a/configure
++++ b/configure
+@@ -18983,7 +18983,7 @@
+ else
+ LIBS="${LIBS} ${PYTHON_LIBS}"
+
+- PYTHON_INCS=`$PYTHON_CONFIG --cflags | sed -e "s/-arch i386//" | sed -e "s/-arch ppc//" | sed -e "s/-arch x86_64//"`
++ PYTHON_INCS=`$PYTHON_CONFIG --includes | sed -e "s/-arch i386//" | sed -e "s/-arch ppc//" | sed -e "s/-arch x86_64//"`
+
+ INCS="${INCS} ${PYTHON_INCS}"
+
+@@ -19335,15 +19335,6 @@
+ for(i=NF; i>0; i--) { \
+ if ($i in fields) { } else { fields[$i]="."; out[i]=$i } \
+ } \
+- for(i=1; i<=NF; i++) { \
+- if (i in out) { printf("%s ", out[i]) } \
+- } \
+- print "" \
+- }'`
+- INCS=`echo ${INCS} | ${ac_cv_prog_AWK} '{ \
+- for(i=NF; i>0; i--) { \
+- if ($i in fields) { } else { fields[$i]="."; out[i]=$i } \
+- } \
+ for(i=1; i<=NF; i++) { \
+ if (i in out) { printf("%s ", out[i]) } \
+ } \