From 1d0cebbf0f44ba52a440363aab9ef36b3502b921 Mon Sep 17 00:00:00 2001 From: Hanno Böck Date: Mon, 28 Nov 2005 18:38:37 +0000 Subject: gcc41 fix for opensp (Portage version: 2.0.53_rc7) --- app-text/opensp/ChangeLog | 6 +++++- app-text/opensp/files/opensp-1.5.1-gcc41.patch | 12 ++++++++++++ app-text/opensp/opensp-1.5.1.ebuild | 3 ++- 3 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 app-text/opensp/files/opensp-1.5.1-gcc41.patch (limited to 'app-text/opensp') diff --git a/app-text/opensp/ChangeLog b/app-text/opensp/ChangeLog index 0f5e4c8280f2..5f710c3e9866 100644 --- a/app-text/opensp/ChangeLog +++ b/app-text/opensp/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-text/opensp # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/opensp/ChangeLog,v 1.27 2005/10/31 10:37:45 leonardop Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/opensp/ChangeLog,v 1.28 2005/11/28 18:38:37 hanno Exp $ + + 28 Nov 2005; Hanno Boeck + +files/opensp-1.5.1-gcc41.patch, opensp-1.5.1.ebuild: + Fix for gcc 4.1. 31 Oct 2005; Leonardo Boshell opensp-1.5.1.ebuild: Use the same CFLAGS filters from openjade to avoid obscure bugs (bug #100828). diff --git a/app-text/opensp/files/opensp-1.5.1-gcc41.patch b/app-text/opensp/files/opensp-1.5.1-gcc41.patch new file mode 100644 index 000000000000..fa9b4397cefe --- /dev/null +++ b/app-text/opensp/files/opensp-1.5.1-gcc41.patch @@ -0,0 +1,12 @@ +diff -dpruN --exclude='config*' OpenSP-1.5.1.orig/include/InternalInputSource.h OpenSP-1.5.1/include/InternalInputSource.h +--- OpenSP-1.5.1.orig/include/InternalInputSource.h 2003-07-17 20:14:00.000000000 +0200 ++++ OpenSP-1.5.1/include/InternalInputSource.h 2005-11-16 07:22:04.700397800 +0100 +@@ -34,7 +34,7 @@ public: + void pushCharRef(Char ch, const NamedCharRef &); + Boolean rewind(Messenger &); + const StringC *contents(); +- InternalInputSource *InternalInputSource::asInternalInputSource(); ++ InternalInputSource *asInternalInputSource(); + ~InternalInputSource(); + private: + InternalInputSource(const InternalInputSource &); // undefined diff --git a/app-text/opensp/opensp-1.5.1.ebuild b/app-text/opensp/opensp-1.5.1.ebuild index 7ea040e30805..0e6d85cd4793 100644 --- a/app-text/opensp/opensp-1.5.1.ebuild +++ b/app-text/opensp/opensp-1.5.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/opensp/opensp-1.5.1.ebuild,v 1.11 2005/10/31 10:37:45 leonardop Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/opensp/opensp-1.5.1.ebuild,v 1.12 2005/11/28 18:38:37 hanno Exp $ inherit eutils flag-o-matic @@ -28,6 +28,7 @@ src_unpack() { cd "${S}" epatch "${FILESDIR}"/${PN}-1.5-gcc34.patch + epatch ${FILESDIR}/opensp-1.5.1-gcc41.patch } src_compile() { -- cgit v1.2.3-65-gdbad