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