summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/gnome-vfs/gnutls-config.patch
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2010-09-05 06:07:20 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2010-09-05 06:07:20 (GMT)
commitf508f694cb958868145869dc952971b897f391ca (patch)
treec31a5eca558daf92501f1a1fa53c5310bbdab85a /abs/extra-testing/gnome-vfs/gnutls-config.patch
parent6e8437cd0a5a3cfbcecfd41e795a5d6ceed093b5 (diff)
downloadlinhes_pkgbuild-f508f694cb958868145869dc952971b897f391ca.zip
linhes_pkgbuild-f508f694cb958868145869dc952971b897f391ca.tar.gz
linhes_pkgbuild-f508f694cb958868145869dc952971b897f391ca.tar.bz2
gnome-vfs:Bumped/Updated for LinHES 7.
Diffstat (limited to 'abs/extra-testing/gnome-vfs/gnutls-config.patch')
-rw-r--r--abs/extra-testing/gnome-vfs/gnutls-config.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/abs/extra-testing/gnome-vfs/gnutls-config.patch b/abs/extra-testing/gnome-vfs/gnutls-config.patch
new file mode 100644
index 0000000..f6fa18b
--- /dev/null
+++ b/abs/extra-testing/gnome-vfs/gnutls-config.patch
@@ -0,0 +1,25 @@
+# Allow gnome-vfs-2.24 to build with gnutls >= 2.7.0
+# Use pkg-config in place of gnutls own macro since it's not present anymore.
+--- a/configure.in 2009-03-07 19:59:53.805507753 +0100
++++ b/configure.in 2009-03-07 18:34:36.928169018 +0100
+@@ -686,14 +686,14 @@
+ AC_MSG_ERROR([*** Can't use both openssl and gnutls at the same time. Please pick one only. ***])
+ else
+ AC_CHECK_HEADER(gcrypt.h,, AC_MSG_ERROR([*** Need gcrypt.h to compile with GnuTLS support ***]))
+- AM_PATH_LIBGNUTLS(1.0.0, [AC_DEFINE(HAVE_GNUTLS, 1, [Define to 1 if GnuTLS is available])
+- have_ssl=true])
++ PKG_CHECK_MODULES(LIBGNUTLS, gnutls >= 1.0.0, [AC_DEFINE(HAVE_GNUTLS, 1, [Define to 1 if GnuTLS is available])
++ have_ssl=true])
+
+ if test "x${LIBGNUTLS_LIBS}" = "x"; then
+- AM_PATH_LIBGNUTLS(0.5.1, [AC_DEFINE(HAVE_GNUTLS, 1, [Define to 1 if GnuTLS is available])
+- AC_DEFINE(GNUTLS_COMPAT, 1, [FIXME])
+- have_ssl=true],
+- AC_MSG_ERROR([Unable to find GNUTLS]))
++ PKG_CHECK_MODULES(LIBGNUTLS, gnutls >= 0.5.1, [AC_DEFINE(HAVE_GNUTLS, 1, [Define to 1 if GnuTLS is available])
++ AC_DEFINE(GNUTLS_COMPAT, 1, [FIXME])
++ have_ssl=true],
++ AC_MSG_ERROR([Unable to find GNUTLS]))
+ fi
+ fi
+ fi