aboutsummaryrefslogtreecommitdiff
path: root/libraries/libvmime/gnutls-28.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libvmime/gnutls-28.patch')
-rw-r--r--libraries/libvmime/gnutls-28.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/libraries/libvmime/gnutls-28.patch b/libraries/libvmime/gnutls-28.patch
new file mode 100644
index 000000000000..d502868b926e
--- /dev/null
+++ b/libraries/libvmime/gnutls-28.patch
@@ -0,0 +1,21 @@
+--- libvmime-0.9.0.orig/configure
++++ libvmime-0.9.0/configure
+@@ -30792,12 +30792,14 @@
+ { echo "$as_me:$LINENO: checking for libgnutls - version >= $min_libgnutls_version" >&5
+ echo $ECHO_N "checking for libgnutls - version >= $min_libgnutls_version... $ECHO_C" >&6; }
+ no_libgnutls=""
+- if test "$LIBGNUTLS_CONFIG" = "no" ; then
++# if test "$LIBGNUTLS_CONFIG" = "no" ; then
++ if [ ! $(pkg-config --modversion gnutls-extra 2> /dev/null) ]; then
+ no_libgnutls=yes
+ else
+- LIBGNUTLS_CFLAGS=`$LIBGNUTLS_CONFIG $libgnutls_config_args --cflags`
+- LIBGNUTLS_LIBS=`$LIBGNUTLS_CONFIG $libgnutls_config_args --libs`
+- libgnutls_config_version=`$LIBGNUTLS_CONFIG $libgnutls_config_args --version`
++ LIBGNUTLS_CONFIG=""
++ LIBGNUTLS_CFLAGS=`$LIBGNUTLS_CONFIG $libgnutls_config_args pkg-config --cflags gnutls-extra`
++ LIBGNUTLS_LIBS=`$LIBGNUTLS_CONFIG $libgnutls_config_args pkg-config --libs gnutls-extra`
++ libgnutls_config_version=`$LIBGNUTLS_CONFIG $libgnutls_config_args pkg-config --modversion gnutls-extra`
+
+
+ ac_save_CFLAGS="$CFLAGS"