summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-dialup/freeradius/files/freeradius-1.1.0-libeap-fPIC.patch')
-rw-r--r--net-dialup/freeradius/files/freeradius-1.1.0-libeap-fPIC.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/net-dialup/freeradius/files/freeradius-1.1.0-libeap-fPIC.patch b/net-dialup/freeradius/files/freeradius-1.1.0-libeap-fPIC.patch
new file mode 100644
index 000000000000..3cf2be37f8c8
--- /dev/null
+++ b/net-dialup/freeradius/files/freeradius-1.1.0-libeap-fPIC.patch
@@ -0,0 +1,12 @@
+diff -Nur freeradius-1.1.0.orig/src/modules/rlm_eap/libeap/Makefile freeradius-1.1.0/src/modules/rlm_eap/libeap/Makefile
+--- freeradius-1.1.0.orig/src/modules/rlm_eap/libeap/Makefile 2003-10-29 04:49:18.000000000 +0200
++++ freeradius-1.1.0/src/modules/rlm_eap/libeap/Makefile 2006-01-18 21:35:03.058916000 +0200
+@@ -5,7 +5,7 @@
+
+ INCLUDES =
+
+-CFLAGS += -DEAPLIB -I../../../include
++CFLAGS += -fPIC -DEAPLIB -I../../../include
+
+ all: static dynamic
+