aboutsummaryrefslogtreecommitdiffstats
path: root/astro/celestia
diff options
context:
space:
mode:
authorbsam <bsam@FreeBSD.org>2007-05-23 03:09:21 +0800
committerbsam <bsam@FreeBSD.org>2007-05-23 03:09:21 +0800
commit2fc1d6e9e3c26283edf0e2dbf389a40a9aa68e10 (patch)
tree6cf4a3d5f4da4bb5856c7149704d5f6da224ca3a /astro/celestia
parentab0f30db40b2a6d233af9c5348d5502b70149f38 (diff)
downloadfreebsd-ports-gnome-2fc1d6e9e3c26283edf0e2dbf389a40a9aa68e10.tar.gz
freebsd-ports-gnome-2fc1d6e9e3c26283edf0e2dbf389a40a9aa68e10.tar.zst
freebsd-ports-gnome-2fc1d6e9e3c26283edf0e2dbf389a40a9aa68e10.zip
. 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
Diffstat (limited to 'astro/celestia')
-rw-r--r--astro/celestia/Makefile2
-rw-r--r--astro/celestia/files/patch-src_celengine_command.h11
-rw-r--r--astro/celestia/files/patch-src_celengine_star.h11
3 files changed, 23 insertions, 1 deletions
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;