summaryrefslogtreecommitdiffstats
path: root/net-analyzer/netams/files/netams-3.4.5-ds-compile.patch
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-09-01 00:00:32 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-09-01 00:00:32 +0200
commitca9627e70852f6b2e835660df870fe3ab405882d (patch)
tree0a008b1d5b16fa0679a195ed7b5662c7891f591c /net-analyzer/netams/files/netams-3.4.5-ds-compile.patch
downloaddarklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.gz
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.bz2
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.xz
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.zip
Initial import
Diffstat (limited to 'net-analyzer/netams/files/netams-3.4.5-ds-compile.patch')
-rw-r--r--net-analyzer/netams/files/netams-3.4.5-ds-compile.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/net-analyzer/netams/files/netams-3.4.5-ds-compile.patch b/net-analyzer/netams/files/netams-3.4.5-ds-compile.patch
new file mode 100644
index 0000000..46c4de7
--- /dev/null
+++ b/net-analyzer/netams/files/netams-3.4.5-ds-compile.patch
@@ -0,0 +1,24 @@
+diff -dPNur netams-3.4.5-orig/configure.sh netams-3.4.5/configure.sh
+--- netams-3.4.5-orig/configure.sh 2009-09-06 16:44:54.000000000 +0000
++++ netams-3.4.5/configure.sh 2014-10-14 01:11:43.000000000 +0000
+@@ -259,7 +259,7 @@
+ echo "GLib 2.0 found disabling OpenSSL"
+ echo " [ $v1 $v2 $v3 ]"
+ echo "DEFINE += -DWIPE_OPENSSL -I$v2 -I$v3" >> $makefile
+- echo "LIB += -lglib-2.0 -L$v1" >> $makefile
++ echo "LIB += -lcrypt -lglib-2.0 -L$v1" >> $makefile
+ else
+ echo "LibC - enabling OpenSSL"
+ echo "LIB += -lcrypt" >> $makefile
+diff -dPNur netams-3.4.5-orig/src/config.h netams-3.4.5/src/config.h
+--- netams-3.4.5-orig/src/config.h 2009-08-01 09:23:55.000000000 +0000
++++ netams-3.4.5/src/config.h 2014-10-14 01:10:09.000000000 +0000
+@@ -49,7 +49,7 @@
+ #ifndef WIPE_OPENSSL
+ #include <openssl/lhash.h>
+ #else
+-#include <glib/ghash.h>
++#include <glib.h>
+ #endif
+
+ #define __FAVOR_BSD 1 //this is dirty hack -D_BSD_SOURCE should work but do not