diff options
author | Jeremy Olexa <darkside@gentoo.org> | 2010-04-15 19:49:14 +0000 |
---|---|---|
committer | Jeremy Olexa <darkside@gentoo.org> | 2010-04-15 19:49:14 +0000 |
commit | 44b5b4e30a762032ca51957421ac8a92410bbe15 (patch) | |
tree | 64c7b1c878df98fea83b9098567dcff94e497ffd /app-editors/gvim/files | |
parent | Import Gentoo Prefix changes, convert to EAPI3, add keywords. bug 310991 (diff) | |
download | gentoo-2-44b5b4e30a762032ca51957421ac8a92410bbe15.tar.gz gentoo-2-44b5b4e30a762032ca51957421ac8a92410bbe15.tar.bz2 gentoo-2-44b5b4e30a762032ca51957421ac8a92410bbe15.zip |
Import Gentoo Prefix changes, convert to EAPI3, add keywords. bug 310991
(Portage version: 2.1.8.3/cvs/Linux armv7l)
Diffstat (limited to 'app-editors/gvim/files')
-rw-r--r-- | app-editors/gvim/files/gvim-7.1-interix-link.patch | 16 | ||||
-rw-r--r-- | app-editors/gvim/files/gvim-7.1.285-darwin-x11link.patch | 11 | ||||
-rw-r--r-- | app-editors/gvim/files/gvim-7.1.319-interix-cflags.patch | 23 | ||||
-rw-r--r-- | app-editors/gvim/files/gvimrc-r1 | 6 |
4 files changed, 53 insertions, 3 deletions
diff --git a/app-editors/gvim/files/gvim-7.1-interix-link.patch b/app-editors/gvim/files/gvim-7.1-interix-link.patch new file mode 100644 index 000000000000..da046665dfc5 --- /dev/null +++ b/app-editors/gvim/files/gvim-7.1-interix-link.patch @@ -0,0 +1,16 @@ +Interix 3.5 does link fine with some libraries removed from the link +line (who knows why), but executing vim failes with unresolved +references to things like _dlclose, _iconv and such... + +diff -ru vim71.orig/src/link.sh vim71/src/link.sh +--- vim71.orig/src/link.sh Wed Feb 27 15:29:29 2008 ++++ vim71/src/link.sh Wed Feb 27 15:32:07 2008 +@@ -41,7 +41,7 @@ + if sh link.cmd; then + touch auto/link.sed + cp link.cmd linkit.sh +- for libname in SM ICE nsl dnet dnet_stub inet socket dir elf iconv Xt Xmu Xp Xpm X11 Xdmcp x w dl pthread thread readline m perl crypt attr; do ++ for libname in dummy; do + cont=yes + while test -n "$cont"; do + if grep "l$libname " linkit.sh >/dev/null; then 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 diff --git a/app-editors/gvim/files/gvim-7.1.319-interix-cflags.patch b/app-editors/gvim/files/gvim-7.1.319-interix-cflags.patch new file mode 100644 index 000000000000..630e0015ee0a --- /dev/null +++ b/app-editors/gvim/files/gvim-7.1.319-interix-cflags.patch @@ -0,0 +1,23 @@ +diff -ru vim71.orig/src/Makefile vim71/src/Makefile +--- vim71.orig/src/Makefile 2008-07-16 08:29:55 +0200 ++++ vim71/src/Makefile 2008-07-16 08:53:44 +0200 +@@ -1282,10 +1282,6 @@ + + ALL_CFLAGS = $(PRE_DEFS) $(CFLAGS) $(PROFILE_CFLAGS) $(POST_DEFS) + +-# Exclude $CFLAGS for osdef.sh, for Mac 10.4 some flags don't work together +-# with "-E". +-OSDEF_CFLAGS = $(PRE_DEFS) $(POST_DEFS) +- + LINT_CFLAGS = -DLINT -I. $(PRE_DEFS) $(POST_DEFS) -Dinline= -D__extension__= -Dalloca=alloca + + LINT_EXTRA = -DUSE_SNIFF -DHANGUL_INPUT -D"__attribute__(x)=" +@@ -2273,7 +2269,7 @@ + $(PERLLIB)/ExtUtils/typemap if_perl.xs >> $@ + + auto/osdef.h: auto/config.h osdef.sh osdef1.h.in osdef2.h.in +- CC="$(CC) $(OSDEF_CFLAGS)" srcdir=$(srcdir) sh $(srcdir)/osdef.sh ++ CC="$(CC) $(CFLAGS)" srcdir=$(srcdir) sh $(srcdir)/osdef.sh + + QUOTESED = sed -e 's/[\\"]/\\&/g' -e 's/\\"/"/' -e 's/\\";$$/";/' + auto/pathdef.c: Makefile auto/config.mk diff --git a/app-editors/gvim/files/gvimrc-r1 b/app-editors/gvim/files/gvimrc-r1 index 200f6150650b..1299a53c8a26 100644 --- a/app-editors/gvim/files/gvimrc-r1 +++ b/app-editors/gvim/files/gvimrc-r1 @@ -2,7 +2,7 @@ scriptencoding utf-8 " ^^ Please leave the above line at the start of the file. " Default configuration file for gvim -" $Header: /var/cvsroot/gentoo-x86/app-editors/gvim/files/gvimrc-r1,v 1.1 2005/03/08 21:46:19 ciaranm Exp $ +" $Header: /var/cvsroot/gentoo-x86/app-editors/gvim/files/gvimrc-r1,v 1.2 2010/04/15 19:49:14 darkside Exp $ " " Written by Aron Griffis <agriffis@gentoo.org> " @@ -24,6 +24,6 @@ endif " as expected in insert and command-line modes map! <s-insert> <c-r>* -if filereadable("/etc/vim/gvimrc.local") - source /etc/vim/gvimrc.local +if filereadable("@GENTOO_PORTAGE_EPREFIX@/etc/vim/gvimrc.local") + source @GENTOO_PORTAGE_EPREFIX@/etc/vim/gvimrc.local endif |