summaryrefslogtreecommitdiffhomepage
path: root/vim-7.4.1952.local.patch
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2016-09-16 16:38:50 +0200
committerLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2016-09-16 16:38:50 +0200
commita044aa40fa3fbeca07cca82708ee827d6f4d82e0 (patch)
treed4e4dcdf9b6f916d76345faee8d2cd64e270735a /vim-7.4.1952.local.patch
parentc4f00234a7b5df29ebd495fe30050eef875aa4ab (diff)
downloadmidipix_build-a044aa40fa3fbeca07cca82708ee827d6f4d82e0.tar.bz2
midipix_build-a044aa40fa3fbeca07cca82708ee827d6f4d82e0.tar.xz
Fix Vim build when GTK {headers,libraries} are installed on the build host.
Diffstat (limited to 'vim-7.4.1952.local.patch')
-rw-r--r--vim-7.4.1952.local.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/vim-7.4.1952.local.patch b/vim-7.4.1952.local.patch
index 07097519..d6ea7b22 100644
--- a/vim-7.4.1952.local.patch
+++ b/vim-7.4.1952.local.patch
@@ -18,3 +18,30 @@
auto/pathdef.c: Makefile auto/config.mk
-@echo creating $@
+--- vim-7.4.1952/src/auto/configure.orig 2016-06-21 23:42:20.000000000 +0200
++++ vim-7.4.1952/src/auto/configure 2016-09-16 16:37:28.147266000 +0200
+@@ -2603,7 +2603,7 @@
+ ## -------------------- ##
+
+ ac_ext=c
+-ac_cpp='$CPP $CPPFLAGS'
++ac_cpp='$CPP $CFLAGS $CPPFLAGS'
+ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ ac_compiler_gnu=$ac_cv_c_compiler_gnu
+@@ -7607,6 +7607,7 @@
+
+ # Standard set of common directories for X headers.
+ # Check X11 before X11Rn because it is often a symlink to the current release.
++if test -z "$ac_x_header_dirs"; then
+ ac_x_header_dirs='
+ /usr/X11/include
+ /usr/X11R7/include
+@@ -7645,6 +7646,7 @@
+
+ /usr/openwin/include
+ /usr/openwin/share/include'
++fi
+
+ if test "$ac_x_includes" = no; then
+ # Guess where to find include files, by looking for Xlib.h.