From 9872f4a543ba7a82958c0f69ae1cf4425a0eaea4 Mon Sep 17 00:00:00 2001 From: Patrick Kursawe Date: Tue, 30 Nov 2004 14:49:56 +0000 Subject: [PATCH] gcc 3.4 patch - bug #71875 --- app-sci/scigraphica/ChangeLog | 6 +++++- app-sci/scigraphica/Manifest | 5 +++-- app-sci/scigraphica/files/gcc3.4.patch | 21 +++++++++++++++++++ .../scigraphica/scigraphica-0.8.0-r2.ebuild | 10 ++++++++- 4 files changed, 38 insertions(+), 4 deletions(-) create mode 100644 app-sci/scigraphica/files/gcc3.4.patch diff --git a/app-sci/scigraphica/ChangeLog b/app-sci/scigraphica/ChangeLog index 0ad50e602192..52827e4c277c 100644 --- a/app-sci/scigraphica/ChangeLog +++ b/app-sci/scigraphica/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-sci/scigraphica # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-sci/scigraphica/ChangeLog,v 1.8 2004/06/24 22:16:45 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-sci/scigraphica/ChangeLog,v 1.9 2004/11/30 14:49:56 phosphan Exp $ + + 30 Nov 2004; Patrick Kursawe +files/gcc3.4.patch, + scigraphica-0.8.0-r2.ebuild: + gcc 3.4 patch - bug #71875 19 Apr 2004; Patrick Kursawe scigraphica-0.8.0-r1.ebuild, scigraphica-0.8.0-r2.ebuild, diff --git a/app-sci/scigraphica/Manifest b/app-sci/scigraphica/Manifest index 45b630f86291..bd79c032629c 100644 --- a/app-sci/scigraphica/Manifest +++ b/app-sci/scigraphica/Manifest @@ -1,4 +1,5 @@ -MD5 a3434007f2052dac538b2ef41e09fb7f scigraphica-0.8.0-r2.ebuild 2305 -MD5 0b2b9dcd9a2d30f32c15dd96b2e5627e ChangeLog 1313 +MD5 5d6980b17752cac5406c09d0880cfba9 scigraphica-0.8.0-r2.ebuild 2397 +MD5 65c6929e565f71391182ab4895967e03 ChangeLog 1448 MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156 MD5 c2d9cfaee160e764e5ea4eef6864b114 files/digest-scigraphica-0.8.0-r2 69 +MD5 a268a921bce77204066be75a284df252 files/gcc3.4.patch 464 diff --git a/app-sci/scigraphica/files/gcc3.4.patch b/app-sci/scigraphica/files/gcc3.4.patch new file mode 100644 index 000000000000..0a8c392a1738 --- /dev/null +++ b/app-sci/scigraphica/files/gcc3.4.patch @@ -0,0 +1,21 @@ +diff -ru src/python/python_config.c src.new/python/python_config.c +--- src/python/python_config.c 2001-11-30 18:03:23.000000000 +0100 ++++ src.new/python/python_config.c 2004-11-30 15:33:59.000000000 +0100 +@@ -235,7 +235,7 @@ + if (func) func(GTK_WIDGET(widget),&my_var_info[i]); + } + break; +- default: ++ default: ; + } + } + #ifdef WITH_GNOME +@@ -609,7 +609,7 @@ + + break; + +- default: ++ default:; + } + } + diff --git a/app-sci/scigraphica/scigraphica-0.8.0-r2.ebuild b/app-sci/scigraphica/scigraphica-0.8.0-r2.ebuild index 1f26c9128d61..1efc9cdb638f 100644 --- a/app-sci/scigraphica/scigraphica-0.8.0-r2.ebuild +++ b/app-sci/scigraphica/scigraphica-0.8.0-r2.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-sci/scigraphica/scigraphica-0.8.0-r2.ebuild,v 1.4 2004/08/21 15:37:56 foser Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-sci/scigraphica/scigraphica-0.8.0-r2.ebuild,v 1.5 2004/11/30 14:49:56 phosphan Exp $ + +inherit eutils DESCRIPTION="Scientific application for data analysis and technical graphics" SRC_URI="http://scigraphica.sourceforge.net/src/${P}.tar.gz" @@ -30,6 +32,12 @@ pkg_setup() { fi } +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/gcc3.4.patch +} + src_compile() { #bonobo breaks compile when enabled so it is not enabled for now. #the result seems to be no printing under gnome. -- 2.26.2