openvas-libnasl (2.0.2-2) 10_fix_gcrypt.dpatch

Summary

 nasl/Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

    
download this patch

Patch contents

#! /bin/sh /usr/share/dpatch/dpatch-run
## 10_fix_gcrypt.dpatch by Jan Wagner <waja@cyconet.org>
##
## DP: add gcrypt to flags

@DPATCH@
diff -urNad openvas-libnasl-2.0.1~/nasl/Makefile openvas-libnasl-2.0.1/nasl/Makefile
--- openvas-libnasl-2.0.1~/nasl/Makefile	2009-01-26 08:24:46.000000000 +0100
+++ openvas-libnasl-2.0.1/nasl/Makefile	2009-05-05 09:46:46.000000000 +0200
@@ -24,7 +24,7 @@
 
 include ../nasl.tmpl
 NESSUS_CFLAGS= -I../include $(OPTIMIZE) `$(LIBOPENVASCONFIG) --cflags` `$(GPGME_CONFIG) --cflags` -DNESSUS_EXTENSIONS $(GLIB_CFLAGS)
-NESSUS_LIBS = $(LIBS) `$(LIBOPENVASCONFIG) --libs` `$(GPGME_CONFIG) --libs` $(GLIB_LIBS)
+NESSUS_LIBS = $(LIBS) -lgcrypt `$(LIBOPENVASCONFIG) --libs` `$(GPGME_CONFIG) --libs` $(GLIB_LIBS)
 
 NESSUS_INCLUDE = $(NESSUS_CFLAGS) $(include) $(DEFS)