summaryrefslogtreecommitdiffstats
path: root/main/freeradius/freeradius-2.1.6-nothreads.patch
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@gmail.com>2010-10-25 12:29:17 +0000
committerLeonardo Arena <rnalrd@gmail.com>2010-10-25 12:29:44 +0000
commit7901aaada9de9473336772ba54f4a37734f76b6d (patch)
tree3b5189489f9ee02b834b77eb026e1609d4427b54 /main/freeradius/freeradius-2.1.6-nothreads.patch
parent45a3bc8ebaa875b88786682ea94c4fb7f152b1f9 (diff)
downloadaports-7901aaada9de9473336772ba54f4a37734f76b6d.tar.bz2
aports-7901aaada9de9473336772ba54f4a37734f76b6d.tar.xz
testing/freeradius: move to main
Diffstat (limited to 'main/freeradius/freeradius-2.1.6-nothreads.patch')
-rw-r--r--main/freeradius/freeradius-2.1.6-nothreads.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/main/freeradius/freeradius-2.1.6-nothreads.patch b/main/freeradius/freeradius-2.1.6-nothreads.patch
new file mode 100644
index 000000000..41a41c8d6
--- /dev/null
+++ b/main/freeradius/freeradius-2.1.6-nothreads.patch
@@ -0,0 +1,13 @@
+diff -Nru freeradius-server-2.1.6.orig/src/main/event.c freeradius-server-2.1.6/src/main/event.c
+--- freeradius-server-2.1.6.orig/src/main/event.c 2009-05-18 13:13:55.000000000 +0200
++++ freeradius-server-2.1.6/src/main/event.c 2009-09-05 07:52:42.000000000 +0200
+@@ -1667,7 +1667,9 @@
+ */
+ request->num_proxied_requests = 1;
+ request->num_proxied_responses = 0;
++#ifdef HAVE_PTHREAD_H
+ request->child_pid = NO_SUCH_CHILD_PID;
++#endif
+
+ update_event_timestamp(request->proxy, request->proxy_when.tv_sec);
+