From bae76a134e1981c1279d89eefb36e95fcbb17018 Mon Sep 17 00:00:00 2001 From: Dirk Meyer Date: Sat, 7 Oct 2006 18:53:56 +0000 Subject: [PATCH] - fix build for gcc41 --- net/radiusd-cistron/files/patch-radiusd.c | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/net/radiusd-cistron/files/patch-radiusd.c b/net/radiusd-cistron/files/patch-radiusd.c index 7bafe4d3c2b1..28cd4c6ecf1b 100644 --- a/net/radiusd-cistron/files/patch-radiusd.c +++ b/net/radiusd-cistron/files/patch-radiusd.c @@ -1,5 +1,21 @@ --- src/radiusd.c.orig Wed Jul 2 11:39:03 2003 -+++ src/radiusd.c Fri Jul 9 15:57:46 2004 ++++ src/radiusd.c Sat Oct 7 20:51:28 2006 +@@ -46,6 +46,7 @@ + char *radacct_dir; + int log_stripped_names; + int cache_passwd = 0; ++int radius_pid; + int use_dbm = 0; + int use_wtmp = 1; + int use_utmp = 1; +@@ -72,7 +73,6 @@ + static int acctfd; + static int spawn_flag; + static int acct_pid; +-static int radius_pid; + static int need_reload = 0; + static time_t start_time; + static AUTH_REQ *first_request; @@ -612,6 +612,7 @@ if ((cl = client_find(authreq->ipaddr)) == NULL) { log(L_ERR, "packet from unknown client/host: %s",