diff options
Diffstat (limited to 'net-dialup/gnuradius/files/gnuradius-1.5-gcc41.patch')
-rw-r--r-- | net-dialup/gnuradius/files/gnuradius-1.5-gcc41.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/net-dialup/gnuradius/files/gnuradius-1.5-gcc41.patch b/net-dialup/gnuradius/files/gnuradius-1.5-gcc41.patch new file mode 100644 index 000000000000..a269dfc993b5 --- /dev/null +++ b/net-dialup/gnuradius/files/gnuradius-1.5-gcc41.patch @@ -0,0 +1,23 @@ +diff -Nru radius-1.5.orig/include/radiusd.h radius-1.5/include/radiusd.h +--- radius-1.5.orig/include/radiusd.h 2007-06-27 15:54:21.000000000 +0300 ++++ radius-1.5/include/radiusd.h 2007-07-14 09:17:16.000000000 +0300 +@@ -340,7 +340,6 @@ + extern int max_threads; + extern int num_threads; + #ifdef USE_SERVER_GUILE +-extern unsigned scheme_gc_interval; + extern u_int scheme_task_timeout; + #endif + #ifdef USE_SNMP +diff -Nru radius-1.5.orig/radiusd/log.c radius-1.5/radiusd/log.c +--- radius-1.5.orig/radiusd/log.c 2007-06-27 15:54:22.000000000 +0300 ++++ radius-1.5/radiusd/log.c 2007-07-14 09:17:16.000000000 +0300 +@@ -185,7 +185,7 @@ + if (rewrite_invoke(String, + &val, + hook_name, +- req, ++ (grad_request_t *)req, + "isi", + req->code, + grad_nas_request_to_name(req, |