Compile fix for freeradius build, more info can be found in trac:

https://dev.openwrt.org/ticket/2731

Signed-off-by: Ben Pfountz <[EMAIL PROTECTED]>

diff -urN feeds.old/packages/net/freeradius/patches/010-ltdl.patch 
feeds/packages/net/freeradius/patches/010-ltdl.patch
--- feeds.old/packages/net/freeradius/patches/010-ltdl.patch    1969-12-31 
19:00:00.000000000 -0500
+++ feeds/packages/net/freeradius/patches/010-ltdl.patch        2008-02-16 
11:43:49.000000000 -0500
@@ -0,0 +1,24 @@
+diff -urN freeradius-1.1.6.old/src/include/modpriv.h 
freeradius-1.1.6/src/include/modpriv.h
+--- freeradius-1.1.6.old/src/include/modpriv.h 2008-02-16 11:27:01.000000000 
-0500
++++ freeradius-1.1.6/src/include/modpriv.h     2008-02-16 11:26:24.000000000 
-0500
+@@ -4,7 +4,7 @@
+  * Version: $Id: modpriv.h,v 1.3 2004/02/26 19:04:19 aland Exp $ */
+ #include "radiusd.h"
+ #include "modules.h"
+-#include "ltdl.h"
++#include "../../libltdl/ltdl.h"
+ 
+ /*
+  *    Keep track of which modules we've loaded.
+diff -urN freeradius-1.1.6/src/main/modules.c 
freeradius-1.1.6.old/src/main/modules.c
+--- freeradius-1.1.6/src/main/modules.c        2008-02-16 11:42:36.000000000 
-0500
++++ freeradius-1.1.6.old/src/main/modules.c    2008-02-16 11:42:14.000000000 
-0500
+@@ -36,7 +36,7 @@
+ #include "modules.h"
+ #include "modcall.h"
+ #include "conffile.h"
+-#include "ltdl.h"
++#include "../../libltdl/ltdl.h"
+ #include "rad_assert.h"
+ 
+ /*

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to