summaryrefslogtreecommitdiffstats
path: root/net-analyzer/netams/files/netams-3.4.5-ds-compile.patch
blob: 46c4de7e745e607746dceb1cbab37d2cc268a7af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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