[GRASS5] Unofficial Grass 5.0.2 for Debian Woody available

Markus Neteler neteler at itc.it
Mon Jul 7 11:06:28 EDT 2003


Hi developers,

On Tue, Jul 01, 2003 at 07:40:43AM +0200, Nephero wrote:
[...]
> Here there's the small fix I made to fix PNGdriver which didn't compile at once:
> http://ezralabs.esaurito.net/repository/debian/grass/patch-Text2.c
[...]

Should we apply this patch?

Markus

--- src/display/devices/lib/Text2.c	Fri Jun 20 17:40:24 2003
+++ /home/c9/grass-4.99+5.0.0pre4/src/display/devices/lib/Text2.c	Sat
Feb 16 08:22:57 2002
@@ -170,11 +170,9 @@
 	double text_size_x,double text_size_y,double text_rotation,
 	char *string)
 {
-double sinrot,cosrot;
-	//double sinrot = sin (D2R (text_rotation)) ;
-	//double cosrot = cos (D2R (text_rotation)) ;
-	sinrot = sin (D2R (text_rotation)) ;
-	cosrot = cos (D2R (text_rotation)) ;
+	double sinrot = sin (D2R (text_rotation)) ;
+	double cosrot = cos (D2R (text_rotation)) ;
+
 	am_inside = 0 ;
 	curx = basex = (double)x ;
 	cury = basey = (double)y ;




More information about the grass-dev mailing list