summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKacper Kowalik <xarthisius@gentoo.org>2012-06-13 11:06:45 +0000
committerKacper Kowalik <xarthisius@gentoo.org>2012-06-13 11:06:45 +0000
commit87d4fb6d849c49bd83929fcff910cd3fd53899b5 (patch)
tree84ce03da62e607cbec0ec2086af2a13ba5fa8f64 /net-nds/openldap/files
parentHandle dodoc correctly to not die if no documents are found. (diff)
downloadgentoo-2-87d4fb6d849c49bd83929fcff910cd3fd53899b5.tar.gz
gentoo-2-87d4fb6d849c49bd83929fcff910cd3fd53899b5.tar.bz2
gentoo-2-87d4fb6d849c49bd83929fcff910cd3fd53899b5.zip
Fix building with gcc-4.7 wrt #420959 by Tiziano Müller
(Portage version: 2.2.0_alpha110/cvs/Linux x86_64)
Diffstat (limited to 'net-nds/openldap/files')
-rw-r--r--net-nds/openldap/files/openldap-2.4.31-gcc47.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/net-nds/openldap/files/openldap-2.4.31-gcc47.patch b/net-nds/openldap/files/openldap-2.4.31-gcc47.patch
new file mode 100644
index 000000000000..5b6af4b29564
--- /dev/null
+++ b/net-nds/openldap/files/openldap-2.4.31-gcc47.patch
@@ -0,0 +1,16 @@
+Fix building with gcc-4.7
+
+https://bugs.gentoo.org/show_bug.cgi?id=420959
+http://www.openldap.org/its/index.cgi/Incoming?id=7304;page=16 #ITS 7304
+
+Patch written by Kacper Kowalik <xarthisius@gentoo.org>
+--- a/contrib/ldapc++/src/SaslInteractionHandler.cpp
++++ b/contrib/ldapc++/src/SaslInteractionHandler.cpp
+@@ -16,6 +16,7 @@
+
+ #include <stdio.h>
+ #include <string.h>
++#include <unistd.h>
+ #include "SaslInteractionHandler.h"
+ #include "SaslInteraction.h"
+ #include "debug.h"