rpms/xdrawchem/devel xdrawchem-gcc43.patch, NONE, 1.1 xdrawchem.spec, 1.5, 1.6

Dominik Mierzejewski (rathann) fedora-extras-commits at redhat.com
Sun Jan 6 23:45:38 UTC 2008


Author: rathann

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

Modified Files:
	xdrawchem.spec 
Added Files:
	xdrawchem-gcc43.patch 
Log Message:
- fix build with gcc-4.3, take 1

xdrawchem-gcc43.patch:

--- NEW FILE xdrawchem-gcc43.patch ---
diff -up xdrawchem-1.9.9/xdrawchem/molinfodialog.cpp.gcc43 xdrawchem-1.9.9/xdrawchem/molinfodialog.cpp
--- xdrawchem-1.9.9/xdrawchem/molinfodialog.cpp.gcc43	2005-08-07 22:00:19.000000000 +0200
+++ xdrawchem-1.9.9/xdrawchem/molinfodialog.cpp	2008-01-07 00:43:15.000000000 +0100
@@ -1,3 +1,4 @@
+#include <cstdlib>
 #include <qapplication.h>
 #include <qclipboard.h>
 


Index: xdrawchem.spec
===================================================================
RCS file: /cvs/pkgs/rpms/xdrawchem/devel/xdrawchem.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- xdrawchem.spec	28 Aug 2007 23:32:11 -0000	1.5
+++ xdrawchem.spec	6 Jan 2008 23:44:59 -0000	1.6
@@ -1,10 +1,11 @@
 Name: 		xdrawchem
 Version: 	1.9.9
-Release: 	6%{?dist}
+Release: 	7%{?dist}
 Summary: 	2D chemical structures drawing tool
 Source:		http://dl.sourceforge.net/sourceforge/xdrawchem/%{name}-%{version}.tar.gz
 Source1:	%{name}.desktop
 Source2:	%{name}.png
+Patch:		%{name}-gcc43.patch
 URL: 		http://xdrawchem.sourceforge.net/
 License: 	GPLv2+
 Group: 		Applications/Engineering
@@ -22,6 +23,7 @@
 
 %prep
 %setup -q
+%patch -p1 -b .gcc43
 
 %build
 %configure
@@ -51,6 +53,9 @@
 %{_datadir}/pixmaps/xdrawchem.png
 
 %changelog
+* Mon Jan 07 2008 Dominik Mierzejewski <rpm at greysector.net> 1.9.9-7
+- fix build with gcc-4.3
+
 * Wed Aug 29 2007 Dominik Mierzejewski <rpm at greysector.net> 1.9.9-6
 - rebuild for BuildID
 - fix license tag




More information about the fedora-extras-commits mailing list