packages: ntfsprogs/ntfsprogs-gnutls.patch (NEW) - fix building with gnutls...

hawk hawk at pld-linux.org
Sun Jun 21 16:16:21 CEST 2009


Author: hawk                         Date: Sun Jun 21 14:16:21 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix building with gnutls 2.8.x

---- Files affected:
packages/ntfsprogs:
   ntfsprogs-gnutls.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/ntfsprogs/ntfsprogs-gnutls.patch
diff -u /dev/null packages/ntfsprogs/ntfsprogs-gnutls.patch:1.1
--- /dev/null	Sun Jun 21 16:16:21 2009
+++ packages/ntfsprogs/ntfsprogs-gnutls.patch	Sun Jun 21 16:16:16 2009
@@ -0,0 +1,28 @@
+diff -ur ntfsprogs-2.0.0.orig/libntfs/Makefile.am ntfsprogs-2.0.0/libntfs/Makefile.am
+--- ntfsprogs-2.0.0.orig/libntfs/Makefile.am	2007-09-29 00:11:50.000000000 +0200
++++ ntfsprogs-2.0.0/libntfs/Makefile.am	2009-06-21 16:12:28.277112489 +0200
+@@ -38,8 +38,8 @@
+ 	-DLTVERSION_LIBNTFS=\"$(LTVERSION_LIBNTFS)\"
+ 
+ if ENABLE_CRYPTO
+-libntfs_la_LDFLAGS += `libgnutls-config --libs` `pkg-config --libs libconfig`
+-libntfs_la_CFLAGS += `libgnutls-config --cflags` `pkg-config --cflags libconfig`
++libntfs_la_LDFLAGS += `pkg-config --libs gnutls` `pkg-config --libs libconfig`
++libntfs_la_CFLAGS += `pkg-config --cflags gnutls` `pkg-config --cflags libconfig`
+ endif
+ 
+ libntfs_la_SOURCES =	\
+diff -ur ntfsprogs-2.0.0.orig/ntfsprogs/Makefile.am ntfsprogs-2.0.0/ntfsprogs/Makefile.am
+--- ntfsprogs-2.0.0.orig/ntfsprogs/Makefile.am	2007-09-24 18:05:58.000000000 +0200
++++ ntfsprogs-2.0.0/ntfsprogs/Makefile.am	2009-06-21 16:12:00.493499837 +0200
+@@ -125,8 +125,8 @@
+ if ENABLE_CRYPTO
+ ntfsdecrypt_SOURCES	= ntfsdecrypt.c utils.c utils.h
+ ntfsdecrypt_LDADD	= $(AM_LIBS)
+-ntfsdecrypt_LDFLAGS	= $(AM_LFLAGS) `libgnutls-config --libs`
+-ntfsdecrypt_CFLAGS	= `libgnutls-config --cflags`
++ntfsdecrypt_LDFLAGS	= $(AM_LFLAGS) `pkg-config --libs gnutls`
++ntfsdecrypt_CFLAGS	= `pkg-config --cflags gnutls`
+ endif
+ 
+ # Extra targets
================================================================


More information about the pld-cvs-commit mailing list