Package: cronolog
Version: 1.6.2-5
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.

_XOPEN_SOURCE must be defined when using the strptime() function.  See
strptime(3) for details.  There might be a more autoconfy patch, but
this one works.

[1]http://people.debian.org/~dannf/check-implicit-pointer-functions
[2]Function `strptime' implicitly converted to pointer at cronoutils.c:673

--- cronolog-1.6.2/src/Makefile.in~     2001-05-04 03:02:03.000000000 -0600
+++ cronolog-1.6.2/src/Makefile.in      2005-08-16 11:11:19.000000000 -0600
@@ -95,7 +95,7 @@
 cronolog_LDFLAGS = 
 SCRIPTS =  $(sbin_SCRIPTS)
 
-CFLAGS = @CFLAGS@
+CFLAGS = @CFLAGS@ -D_XOPEN_SOURCE
 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) 
$(CFLAGS)
 CCLD = $(CC)
 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@




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

Reply via email to