From a448a42eac5d797fa72b9a20b7677f6a1a9c9c86 Mon Sep 17 00:00:00 2001 From: Lucio Andrés Illanes Albornoz (arab, vxp) Date: Nov 09 2016 18:07:06 +0000 Subject: vim: fix build when Motif headers are installed. --- diff --git a/vim-7.4.1952.local.patch b/vim-7.4.1952.local.patch index d6ea7b2..178e0fc 100644 --- a/vim-7.4.1952.local.patch +++ b/vim-7.4.1952.local.patch @@ -45,3 +45,12 @@ if test "$ac_x_includes" = no; then # Guess where to find include files, by looking for Xlib.h. +@@ -9488,7 +9490,7 @@ + + + +- ++SKIP_MOTIF=YES + if test -z "$SKIP_MOTIF"; then + gui_XXX="/usr/XXX/Motif* /usr/Motif*/XXX /usr/XXX /usr/shlib /usr/X11*/XXX /usr/XXX/X11* /usr/dt/XXX /local/Motif*/XXX /local/XXX/Motif* /usr/local/Motif*/XXX /usr/local/XXX/Motif* /usr/local/XXX /usr/local/X11*/XXX /usr/local/LessTif/Motif*/XXX $MOTIFHOME/XXX" + GUI_INC_LOC="`echo $GUI_INC_LOC|sed 's%-I%%g'`"