gcc 3.4 patch - bug #71875
authorPatrick Kursawe <phosphan@gentoo.org>
Tue, 30 Nov 2004 14:49:56 +0000 (14:49 +0000)
committerPatrick Kursawe <phosphan@gentoo.org>
Tue, 30 Nov 2004 14:49:56 +0000 (14:49 +0000)
app-sci/scigraphica/ChangeLog
app-sci/scigraphica/Manifest
app-sci/scigraphica/files/gcc3.4.patch [new file with mode: 0644]
app-sci/scigraphica/scigraphica-0.8.0-r2.ebuild

index 0ad50e602192849e6493059703676834cf567ca3..52827e4c277ca62ffe1a512a4a49d62918274684 100644 (file)
@@ -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 <phosphan@gentoo.org> +files/gcc3.4.patch,
+  scigraphica-0.8.0-r2.ebuild:
+  gcc 3.4 patch - bug #71875
 
   19 Apr 2004; Patrick Kursawe <phosphan@gentoo.org>
   scigraphica-0.8.0-r1.ebuild, scigraphica-0.8.0-r2.ebuild,
index 45b630f862913a60e9c0302ac37578fea08e3b45..bd79c032629c81b88cb71da198484a80fa1b12f0 100644 (file)
@@ -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 (file)
index 0000000..0a8c392
--- /dev/null
@@ -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:;
+     }
+   }
+ 
index 1f26c9128d6173e3578c5652fafa4ab2452b466d..1efc9cdb638fb6c270aa501d4425d6ca5e7c650a 100644 (file)
@@ -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.