Blame vim-7.4.1952.local.patch

Lucio Andrés Illanes Albornoz (arab, vxp) 66ef28
--- vim-7.4.1952/src/osdef2.h.in.orig	2016-06-21 23:42:20.000000000 +0200
Lucio Andrés Illanes Albornoz (arab, vxp) 66ef28
+++ vim-7.4.1952/src/osdef2.h.in	2016-09-06 18:33:43.655518796 +0200
Lucio Andrés Illanes Albornoz (arab, vxp) 66ef28
@@ -92,5 +92,5 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 66ef28
 extern int	_Xmblen(char const *, size_t);
Lucio Andrés Illanes Albornoz (arab, vxp) 66ef28
 #else
Lucio Andrés Illanes Albornoz (arab, vxp) 66ef28
 		/* This is different from the header but matches mblen() */
Lucio Andrés Illanes Albornoz (arab, vxp) 66ef28
-extern int	_Xmblen(char *, size_t);
Lucio Andrés Illanes Albornoz (arab, vxp) 66ef28
+extern int	_Xmblen(char *, int);
Lucio Andrés Illanes Albornoz (arab, vxp) 66ef28
 #endif
Lucio Andrés Illanes Albornoz (arab, vxp) 45d167
--- vim-7.4.1952/src/Makefile.orig	2016-06-21 23:42:20.000000000 +0200
Lucio Andrés Illanes Albornoz (arab, vxp) 45d167
+++ vim-7.4.1952/src/Makefile	2016-09-07 06:29:14.483862359 +0200
Lucio Andrés Illanes Albornoz (arab, vxp) 45d167
@@ -2692,7 +2692,7 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 45d167
 	    $(PERLLIB)/ExtUtils/typemap if_perl.xs >> $@
Lucio Andrés Illanes Albornoz (arab, vxp) 45d167
 
Lucio Andrés Illanes Albornoz (arab, vxp) 45d167
 auto/osdef.h: auto/config.h osdef.sh osdef1.h.in osdef2.h.in
Lucio Andrés Illanes Albornoz (arab, vxp) 45d167
-	CC="$(CC) $(OSDEF_CFLAGS)" srcdir=$(srcdir) sh $(srcdir)/osdef.sh
Lucio Andrés Illanes Albornoz (arab, vxp) 45d167
+	CC="$(CC) $(OSDEF_CFLAGS) -I$(PKG_PREFIX)/include" srcdir=$(srcdir) sh $(srcdir)/osdef.sh
Lucio Andrés Illanes Albornoz (arab, vxp) 45d167
 
Lucio Andrés Illanes Albornoz (arab, vxp) 45d167
 auto/pathdef.c: Makefile auto/config.mk
Lucio Andrés Illanes Albornoz (arab, vxp) 45d167
 	-@echo creating $@
Lucio Andrés Illanes Albornoz (arab, vxp) a044aa
--- vim-7.4.1952/src/auto/configure.orig	2016-06-21 23:42:20.000000000 +0200
Lucio Andrés Illanes Albornoz (arab, vxp) a044aa
+++ vim-7.4.1952/src/auto/configure	2016-09-16 16:37:28.147266000 +0200
Lucio Andrés Illanes Albornoz (arab, vxp) a044aa
@@ -2603,7 +2603,7 @@
Lucio Andrés Illanes Albornoz (arab, vxp) a044aa
 ## -------------------- ##
Lucio Andrés Illanes Albornoz (arab, vxp) a044aa
 
Lucio Andrés Illanes Albornoz (arab, vxp) a044aa
 ac_ext=c
Lucio Andrés Illanes Albornoz (arab, vxp) a044aa
-ac_cpp='$CPP $CPPFLAGS'
Lucio Andrés Illanes Albornoz (arab, vxp) a044aa
+ac_cpp='$CPP $CFLAGS $CPPFLAGS'
Lucio Andrés Illanes Albornoz (arab, vxp) a044aa
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
Lucio Andrés Illanes Albornoz (arab, vxp) a044aa
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
Lucio Andrés Illanes Albornoz (arab, vxp) a044aa
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
Lucio Andrés Illanes Albornoz (arab, vxp) a044aa
@@ -7607,6 +7607,7 @@
Lucio Andrés Illanes Albornoz (arab, vxp) a044aa
 
Lucio Andrés Illanes Albornoz (arab, vxp) a044aa
 # Standard set of common directories for X headers.
Lucio Andrés Illanes Albornoz (arab, vxp) a044aa
 # Check X11 before X11Rn because it is often a symlink to the current release.
Lucio Andrés Illanes Albornoz (arab, vxp) a044aa
+if test -z "$ac_x_header_dirs"; then
Lucio Andrés Illanes Albornoz (arab, vxp) a044aa
 ac_x_header_dirs='
Lucio Andrés Illanes Albornoz (arab, vxp) a044aa
 /usr/X11/include
Lucio Andrés Illanes Albornoz (arab, vxp) a044aa
 /usr/X11R7/include
Lucio Andrés Illanes Albornoz (arab, vxp) a044aa
@@ -7645,6 +7646,7 @@
Lucio Andrés Illanes Albornoz (arab, vxp) a044aa
 
Lucio Andrés Illanes Albornoz (arab, vxp) a044aa
 /usr/openwin/include
Lucio Andrés Illanes Albornoz (arab, vxp) a044aa
 /usr/openwin/share/include'
Lucio Andrés Illanes Albornoz (arab, vxp) a044aa
+fi
Lucio Andrés Illanes Albornoz (arab, vxp) a044aa
 
Lucio Andrés Illanes Albornoz (arab, vxp) a044aa
 if test "$ac_x_includes" = no; then
Lucio Andrés Illanes Albornoz (arab, vxp) a044aa
   # Guess where to find include files, by looking for Xlib.h.