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 <[EMAIL PROTECTED]>



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to