rpms/openbabel/devel openbabel-gcc43.patch,1.12,1.13

Dominik Mierzejewski (rathann) fedora-extras-commits at redhat.com
Mon Jan 7 22:31:21 UTC 2008


Author: rathann

Update of /cvs/pkgs/rpms/openbabel/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22462

Modified Files:
	openbabel-gcc43.patch 
Log Message:
- work around gcc bug: http://gcc.gnu.org/PR34708, take 2

openbabel-gcc43.patch:

Index: openbabel-gcc43.patch
===================================================================
RCS file: /cvs/pkgs/rpms/openbabel/devel/openbabel-gcc43.patch,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- openbabel-gcc43.patch	7 Jan 2008 22:20:36 -0000	1.12
+++ openbabel-gcc43.patch	7 Jan 2008 22:31:15 -0000	1.13
@@ -93,16 +93,16 @@
  #include <openbabel/fingerprint.h>
 diff -up openbabel-2.1.1/scripts/perl/openbabel_perl.cpp.gcc43 openbabel-2.1.1/scripts/perl/openbabel_perl.cpp
 --- openbabel-2.1.1/scripts/perl/openbabel_perl.cpp.gcc43	2007-07-01 22:14:02.000000000 +0200
-+++ openbabel-2.1.1/scripts/perl/openbabel_perl.cpp	2008-01-07 23:18:45.000000000 +0100
-@@ -814,7 +814,7 @@ extern "C" {
++++ openbabel-2.1.1/scripts/perl/openbabel_perl.cpp	2008-01-07 23:30:21.000000000 +0100
+@@ -812,6 +812,8 @@ extern "C" {
+ /* -----------------------------------------------------------------------------
+  * error manipulation
   * ----------------------------------------------------------------------------- */
++SWIGINTERN const char*
++SWIG_Perl_ErrorType(int code) __attribute__((noinline));
  
  SWIGINTERN const char*
--SWIG_Perl_ErrorType(int code) {
-+SWIG_Perl_ErrorType(int code) __attribute__((noinline)) {
-   const char* type = 0;
-   switch(code) {
-   case SWIG_MemoryError:
+ SWIG_Perl_ErrorType(int code) {
 diff -up openbabel-2.1.1/include/openbabel/xml.h.gcc43 openbabel-2.1.1/include/openbabel/xml.h
 --- openbabel-2.1.1/include/openbabel/xml.h.gcc43	2007-02-26 17:28:03.000000000 +0100
 +++ openbabel-2.1.1/include/openbabel/xml.h	2008-01-07 23:15:46.000000000 +0100




More information about the fedora-extras-commits mailing list