-AUX xplanet-1.2.0-gcc43.patch 4739 RMD160 4b9ceb96b20a27130cbc1473a7ad3abe4811618b SHA1 190c4e411488316166f9457d6727291348906145 SHA256 0912222b6835e50391b4d80a7adf7a764656f30def361f2c44e7ae38d9dbb11d
AUX xplanet-1.2.1-gentoo.patch 17675 RMD160 86da33b89cc5d4cfed9bc651521cc9b52ac7fb3f SHA1 52de8ec8f5d81f7514cf006a0cbeb54dfa116c71 SHA256 a57901e4ef4604e308f1dda42e866a38d35f122f24de8a4f011212f9a37caa56
-DIST xplanet-1.2.0.tar.gz 1196496 RMD160 68079629e82194f483caa0c06d73672544efbcbb SHA1 e002711f90f502565613ab17a273175cc035b52c SHA256 28eb36541dac40a13f4b0dcba310ecaa825287f64074c5175d261368d8290695
DIST xplanet-1.2.1.tar.gz 1211663 RMD160 06c5031ea702bca9cc6ed5ad8c81454a223f508e SHA1 c3810c303af8f0cb40520112d9cd1f24fa8b42b5 SHA256 f52d57e27747bc6faa5f3fb4a7f0b80c5fe810a1c303c078666eca97832ae5de
-EBUILD xplanet-1.2.0.ebuild 1802 RMD160 771b3a77bcd3a7e22e6437597356bffdba90a559 SHA1 571ee7f6c9e44662a1fcfe706d1aa574208bb219 SHA256 0f9ceb62db974d742c909ad56c45400061d6efbab64727497cf3a3e5f6b2d4f2
EBUILD xplanet-1.2.1.ebuild 1746 RMD160 1620aaae791e445024109b28c3bf57abd54ae0cd SHA1 64009d55d8b62a6a6ac706a43d3c5461a6b722cf SHA256 9ba83ba18b65c3e80324bffeecd8d0710f2b6dd72011fac81f4258f364715256
MISC ChangeLog 8746 RMD160 5a735b8ee83aa9fd8745a54a3c691aa120b0d622 SHA1 e99c6be0fc857e7ba3bf1f3cef915a4c7788ef12 SHA256 cc10cfad31a569d19d60424c052848db14451f4e9b689e66c18cd387ee0b28b1
MISC metadata.xml 166 RMD160 7b80226659bf40e97050b1ffce1858d5f20b3c60 SHA1 e6c6436c304a65b4a012a5b7be7ee264b228a645 SHA256 8e7de0a7f7c15840474de373a3ce36adcc5dd658b2e4d18366fcb63b964a0826
+++ /dev/null
-diff -ur xplanet-1.2.0.orig/src/buildPlanetMap.cpp xplanet-1.2.0/src/buildPlanetMap.cpp
---- xplanet-1.2.0.orig/src/buildPlanetMap.cpp 2004-04-20 23:47:21.000000000 +0200
-+++ xplanet-1.2.0/src/buildPlanetMap.cpp 2008-03-20 15:48:24.000000000 +0100
-@@ -1,5 +1,6 @@
- #include <cmath>
- #include <cstdio>
-+#include <cstdlib>
- #include <map>
- using namespace std;
-
-diff -ur xplanet-1.2.0.orig/src/libannotate/addArcs.cpp xplanet-1.2.0/src/libannotate/addArcs.cpp
---- xplanet-1.2.0.orig/src/libannotate/addArcs.cpp 2005-03-15 19:27:13.000000000 +0100
-+++ xplanet-1.2.0/src/libannotate/addArcs.cpp 2008-03-20 15:44:58.000000000 +0100
-@@ -3,7 +3,7 @@
- #include <fstream>
- #include <sstream>
- #include <map>
--#include <string>
-+#include <cstring>
- #include <vector>
- using namespace std;
-
-diff -ur xplanet-1.2.0.orig/src/libannotate/addMarkers.cpp xplanet-1.2.0/src/libannotate/addMarkers.cpp
---- xplanet-1.2.0.orig/src/libannotate/addMarkers.cpp 2004-08-29 22:41:58.000000000 +0200
-+++ xplanet-1.2.0/src/libannotate/addMarkers.cpp 2008-03-20 15:45:11.000000000 +0100
-@@ -5,7 +5,7 @@
- #include <fstream>
- #include <map>
- #include <sstream>
--#include <string>
-+#include <cstring>
- #include <vector>
- using namespace std;
-
-diff -ur xplanet-1.2.0.orig/src/libannotate/addSatellites.cpp xplanet-1.2.0/src/libannotate/addSatellites.cpp
---- xplanet-1.2.0.orig/src/libannotate/addSatellites.cpp 2004-07-23 02:46:20.000000000 +0200
-+++ xplanet-1.2.0/src/libannotate/addSatellites.cpp 2008-03-20 15:45:23.000000000 +0100
-@@ -4,7 +4,7 @@
- #include <fstream>
- #include <map>
- #include <sstream>
--#include <string>
-+#include <cstring>
- #include <vector>
- using namespace std;
-
-diff -ur xplanet-1.2.0.orig/src/libannotate/Icon.cpp xplanet-1.2.0/src/libannotate/Icon.cpp
---- xplanet-1.2.0.orig/src/libannotate/Icon.cpp 2004-02-16 19:36:42.000000000 +0100
-+++ xplanet-1.2.0/src/libannotate/Icon.cpp 2008-03-20 15:45:58.000000000 +0100
-@@ -1,4 +1,5 @@
- #include <sstream>
-+#include <cstring>
- using namespace std;
-
- #include "findFile.h"
-diff -ur xplanet-1.2.0.orig/src/libplanet/Planet.cpp xplanet-1.2.0/src/libplanet/Planet.cpp
---- xplanet-1.2.0.orig/src/libplanet/Planet.cpp 2005-06-14 20:04:05.000000000 +0200
-+++ xplanet-1.2.0/src/libplanet/Planet.cpp 2008-03-20 15:46:53.000000000 +0100
-@@ -2,7 +2,7 @@
- #include <cstdio>
- #include <cctype>
- #include <sstream>
--#include <string>
-+#include <cstring>
- using namespace std;
-
- #include "findFile.h"
-diff -ur xplanet-1.2.0.orig/src/libprojection/getProjection.cpp xplanet-1.2.0/src/libprojection/getProjection.cpp
---- xplanet-1.2.0.orig/src/libprojection/getProjection.cpp 2005-06-13 17:13:11.000000000 +0200
-+++ xplanet-1.2.0/src/libprojection/getProjection.cpp 2008-03-20 15:47:34.000000000 +0100
-@@ -1,5 +1,6 @@
- #include <cctype>
- #include <cstring>
-+#include <cstdlib>
- #include <sstream>
- #include <vector>
- using namespace std;
-diff -ur xplanet-1.2.0.orig/src/Map.cpp xplanet-1.2.0/src/Map.cpp
---- xplanet-1.2.0.orig/src/Map.cpp 2005-06-15 01:40:46.000000000 +0200
-+++ xplanet-1.2.0/src/Map.cpp 2008-03-20 15:48:01.000000000 +0100
-@@ -1,5 +1,6 @@
- #include <map>
- #include <sstream>
-+#include <cstdlib>
- #include <string>
- using namespace std;
-
-diff -ur xplanet-1.2.0.orig/src/parseColor.cpp xplanet-1.2.0/src/parseColor.cpp
---- xplanet-1.2.0.orig/src/parseColor.cpp 2004-11-23 18:49:48.000000000 +0100
-+++ xplanet-1.2.0/src/parseColor.cpp 2008-03-20 15:49:23.000000000 +0100
-@@ -2,7 +2,8 @@
- #include <fstream>
- #include <map>
- #include <sstream>
--#include <string>
-+#include <cstring>
-+#include <cstdlib>
- using namespace std;
-
- #include "findFile.h"
-diff -ur xplanet-1.2.0.orig/src/PlanetProperties.h xplanet-1.2.0/src/PlanetProperties.h
---- xplanet-1.2.0.orig/src/PlanetProperties.h 2005-04-02 02:43:06.000000000 +0200
-+++ xplanet-1.2.0/src/PlanetProperties.h 2008-03-20 15:46:16.000000000 +0100
-@@ -1,7 +1,7 @@
- #ifndef PLANETPROPERTIES_H
- #define PLANETPROPERTIES_H
-
--#include <string>
-+#include <cstring>
- #include <vector>
-
- #include "body.h"
-diff -ur xplanet-1.2.0.orig/src/xplanet.cpp xplanet-1.2.0/src/xplanet.cpp
---- xplanet-1.2.0.orig/src/xplanet.cpp 2004-09-09 17:46:05.000000000 +0200
-+++ xplanet-1.2.0/src/xplanet.cpp 2008-03-20 15:50:21.000000000 +0100
-@@ -1,5 +1,6 @@
- #include <clocale>
- #include <cstdio>
-+#include <cstdlib>
- #include <iostream>
- #include <map>
- #include <sstream>
-diff -ur xplanet-1.2.0.orig/src/xpUtil.cpp xplanet-1.2.0/src/xpUtil.cpp
---- xplanet-1.2.0.orig/src/xpUtil.cpp 2005-04-02 02:22:51.000000000 +0200
-+++ xplanet-1.2.0/src/xpUtil.cpp 2008-03-20 15:50:06.000000000 +0100
-@@ -5,7 +5,8 @@
- #include <ctime>
- #include <iostream>
- #include <sstream>
--#include <string>
-+#include <cstring>
-+#include <cstdlib>
- using namespace std;
-
- #include <unistd.h>
+++ /dev/null
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/xplanet/xplanet-1.2.0.ebuild,v 1.13 2008/05/03 19:02:05 drac Exp $
-
-inherit eutils
-
-DESCRIPTION="a program to render images of the earth into the X root window"
-HOMEPAGE="http://xplanet.sourceforge.net"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 hppa ppc ppc64 sparc x86"
-IUSE="gif jpeg X truetype tiff png"
-
-RDEPEND="X? ( x11-libs/libX11
- x11-libs/libXScrnSaver
- x11-libs/libXt
- x11-libs/libXext )
- gif? ( media-libs/giflib )
- jpeg? ( media-libs/jpeg )
- tiff? ( media-libs/tiff )
- png? ( media-libs/libpng
- media-libs/netpbm )
- truetype? ( =media-libs/freetype-2*
- x11-libs/pango )"
-DEPEND="${RDEPEND}
- X? ( x11-proto/xproto
- x11-proto/scrnsaverproto )"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/${P}-gcc43.patch
-}
-
-src_compile() {
- local myconf
-
- use X \
- && myconf="${myconf} --with-x --with-xscreensaver" \
- || myconf="${myconf} --with-x=no --with-xscreensaver=no"
-
- use gif \
- && myconf="${myconf} --with-gif" \
- || myconf="${myconf} --with-gif=no"
-
- use jpeg \
- && myconf="${myconf} --with-jpeg" \
- || myconf="${myconf} --with-jpeg=no"
-
- use tiff \
- && myconf="${myconf} --with-tiff" \
- || myconf="${myconf} --with-tiff=no"
-
- use png \
- && myconf="${myconf} --with-png --with-pnm" \
- || myconf="${myconf} --with-png=no --with-pnm=no"
-
- use truetype \
- && myconf="${myconf} --with-freetype --with-pango" \
- || myconf="${myconf} --with-freetype=no --with-pango=no"
-
- econf --with-cspice=no ${myconf}
- emake -j1 || die "emake failed."
-}
-
-src_install () {
- emake DESTDIR="${D}" install || die "emake install failed."
- dodoc AUTHORS ChangeLog NEWS README TODO
-}