From 2fc1d6e9e3c26283edf0e2dbf389a40a9aa68e10 Mon Sep 17 00:00:00 2001 From: bsam Date: Tue, 22 May 2007 19:09:21 +0000 Subject: . unbreak building with gcc-4.2 (delete extra qualifications), this should unbreak astro/celestia-gtk and astro/celestia-gnome as well; . bump PORTREVISION. Pointed out by: pointyhat, kris at ports-developers Approved by: portmgr (erwin), jylefort (maintainer, implicit) Stolen from: debian @ FreeNode IRC archive --- astro/celestia/Makefile | 2 +- astro/celestia/files/patch-src_celengine_command.h | 11 +++++++++++ astro/celestia/files/patch-src_celengine_star.h | 11 +++++++++++ 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 astro/celestia/files/patch-src_celengine_command.h create mode 100644 astro/celestia/files/patch-src_celengine_star.h (limited to 'astro/celestia') diff --git a/astro/celestia/Makefile b/astro/celestia/Makefile index a678d200f277..693cda07c1ce 100644 --- a/astro/celestia/Makefile +++ b/astro/celestia/Makefile @@ -7,7 +7,7 @@ PORTNAME= celestia PORTVERSION= 1.4.1 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= astro MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= celestia diff --git a/astro/celestia/files/patch-src_celengine_command.h b/astro/celestia/files/patch-src_celengine_command.h new file mode 100644 index 000000000000..23e551db6216 --- /dev/null +++ b/astro/celestia/files/patch-src_celengine_command.h @@ -0,0 +1,11 @@ +--- src/celengine/command.h.orig Tue May 22 13:29:01 2007 ++++ src/celengine/command.h Tue May 22 13:29:30 2007 +@@ -94,7 +94,7 @@ + class CommandGotoLongLat : public InstantaneousCommand + { + public: +- CommandGotoLongLat::CommandGotoLongLat(double t, ++ CommandGotoLongLat(double t, + double dist, + float _longitude, float _latitude, + Vec3f _up); diff --git a/astro/celestia/files/patch-src_celengine_star.h b/astro/celestia/files/patch-src_celengine_star.h new file mode 100644 index 000000000000..776398ccfe9b --- /dev/null +++ b/astro/celestia/files/patch-src_celengine_star.h @@ -0,0 +1,11 @@ +--- src/celengine/star.h.orig Tue May 22 12:51:07 2007 ++++ src/celengine/star.h Tue May 22 12:51:22 2007 +@@ -30,7 +30,7 @@ + // orbits and StarDetails objects. Currently, it's assumed that they + // have lifetimes that continue until program termination. + public: +- StarDetails::StarDetails(); ++ StarDetails(); + + inline float getRadius() const; + inline float getTemperature() const; -- cgit