head	1.2;
access;
symbols
	pkgsrc-2013Q2:1.2.0.16
	pkgsrc-2013Q2-base:1.2
	pkgsrc-2012Q4:1.2.0.14
	pkgsrc-2012Q4-base:1.2
	pkgsrc-2011Q4:1.2.0.12
	pkgsrc-2011Q4-base:1.2
	pkgsrc-2011Q2:1.2.0.10
	pkgsrc-2011Q2-base:1.2
	pkgsrc-2009Q4:1.2.0.8
	pkgsrc-2009Q4-base:1.2
	pkgsrc-2008Q4:1.2.0.6
	pkgsrc-2008Q4-base:1.2
	pkgsrc-2008Q3:1.2.0.4
	pkgsrc-2008Q3-base:1.2
	cube-native-xorg:1.2.0.2
	cube-native-xorg-base:1.2
	pkgsrc-2008Q2:1.1.0.8
	pkgsrc-2008Q2-base:1.1
	cwrapper:1.1.0.6
	pkgsrc-2008Q1:1.1.0.4
	pkgsrc-2008Q1-base:1.1
	pkgsrc-2007Q4:1.1.0.2
	pkgsrc-2007Q4-base:1.1;
locks; strict;
comment	@# @;


1.2
date	2008.08.12.16.37.32;	author sborrill;	state dead;
branches;
next	1.1;

1.1
date	2007.11.30.22.53.54;	author rillig;	state Exp;
branches
	1.1.8.1;
next	;

1.1.8.1
date	2008.08.14.08.19.29;	author rtr;	state dead;
branches;
next	;


desc
@@


1.2
log
@Update to 1.23 and fix coredump on NetBSD 4.0 and later.

The changes in version 1.23 are

    * Support for MIPS, x86_64, sparc, alpha, arm, FreeBSD
    * Fix serious sign-extension error in handling IP addresses
    * RTC support can be excluded at compile time
    * Make sources gcc-4 compatible
    * Fix various compiler warnings
    * Handle fluctuations in peer distance better.
    * Fixed handling of stratum zero.
    * Fix various problems for 64-bit systems
    * Flush chronyc output streams after each command, to allow it to be
    driven through pipes
    * Manpage improvements

The changes in version 1.21 are

    * Don't include Linux kernel header files any longer : allows chrony to
      compile on recent distros.
    * Stop trying to use RTC if continuous streams of error messages would
      occur (Linux with HPET).
@
text
@$NetBSD: patch-ah,v 1.1 2007/11/30 22:53:54 rillig Exp $

Resolved recursive data type.

--- addrfilt.c.orig	2002-02-28 23:27:08.000000000 +0000
+++ addrfilt.c	2007-11-30 22:49:50.000000000 +0000
@@@@ -43,15 +43,11 @@@@
 /* Define the table size */
 #define TABLE_SIZE (1UL<<NBITS)
 
-struct _TableNode;
-
-typedef struct _TableNode ExtendedTable[TABLE_SIZE];
-
 typedef enum {DENY, ALLOW, AS_PARENT} State;
 
-typedef struct _TableNode {
+typedef struct TableNode {
   State state;
-  ExtendedTable *extended;
+  struct TableNode **extended;	/* [TABLE_SIZE] */
 } TableNode;
 
 struct ADF_AuthTableInst {
@@@@ -124,7 +120,7 @@@@ open_node(TableNode *node)
 
   if (node->extended == NULL) {
 
-    node->extended = MallocNew(ExtendedTable);
+    node->extended = malloc(sizeof(*node->extended) * TABLE_SIZE);
 
     for (i=0; i<TABLE_SIZE; i++) {
       child_node = &((*(node->extended))[i]);
@


1.1
log
@Fixed gcc4 build failure.
@
text
@d1 1
a1 1
$NetBSD$
@


1.1.8.1
log
@pullup ticket #2483 - requested by sborrill
chrony: update package for fixes

revisions pulled up:
pkgsrc/net/chrony/Makefile		1.24
pkgsrc/net/chrony/distinfo		1.6
pkgsrc/net/chrony/patches/patch-ag	1.2
pkgsrc/net/chrony/patches/patch-ah	0

   Module Name:	pkgsrc
   Committed By:	sborrill
   Date:		Tue Aug 12 16:37:32 UTC 2008

   Modified Files:
   	pkgsrc/net/chrony: Makefile distinfo
   	pkgsrc/net/chrony/patches: patch-ag
   Removed Files:
   	pkgsrc/net/chrony/patches: patch-ah

   Log Message:
   Update to 1.23 and fix coredump on NetBSD 4.0 and later.

   The changes in version 1.23 are

       * Support for MIPS, x86_64, sparc, alpha, arm, FreeBSD
       * Fix serious sign-extension error in handling IP addresses
       * RTC support can be excluded at compile time
       * Make sources gcc-4 compatible
       * Fix various compiler warnings
       * Handle fluctuations in peer distance better.
       * Fixed handling of stratum zero.
       * Fix various problems for 64-bit systems
       * Flush chronyc output streams after each command, to allow it to be
       driven through pipes
       * Manpage improvements

   The changes in version 1.21 are

       * Don't include Linux kernel header files any longer : allows chrony to
         compile on recent distros.
       * Stop trying to use RTC if continuous streams of error messages would
         occur (Linux with HPET).
@
text
@d1 1
a1 1
$NetBSD: patch-ah,v 1.1 2007/11/30 22:53:54 rillig Exp $
@


