Browse Source

Updated chrony (1.21 -> 1.23) , removed obsolete gcc4.patch

early
Aldas Nabazas 17 years ago
parent
commit
f9bd8cafc6
  1. 6
      network/chrony/chrony.desc
  2. 35
      network/chrony/gcc4.patch

6
network/chrony/chrony.desc

@ -3,7 +3,7 @@
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY]
[COPY] Filename: package/.../chrony/chrony.desc
[COPY] Copyright (C) 2006 The OpenSDE Project
[COPY] Copyright (C) 2006 - 2008 The OpenSDE Project
[COPY] Copyright (C) 2004 - 2006 The T2 SDE Project
[COPY] Copyright (C) 1998 - 2003 Clifford Wolf
[COPY]
@ -29,8 +29,8 @@
[L] OpenSource
[S] Stable
[V] 1.21
[V] 1.23
[P] X -----5---9 133.400
[D] 2938555030 chrony-1.21.tar.gz http://chrony.sunsite.dk/download/
[D] 3776376232 chrony-1.23.tar.gz http://chrony.sunsite.dk/download/

35
network/chrony/gcc4.patch

@ -1,35 +0,0 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../chrony/gcc4.patch
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
--- chrony-1.21/addrfilt.c.orig 2005-08-11 22:32:54.000000000 +0200
+++ chrony-1.21/addrfilt.c 2005-09-04 11:05:54.000000000 +0200
@@ -45,7 +45,7 @@
struct _TableNode;
-typedef struct _TableNode ExtendedTable[TABLE_SIZE];
+typedef struct _TableNode *ExtendedTable;
typedef enum {DENY, ALLOW, AS_PARENT} State;
@@ -124,7 +124,7 @@
if (node->extended == NULL) {
- node->extended = MallocNew(ExtendedTable);
+ node->extended = MallocArray(ExtendedTable, TABLE_SIZE);
for (i=0; i<TABLE_SIZE; i++) {
child_node = &((*(node->extended))[i]);
Loading…
Cancel
Save