summaryrefslogtreecommitdiff
path: root/astro
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2006-01-04 20:32:16 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2006-01-04 20:32:16 +0000
commit2ddb84e1aee6e90076c6f9a0830f6da08cf1f616 (patch)
treed4d2622c7183c562a5c7a3222a805df2ed098a46 /astro
parentUpdate port gnome x11/workrave from 1.6 to 1.8 (solves kde problem) (diff)
xglobe does not show markers
When you compile xglobe from ports and start it with xglobe -markers it does not show the markers. PR: ports/82270 Submitted by: Florian Smeets <flo@kasimir.com> Reviewed by: edwin@FreeBSD.org Approved by: maintainer timeout
Notes
Notes: svn path=/head/; revision=152741
Diffstat (limited to 'astro')
-rw-r--r--astro/xglobe/Makefile2
-rw-r--r--astro/xglobe/files/patch-renderer.cpp13
2 files changed, 12 insertions, 3 deletions
diff --git a/astro/xglobe/Makefile b/astro/xglobe/Makefile
index bd7b625d29f8..0bcec80242bc 100644
--- a/astro/xglobe/Makefile
+++ b/astro/xglobe/Makefile
@@ -7,7 +7,7 @@
PORTNAME= xglobe
PORTVERSION= 0.5
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= astro
MASTER_SITES= ftp://quatramaran.ens.fr/pub/espie/
diff --git a/astro/xglobe/files/patch-renderer.cpp b/astro/xglobe/files/patch-renderer.cpp
index ae0ec071695c..de20cc228a18 100644
--- a/astro/xglobe/files/patch-renderer.cpp
+++ b/astro/xglobe/files/patch-renderer.cpp
@@ -1,5 +1,14 @@
---- renderer.cpp.orig Mon Dec 6 17:13:35 1999
-+++ renderer.cpp Sun Jan 26 09:32:22 2003
+--- renderer.cpp.orig Tue Dec 7 03:13:35 1999
++++ renderer.cpp Wed Jan 4 23:17:40 2006
+@@ -1434,7 +1434,7 @@
+
+ for(wx=0 ; wx<visiblerect.width(); wx++)
+ {
+- switch(*src++)
++ switch((*src++)&0x00FFFFFF)
+ {
+ case 0x00000000:
+ *dest++ = 0;
@@ -1483,8 +1483,8 @@
labelstring.sprintf("%s, %s %d. %d, %d:%02d %s\n"
"View pos %2.2f° %c %2.2f° %c\n"