diff options
Diffstat (limited to 'app-editors/gvim/files/gvim-7.1.285-darwin-x11link.patch')
-rw-r--r-- | app-editors/gvim/files/gvim-7.1.285-darwin-x11link.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/app-editors/gvim/files/gvim-7.1.285-darwin-x11link.patch b/app-editors/gvim/files/gvim-7.1.285-darwin-x11link.patch new file mode 100644 index 000000000000..1cf00d6a8faa --- /dev/null +++ b/app-editors/gvim/files/gvim-7.1.285-darwin-x11link.patch @@ -0,0 +1,11 @@ +--- src/configure.in ++++ src/configure.in +@@ -2701,7 +2701,7 @@ + AC_MSG_CHECKING(whether X_LOCALE needed) + AC_TRY_COMPILE([#include <X11/Xlocale.h>],, + AC_TRY_LINK_FUNC([_Xsetlocale], [AC_MSG_RESULT(yes) +- AC_DEFINE(X_LOCALE)], AC_MSG_RESULT(no)), ++ AC_DEFINE(X_LOCALE) ldflags_save="$ldflags_save -lX11"], AC_MSG_RESULT(no)), + AC_MSG_RESULT(no)) + fi + CFLAGS=$cflags_save |