diff options
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.patch | 24 |
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 |