summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/openswan/files/openswan-2.4.14-deprecated-ldap.patch')
-rw-r--r--net-misc/openswan/files/openswan-2.4.14-deprecated-ldap.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-misc/openswan/files/openswan-2.4.14-deprecated-ldap.patch b/net-misc/openswan/files/openswan-2.4.14-deprecated-ldap.patch
new file mode 100644
index 000000000000..8ec0d38d4872
--- /dev/null
+++ b/net-misc/openswan/files/openswan-2.4.14-deprecated-ldap.patch
@@ -0,0 +1,11 @@
+diff -Nru openswan-2.4.14.orig/programs/pluto/fetch.c openswan-2.4.14/programs/pluto/fetch.c
+--- openswan-2.4.14.orig/programs/pluto/fetch.c 2004-06-14 02:01:32.000000000 +0000
++++ openswan-2.4.14/programs/pluto/fetch.c 2009-04-08 23:14:29.000000000 +0000
+@@ -28,6 +28,7 @@
+ #include <openswan.h>
+
+ #ifdef LDAP_VER
++#define LDAP_DEPRECATED 1
+ #include <ldap.h>
+ #endif
+