summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-dialup/gnuradius/files/gnuradius-1.4-gcc41.patch')
-rw-r--r--net-dialup/gnuradius/files/gnuradius-1.4-gcc41.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/net-dialup/gnuradius/files/gnuradius-1.4-gcc41.patch b/net-dialup/gnuradius/files/gnuradius-1.4-gcc41.patch
new file mode 100644
index 000000000000..d22aec90b612
--- /dev/null
+++ b/net-dialup/gnuradius/files/gnuradius-1.4-gcc41.patch
@@ -0,0 +1,23 @@
+diff -Nru radius-1.4.orig/include/radiusd.h radius-1.4/include/radiusd.h
+--- radius-1.4.orig/include/radiusd.h 2006-09-08 10:37:33.000000000 +0300
++++ radius-1.4/include/radiusd.h 2006-11-27 19:14:32.715040847 +0200
+@@ -339,7 +339,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.4.orig/radiusd/log.c radius-1.4/radiusd/log.c
+--- radius-1.4.orig/radiusd/log.c 2006-08-17 00:15:57.000000000 +0300
++++ radius-1.4/radiusd/log.c 2006-11-27 19:14:32.715040847 +0200
+@@ -184,7 +184,7 @@
+ if (rewrite_invoke(String,
+ &val,
+ hook_name,
+- req,
++ (grad_request_t *)req,
+ "isi",
+ req->code,
+ grad_nas_request_to_name(req,