rpms/qcad/devel qcad-gcc43.patch,NONE,1.1 qcad.spec,1.15,1.16

Gérard Milmeister (gemi) fedora-extras-commits at redhat.com
Fri Feb 22 21:54:41 UTC 2008


Author: gemi

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

Modified Files:
	qcad.spec 
Added Files:
	qcad-gcc43.patch 
Log Message:
patch to compile with GCC 4.3

qcad-gcc43.patch:

--- NEW FILE qcad-gcc43.patch ---
diff -up qcad-2.0.5.0-1-community.src/qcadactions/src/rs_actionzoompan.cpp.gcc43 qcad-2.0.5.0-1-community.src/qcadactions/src/rs_actionzoompan.cpp
--- qcad-2.0.5.0-1-community.src/qcadactions/src/rs_actionzoompan.cpp.gcc43	2008-02-22 21:46:34.000000000 +0100
+++ qcad-2.0.5.0-1-community.src/qcadactions/src/rs_actionzoompan.cpp	2008-02-22 21:47:06.000000000 +0100
@@ -27,6 +27,7 @@
 #include "rs_actionzoompan.h"
 #include "rs_snapper.h"
 #include "rs_point.h"
+#include <cstdlib>
 
 
 RS_ActionZoomPan::RS_ActionZoomPan(RS_EntityContainer& container,
diff -up qcad-2.0.5.0-1-community.src/dxflib/src/dl_writer.h.gcc43 qcad-2.0.5.0-1-community.src/dxflib/src/dl_writer.h
--- qcad-2.0.5.0-1-community.src/dxflib/src/dl_writer.h.gcc43	2008-02-22 21:48:05.000000000 +0100
+++ qcad-2.0.5.0-1-community.src/dxflib/src/dl_writer.h	2008-02-22 21:49:06.000000000 +0100
@@ -28,6 +28,8 @@
 #ifndef DL_WRITER_H
 #define DL_WRITER_H
 
+#include <cstring>
+
 #if _MSC_VER > 1000
 #pragma once
 #endif // _MSC_VER > 1000
diff -up qcad-2.0.5.0-1-community.src/qcadlib/src/information/rs_information.cpp.gcc43 qcad-2.0.5.0-1-community.src/qcadlib/src/information/rs_information.cpp
--- qcad-2.0.5.0-1-community.src/qcadlib/src/information/rs_information.cpp.gcc43	2008-02-22 21:50:37.000000000 +0100
+++ qcad-2.0.5.0-1-community.src/qcadlib/src/information/rs_information.cpp	2008-02-22 21:51:02.000000000 +0100
@@ -27,6 +27,7 @@
 #include "rs_information.h"
 
 #include "rs_constructionline.h"
+#include <cstdlib>
 
 
 /**


Index: qcad.spec
===================================================================
RCS file: /cvs/pkgs/rpms/qcad/devel/qcad.spec,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- qcad.spec	19 Feb 2008 03:48:11 -0000	1.15
+++ qcad.spec	22 Feb 2008 21:54:06 -0000	1.16
@@ -1,6 +1,6 @@
 Name:		qcad
 Version:	2.0.5.0
-Release:	7%{?dist}
+Release:	8%{?dist}
 Summary:	Simple 2D CAD program
 
 Group:		Applications/Engineering
@@ -13,6 +13,7 @@
 Patch3:         qcad-64bit.patch
 Patch4:         qcad-nopedantic.patch
 Patch5:         qcad-arc.patch
+Patch6:         qcad-gcc43.patch
 URL:		http://www.ribbonsoft.com/qcad.html
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:	qt-devel >= 3.1.2, python-devel, desktop-file-utils
@@ -40,6 +41,7 @@
 %patch3 -p1 -b .64bit
 %patch4 -p1 -b .nopedantic
 %patch5 -p1 -b .arc
+%patch6 -p1 -b .gcc43
 
 
 %build
@@ -121,6 +123,9 @@
 
 
 %changelog
+* Fri Feb 22 2008 Gerard Milmeister <gemi at bluewin.ch> - 2.0.5.0-8
+- patch to compile with GCC 4.3
+
 * Mon Feb 18 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 2.0.5.0-7
 - Autorebuild for GCC 4.3
 




More information about the fedora-extras-commits mailing list