From 4ef985cbf83c03513a9f658c5477f2613f0efb6c Mon Sep 17 00:00:00 2001 From: Ciaran McCreesh Date: Mon, 4 Oct 2004 22:05:10 +0000 Subject: [PATCH] fix sparc32 screwiness, bug 66162 --- eclass/vim.eclass | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/eclass/vim.eclass b/eclass/vim.eclass index 7a4e961a7e83..b9cb328ba728 100644 --- a/eclass/vim.eclass +++ b/eclass/vim.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/vim.eclass,v 1.74 2004/10/01 15:55:43 ciaranm Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/vim.eclass,v 1.75 2004/10/04 22:05:10 ciaranm Exp $ # Authors: # Ryan Phillips @@ -221,6 +221,12 @@ vim_src_unpack() { # this is NeXT, but it's actually just a file in dev-libs/9libs # This fixes bug 43885 (20 Mar 2004 agriffis) sed -i 's/ libc\.h / /' ${S}/src/configure.in || die 'sed failed' + + # gcc on sparc32 has this, uhm, interesting problem with detecting EOF + # correctly. To avoid some really entertaining error messages about stuff + # which isn't even in the source file being invalid, we'll do some trickery + # to make the error never occur. bug 66162 (02 October 2004 ciaranm) + find ${S} -name '*.c' | while read c ; do echo >> "$c" ; done } src_compile() { -- 2.26.2