Blame patches/vim-8.2.4230_pre.local.patch

95aa71
diff -ru vim-8.2.4230.orig/src/auto/configure vim-8.2.4230/src/auto/configure
95aa71
--- vim-8.2.4230.orig/src/auto/configure	2022-01-27 16:04:22.000000000 +0100
95aa71
+++ vim-8.2.4230/src/auto/configure	2022-01-27 17:15:07.217234738 +0100
95aa71
@@ -3772,7 +3772,7 @@
95aa71
 fi
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
95aa71
@@ -8343,6 +8343,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
95aa71
@@ -8381,6 +8382,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.
95aa71
diff -ru vim-8.2.4230.orig/src/Makefile vim-8.2.4230/src/Makefile
95aa71
--- vim-8.2.4230.orig/src/Makefile	2022-01-27 16:04:22.000000000 +0100
95aa71
+++ vim-8.2.4230/src/Makefile	2022-01-27 17:13:59.313233849 +0100
95aa71
@@ -3093,7 +3093,7 @@
95aa71
 	    $(PERLLIB)/ExtUtils/typemap if_perl.xs >> $@
Lucio Andrés Illanes Albornoz (arab, vxp) a448a4
 
95aa71
 auto/osdef.h: auto/config.h osdef.sh osdef1.h.in osdef2.h.in
95aa71
-	CC="$(CC) $(OSDEF_CFLAGS)" srcdir=$(srcdir) sh $(srcdir)/osdef.sh
95aa71
+	CC="$(CC) $(OSDEF_CFLAGS) -I$(PKG_PREFIX)/include" srcdir=$(srcdir) sh $(srcdir)/osdef.sh
Lucio Andrés Illanes Albornoz (arab, vxp) a448a4
 
95aa71
 auto/os_haiku.rdef: os_haiku.rdef.in
95aa71
 	@echo creating $@