From 7901aaada9de9473336772ba54f4a37734f76b6d Mon Sep 17 00:00:00 2001 From: Leonardo Arena Date: Mon, 25 Oct 2010 12:29:17 +0000 Subject: testing/freeradius: move to main --- main/freeradius/freeradius-2.1.6-nothreads.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 main/freeradius/freeradius-2.1.6-nothreads.patch (limited to 'main/freeradius/freeradius-2.1.6-nothreads.patch') 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); + -- cgit v1.2.3