Package: chrony Severity: normal Tags: patch When building 'chrony' on amd64 with gcc-4.0, I get the following error:
In file included from manual.c:40: logging.h:80: warning: type qualifiers ignored on function return type gcc -Wmissing-prototypes -Wall -O2 -g -DLINUX -DHAS_STDINT_H -DHAS_INTTYPES_H -c addrfilt.c addrfilt.c:48: error: array type has incomplete element type With the attached patch 'chrony' can be compiled on amd64 using gcc-4.0. The patch also changes the Build-Depends from libreadline4-dev to libreadline5-dev. Regards Andreas Jochens diff -urN ../tmp-orig/chrony-1.20/addrfilt.c ./addrfilt.c --- ../tmp-orig/chrony-1.20/addrfilt.c 2002-03-01 00:27:08.000000000 +0100 +++ ./addrfilt.c 2005-03-09 14:16:47.986439478 +0100 @@ -45,7 +45,7 @@ struct _TableNode; -typedef struct _TableNode ExtendedTable[TABLE_SIZE]; +typedef struct _TableNode *ExtendedTable; typedef enum {DENY, ALLOW, AS_PARENT} State; diff -urN ../tmp-orig/chrony-1.20/debian/control ./debian/control --- ../tmp-orig/chrony-1.20/debian/control 2005-03-09 14:17:40.049524686 +0100 +++ ./debian/control 2005-03-09 14:11:34.066162614 +0100 @@ -3,7 +3,7 @@ Priority: extra Maintainer: John Hasler <[EMAIL PROTECTED]> Standards-Version: 3.5.8.0 -Build-Depends: debhelper, libreadline4-dev, texinfo, bison +Build-Depends: debhelper, libreadline5-dev, texinfo, bison Package: chrony Architecture: any -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]