rpms/exim/devel exim-4.61-ldap-deprecated.patch, NONE, 1.1 exim.spec, 1.17, 1.18
David Woodhouse (dwmw2)
fedora-extras-commits at redhat.com
Fri Apr 7 15:05:18 UTC 2006
Author: dwmw2
Update of /cvs/extras/rpms/exim/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7260
Modified Files:
exim.spec
Added Files:
exim-4.61-ldap-deprecated.patch
Log Message:
fix ldap build
exim-4.61-ldap-deprecated.patch:
--- NEW FILE exim-4.61-ldap-deprecated.patch ---
--- exim-4.61/src/lookups/ldap.c.orig 2006-04-07 16:02:48.000000000 +0100
+++ exim-4.61/src/lookups/ldap.c 2006-04-07 16:02:00.000000000 +0100
@@ -33,6 +33,7 @@ static void dummy(int x) { dummy(x-1); }
/* Include LDAP headers */
+#define LDAP_DEPRECATED 1
#include <lber.h>
#include <ldap.h>
Index: exim.spec
===================================================================
RCS file: /cvs/extras/rpms/exim/devel/exim.spec,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- exim.spec 4 Apr 2006 20:03:39 -0000 1.17
+++ exim.spec 7 Apr 2006 15:05:18 -0000 1.18
@@ -1,7 +1,7 @@
Summary: The exim mail transfer agent
Name: exim
Version: 4.61
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPL
Url: http://www.exim.org/
Group: System Environment/Daemons
@@ -26,6 +26,7 @@
Patch14: exim-4.50-spamdconf.patch
Patch15: exim-4.52-dynamic-pcre.patch
Patch16: exim-4.61-c-before-d.patch
+Patch17: exim-4.61-ldap-deprecated.patch
Requires: /etc/aliases
BuildRequires: db4-devel openssl-devel openldap-devel pam-devel
@@ -81,6 +82,7 @@
%patch14 -p1 -b .spamd
%patch15 -p1 -b .pcre
%patch16 -p0
+%patch17 -p1 -b .ldap
%build
%ifnarch s390 s390x
@@ -289,6 +291,9 @@
%doc sa-exim*/{ACKNOWLEDGEMENTS,INSTALL,LICENSE,TODO}
%changelog
+* Fri Apr 7 2006 David Woodhouse <dwmw2 at redhat.com> 4.61-2
+- Define LDAP_DEPRECATED to ensure ldap functions are all declared.
+
* Tue Apr 4 2006 David Woodhouse <dwmw2 at redhat.com> 4.61-1
- Update to 4.61
More information about the scm-commits
mailing list