diff options
author | Markus Dittrich <markusle@gentoo.org> | 2008-04-27 12:54:28 +0000 |
---|---|---|
committer | Markus Dittrich <markusle@gentoo.org> | 2008-04-27 12:54:28 +0000 |
commit | 9763ac40307518d090236de983fae49572382a60 (patch) | |
tree | c5981152db40a863ab01fbbfc8056451c6433c44 /sci-misc/qcad | |
parent | Update patch with the one from Philipp in bug #212824. (diff) | |
download | gentoo-2-9763ac40307518d090236de983fae49572382a60.tar.gz gentoo-2-9763ac40307518d090236de983fae49572382a60.tar.bz2 gentoo-2-9763ac40307518d090236de983fae49572382a60.zip |
Added gcc4.3 compatibility patch (fixes bug #219424).
(Portage version: 2.1.5_rc6)
Diffstat (limited to 'sci-misc/qcad')
-rw-r--r-- | sci-misc/qcad/ChangeLog | 7 | ||||
-rw-r--r-- | sci-misc/qcad/files/qcad-2.0.4.0-gcc43.patch | 45 | ||||
-rw-r--r-- | sci-misc/qcad/qcad-2.0.4.0-r5.ebuild | 5 |
3 files changed, 54 insertions, 3 deletions
diff --git a/sci-misc/qcad/ChangeLog b/sci-misc/qcad/ChangeLog index c4d440eb50a9..9f53502783c7 100644 --- a/sci-misc/qcad/ChangeLog +++ b/sci-misc/qcad/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-misc/qcad # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-misc/qcad/ChangeLog,v 1.25 2008/02/29 20:42:08 carlo Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-misc/qcad/ChangeLog,v 1.26 2008/04/27 12:54:27 markusle Exp $ + + 27 Apr 2008; Markus Dittrich <markusle@gentoo.org> + +files/qcad-2.0.4.0-gcc43.patch, qcad-2.0.4.0-r5.ebuild: + Added gcc4.3 compatibility patch (fixes bug #219424). Thanks much to Peter + Alfredsen <peter.alfredsen@gmail.com>. 29 Feb 2008; Carsten Lohrke <carlo@gentoo.org> ChangeLog: Remove icon extension from desktop entry to match Icon Theme Specification. diff --git a/sci-misc/qcad/files/qcad-2.0.4.0-gcc43.patch b/sci-misc/qcad/files/qcad-2.0.4.0-gcc43.patch new file mode 100644 index 000000000000..bc68e81c715b --- /dev/null +++ b/sci-misc/qcad/files/qcad-2.0.4.0-gcc43.patch @@ -0,0 +1,45 @@ +diff -Naur qcad-2.0.4.0-1.src/dxflib/src/dl_writer_ascii.cpp qcad-2.0.4.0-1.src.new/dxflib/src/dl_writer_ascii.cpp +--- qcad-2.0.4.0-1.src/dxflib/src/dl_writer_ascii.cpp 2004-09-14 16:13:01.000000000 -0400 ++++ qcad-2.0.4.0-1.src.new/dxflib/src/dl_writer_ascii.cpp 2008-04-27 08:35:47.000000000 -0400 +@@ -30,6 +30,7 @@ + #endif // _MSC_VER > 1000 + + #include <stdio.h> ++#include <cstring> + + #include "dl_writer_ascii.h" + #include "dl_exception.h" +diff -Naur qcad-2.0.4.0-1.src/dxflib/src/dl_writer.h qcad-2.0.4.0-1.src.new/dxflib/src/dl_writer.h +--- qcad-2.0.4.0-1.src/dxflib/src/dl_writer.h 2004-09-14 16:13:01.000000000 -0400 ++++ qcad-2.0.4.0-1.src.new/dxflib/src/dl_writer.h 2008-04-27 08:35:48.000000000 -0400 +@@ -34,6 +34,7 @@ + + + #include <iostream> ++#include <cstring> + + #include "dl_attributes.h" + +diff -Naur qcad-2.0.4.0-1.src/qcadactions/src/rs_actionzoompan.cpp qcad-2.0.4.0-1.src.new/qcadactions/src/rs_actionzoompan.cpp +--- qcad-2.0.4.0-1.src/qcadactions/src/rs_actionzoompan.cpp 2004-09-14 16:13:03.000000000 -0400 ++++ qcad-2.0.4.0-1.src.new/qcadactions/src/rs_actionzoompan.cpp 2008-04-27 08:35:48.000000000 -0400 +@@ -28,6 +28,7 @@ + #include "rs_snapper.h" + #include "rs_point.h" + ++#include <cstdlib> + + RS_ActionZoomPan::RS_ActionZoomPan(RS_EntityContainer& container, + RS_GraphicView& graphicView) +diff -Naur qcad-2.0.4.0-1.src/qcadlib/src/information/rs_information.h qcad-2.0.4.0-1.src.new/qcadlib/src/information/rs_information.h +--- qcad-2.0.4.0-1.src/qcadlib/src/information/rs_information.h 2004-09-14 16:13:02.000000000 -0400 ++++ qcad-2.0.4.0-1.src.new/qcadlib/src/information/rs_information.h 2008-04-27 08:35:48.000000000 -0400 +@@ -31,7 +31,7 @@ + #include "rs_line.h" + #include "rs_arc.h" + +- ++#include <cstdlib> + + /** + * Class for getting information about entities. This includes diff --git a/sci-misc/qcad/qcad-2.0.4.0-r5.ebuild b/sci-misc/qcad/qcad-2.0.4.0-r5.ebuild index d84dc8881599..b86d63c18e83 100644 --- a/sci-misc/qcad/qcad-2.0.4.0-r5.ebuild +++ b/sci-misc/qcad/qcad-2.0.4.0-r5.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-misc/qcad/qcad-2.0.4.0-r5.ebuild,v 1.3 2008/02/29 20:42:08 carlo Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-misc/qcad/qcad-2.0.4.0-r5.ebuild,v 1.4 2008/04/27 12:54:27 markusle Exp $ inherit kde-functions eutils @@ -37,6 +37,7 @@ src_unpack() { epatch "${FILESDIR}"/${MY_P}-gentoo.patch epatch "${FILESDIR}"/manual.patch-r1 epatch "${FILESDIR}"/${MY_P}-intptr.patch + epatch "${FILESDIR}"/${P}-gcc43.patch cd "${S}"/scripts sed -i -e 's/^make/make ${MAKEOPTS}/' build_qcad.sh || \ die "unable to add MAKEOPTS" |