[DebianGIS-dev] Bug#328030: mapserver: implicitly converted pointers
dann frazier
dannf at dannf.org
Tue Sep 13 02:51:49 UTC 2005
Package: mapserver
Version: 4.6.1-2
Severity: important
Tags: patch
Our automated buildd log filter[1] detected a problem[2] 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.
The _XOPEN_SOURCE definition fixes this warning; the #include
<strings.h> fixes another warning about strcasecmp().
[1]http://people.debian.org/~dannf/check-implicit-pointer-functions
[2]Function `strptime' implicitly converted to pointer at maptime.c:166
--- mapserver-4.6.1/maptime.c.orig 2005-09-12 20:48:05.000000000 -0600
+++ mapserver-4.6.1/maptime.c 2005-09-12 20:49:12.000000000 -0600
@@ -44,9 +44,11 @@
*
*/
+#define _XOPEN_SOURCE
#include <stdlib.h>
#include <stdio.h>
#include <time.h>
+#include <strings.h>
#include "map.h"
#include "maptime.h"
--
dann frazier <dannf at dannf.org>
More information about the Pkg-grass-devel
mailing list