[GRASS5] Unofficial Grass 5.0.2 for Debian Woody available

As far as I can see the CVS version doesn't need that patch. Maybe the old
Debian version had some changes that weren't applied to the CVS? Certainly
I would have found the C++ comments when compiling on IRIX.
Paul

On Mon, 7 Jul 2003, Markus Neteler wrote:

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 ;

_______________________________________________
grass5 mailing list
grass5@grass.itc.it
http://grass.itc.it/mailman/listinfo/grass5

As far as I can see the CVS version doesn't need that patch. Maybe the
old Debian version had some changes that weren't applied to the CVS?

fyi, the Grass 5.0.0pre4 source as well as the diff's requried to make
the original Debian package are available from:
http://packages.debian.org/grass

so here are the pactches that were applied to 5.0.0pre4:
http://ftp.debian.org/debian/pool/main/g/grass/grass_4.99+5.0.0pre4-1.diff.gz

Hamish