updated on Thu Jan 26 12:02:26 UTC 2012
[aur-mirror.git] / gnome-vfs-libgcrypt / gcrypt-config.patch
blob8ce91870aebba4264e1902aa9bbc79e1ad3afc1b
1 # Allow gnome-vfs-2.24 to build with libgcrypt >= 1.5.0
2 --- gnome-vfs-2.24.4/configure.in 2010-07-01 12:36:09.000000000 -0300
3 +++ gnome-vfs-2.24.4-libgcrypt//configure.in 2011-07-22 15:55:02.296325640 -0300
4 @@ -689,6 +689,16 @@
5 AM_CONDITIONAL(HAVE_SSL, test x$have_ssl = xtrue)
7 dnl ****************************
8 +dnl LibGCrypt 1.5.0
9 +dnl ****************************
11 +AM_PATH_LIBGCRYPT(1.5.0)
13 +if test "x${LIBGCRYPT_LIBS}" = "x"; then
14 + AC_MSG_ERROR([unable to find libgcrypt])
15 +fi
17 +dnl ****************************
18 dnl DNS-SD implementations
19 dnl ****************************
20 AM_CONDITIONAL(HAVE_AVAHI, false)
21 @@ -1045,8 +1055,8 @@
22 dnl ==============================================================================
24 PKG_CHECK_MODULES(LIBGNOMEVFS, glib-2.0 >= $GLIB_REQUIRED gmodule-no-export-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED gconf-2.0 >= $GCONF_REQUIRED libxml-2.0 >= $XML_REQUIRED gnome-mime-data-2.0 $dbus_requirement)
25 -LIBGNOMEVFS_CFLAGS="$LIBGNOMEVFS_CFLAGS $OPENSSL_CFLAGS $LIBGNUTLS_CFLAGS $HOWL_CFLAGS $AVAHI_CFLAGS"
26 -LIBGNOMEVFS_LIBS="$LIBGNOMEVFS_LIBS $OPENSSL_LIBS $LIBGNUTLS_LIBS $HOWL_LIBS $AVAHI_LIBS $RESOLVER_LIBS"
27 +LIBGNOMEVFS_CFLAGS="$LIBGNOMEVFS_CFLAGS $OPENSSL_CFLAGS $LIBGNUTLS_CFLAGS $HOWL_CFLAGS $AVAHI_CFLAGS $LIBGCRYPT_CFLAGS"
28 +LIBGNOMEVFS_LIBS="$LIBGNOMEVFS_LIBS $OPENSSL_LIBS $LIBGNUTLS_LIBS $HOWL_LIBS $AVAHI_LIBS $RESOLVER_LIBS $LIBGCRYPT_LIBS"
29 AC_SUBST(LIBGNOMEVFS_CFLAGS)
30 AC_SUBST(LIBGNOMEVFS_LIBS)