Package: crack
Version: 5.0a-7
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 crypt() function.  See
crypt(3) for details.

[1]http://people.debian.org/~dannf/check-implicit-pointer-functions
[2] Function `crypt' implicitly converted to pointer at elcid.c:159
    Function `crypt' implicitly converted to pointer at elcid.c:139

diff -urN crack-5.0a.orig/src/util/Makefile crack-5.0a/src/util/Makefile
--- crack-5.0a.orig/src/util/Makefile   2005-08-16 10:57:13.000000000 -0600
+++ crack-5.0a/src/util/Makefile        2005-08-16 11:00:40.000000000 -0600
@@ -9,7 +9,7 @@
 # document which accompanies distributions of Crack v5.0 and upwards.
 ###
 
-CFLAGS= $(XCFLAGS) -I../lib
+CFLAGS= $(XCFLAGS) -I../lib -D_XOPEN_SOURCE
 CC=     $(XCC)
 
 XLIB=$(XDIR)/libc5.a $(XLIBS)





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

Reply via email to