Fwd from the DebianGIS mailing list--
whoami.c and sw_output.c appear to be already fixed in the 6.1 CVS,
but AFAICT NVIZ's query_vect() still needs to be listed in interface.h?
(position.c below).
--Hamish
---------------------------------------------------------------
Begin forwarded message:
Date: Thu, 15 Sep 2005 15:39:49 -0600
From: dann frazier <dannf@hp.com>
To: submit@bugs.debian.org
Cc: David Mosberger <David.Mosberger@acm.org>
Subject: [DebianGIS-dev] Bug#328519: [Fwd: Log for successful build of
grass_6.0.1-1 (dist=unstable)]
Package: grass
Version: 6.0.1-1
Tags: patch
Severity: important
Our automated buildd log filter[1] detected a problem that will cause
your package to segfault on architectures where the size of a pointer is
greater than the size of an integer, such as ia64.
[1]http://people.debian.org/~dannf/check-implicit-pointer-functions
diff -urN grass-6.0.0.orig/lib/db/dbmi_base/whoami.c
grass-6.0.0/lib/db/dbmi_base/whoami.c
--- grass-6.0.0.orig/lib/db/dbmi_base/whoami.c 2004-10-06 09:38:57.000000000 -0600
+++ grass-6.0.0/lib/db/dbmi_base/whoami.c 2005-09-15 15:38:26.000000000 -0600
@@ -1,4 +1,6 @@
#include <stdio.h>
+#include <stdlib.h>
+#include "gisdefs.h"
/*!
\fn
diff -urN grass-6.0.0.orig/vector/v.voronoi/sw_output.c
grass-6.0.0/vector/v.voronoi/sw_output.c
--- grass-6.0.0.orig/vector/v.voronoi/sw_output.c 2004-10-02 05:03:15.000000000 -0600
+++ grass-6.0.0/vector/v.voronoi/sw_output.c 2005-09-15 15:38:25.000000000 -0600
@@ -3,6 +3,7 @@
#include <float.h>
#include "sw_defs.h"
#include "write.h"
+#include "Vect.h"
int openpl (void){return 0;}
int line (int a,int b,int c,int d){return 0;}
diff -urN grass-6.0.0.orig/visualization/nviz/src/position.c
grass-6.0.0/visualization/nviz/src/position.c
--- grass-6.0.0.orig/visualization/nviz/src/position.c 2004-10-18 11:01:00.000000000 -0600
+++ grass-6.0.0/visualization/nviz/src/position.c 2005-09-15 15:38:26.000000000 -0600
@@ -4,6 +4,8 @@
#include <stdlib.h>
#include "interface.h"
+char *query_vect( char *name, double x, double y );
+
int Ninit_view_cmd(Nv_data * data, Tcl_Interp * interp, /* Current
interpreter. */
int argc, /* Number of arguments. */
char **argv /* Argument strings. */
(attachments)
00000001.mimetmp (182 Bytes)