Blame patches/weechat-1.6.local.patch

Lucio Andrés Illanes Albornoz (arab, vxp) d22fca
diff -ru weechat-1.6.orig/config.sub weechat-1.6/config.sub
Lucio Andrés Illanes Albornoz (arab, vxp) d22fca
--- weechat-1.6.orig/config.sub	2016-10-19 20:51:03.610252372 +0200
Lucio Andrés Illanes Albornoz (arab, vxp) d22fca
+++ weechat-1.6/config.sub	2016-10-19 20:33:14.686252372 +0200
Lucio Andrés Illanes Albornoz (arab, vxp) d22fca
@@ -1376,7 +1376,7 @@
Lucio Andrés Illanes Albornoz (arab, vxp) d22fca
 	      | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
Lucio Andrés Illanes Albornoz (arab, vxp) d22fca
 	      | -chorusos* | -chorusrdb* | -cegcc* \
Lucio Andrés Illanes Albornoz (arab, vxp) d22fca
 	      | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
Lucio Andrés Illanes Albornoz (arab, vxp) d22fca
-	      | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
Lucio Andrés Illanes Albornoz (arab, vxp) d22fca
+	      | -midipix* | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
Lucio Andrés Illanes Albornoz (arab, vxp) d22fca
 	      | -linux-newlib* | -linux-musl* | -linux-uclibc* \
Lucio Andrés Illanes Albornoz (arab, vxp) d22fca
 	      | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \
Lucio Andrés Illanes Albornoz (arab, vxp) d22fca
 	      | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
--- weechat-1.6/configure.orig	2016-11-15 19:19:45.531918300 +0100
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
+++ weechat-1.6/configure	2016-11-15 19:23:22.078226900 +0100
Lucio Andrés Illanes Albornoz (arab, vxp) d22fca
@@ -23683,7 +23683,7 @@
Lucio Andrés Illanes Albornoz (arab, vxp) d22fca
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
Lucio Andrés Illanes Albornoz (arab, vxp) d22fca
 $as_echo "yes" >&6; }
Lucio Andrés Illanes Albornoz (arab, vxp) d22fca
     GCRYPT_CFLAGS=`libgcrypt-config --cflags`
Lucio Andrés Illanes Albornoz (arab, vxp) d22fca
-    GCRYPT_LFLAGS=`libgcrypt-config --libs`
Lucio Andrés Illanes Albornoz (arab, vxp) d22fca
+    GCRYPT_LFLAGS="-lgcrypt -lgpg-error"
Lucio Andrés Illanes Albornoz (arab, vxp) d22fca
 
Lucio Andrés Illanes Albornoz (arab, vxp) d22fca
 
Lucio Andrés Illanes Albornoz (arab, vxp) d22fca
 fi
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
@@ -23760,8 +23760,8 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
     else
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
 $as_echo "yes" >&6; }
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
-        GNUTLS_CFLAGS=`pkg-config gnutls --cflags`
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
-        GNUTLS_LFLAGS=`pkg-config gnutls --libs`
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
+        GNUTLS_CFLAGS=`$PKG_CONFIG gnutls --cflags`
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
+        GNUTLS_LFLAGS=`$PKG_CONFIG gnutls --libs`
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
 
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
 
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
         $as_echo "#define HAVE_GNUTLS 1" >>confdefs.h
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
@@ -23972,8 +23972,8 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
 else
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
 $as_echo "yes" >&6; }
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
-    ZLIB_CFLAGS=`pkg-config zlib --cflags`
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
-    ZLIB_LFLAGS=`pkg-config zlib --libs`
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
+    ZLIB_CFLAGS=`$PKG_CONFIG zlib --cflags`
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
+    ZLIB_LFLAGS=`$PKG_CONFIG zlib --libs`
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
 
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
 
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
 fi