[packages/openldap] - fix building with gcc 4.7 - rel 2
baggins
baggins at pld-linux.org
Mon Oct 29 12:09:03 CET 2012
commit 0b661224f2e40cfdc38d0d0af93bfb118782bfb8
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Mon Oct 29 12:08:52 2012 +0100
- fix building with gcc 4.7
- rel 2
openldap-gcc47.patch | 10 ++++++++++
openldap.spec | 4 +++-
2 files changed, 13 insertions(+), 1 deletion(-)
---
diff --git a/openldap.spec b/openldap.spec
index 500015a..55bb456 100644
--- a/openldap.spec
+++ b/openldap.spec
@@ -25,7 +25,7 @@ Summary(ru.UTF-8): Образцы клиентов LDAP
Summary(uk.UTF-8): Зразки клієнтів LDAP
Name: openldap
Version: 2.4.33
-Release: 1
+Release: 2
License: OpenLDAP Public License
Group: Networking/Daemons
Source0: ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/%{name}-%{version}.tgz
@@ -58,6 +58,7 @@ Patch15: %{name}-gethostbyXXXX_r.patch
Patch16: %{name}-contrib-modules.patch
Patch17: %{name}-contrib-krb5.patch
Patch18: %{name}-format-security.patch
+Patch19: %{name}-gcc47.patch
# Patch for the evolution library
Patch100: %{name}-ntlm.diff
URL: http://www.openldap.org/
@@ -1237,6 +1238,7 @@ cd %{name}-%{version}
%patch14 -p1
%patch15 -p1
%patch16 -p1
+%patch19 -p1
%if %{with krb5}
%patch17 -p1
%endif
diff --git a/openldap-gcc47.patch b/openldap-gcc47.patch
new file mode 100644
index 0000000..db6ffc1
--- /dev/null
+++ b/openldap-gcc47.patch
@@ -0,0 +1,10 @@
+--- openldap-2.4.33/contrib/ldapc++/src/SaslInteractionHandler.cpp~ 2012-10-29 11:59:49.357558346 +0100
++++ openldap-2.4.33/contrib/ldapc++/src/SaslInteractionHandler.cpp 2012-10-29 12:03:57.609899390 +0100
+@@ -8,6 +8,7 @@
+ #include <iomanip>
+ #include <limits>
+ #include <cstdio>
++#include <unistd.h>
+ #include "config.h"
+
+ #ifdef HAVE_TERMIOS_H
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/openldap.git/commitdiff/0b661224f2e40cfdc38d0d0af93bfb118782bfb8
More information about the pld-cvs-commit
mailing list