diff --git a/exim-4.61-ldap-deprecated.patch b/exim-4.61-ldap-deprecated.patch new file mode 100644 index 0000000..ffad7ac --- /dev/null +++ b/exim-4.61-ldap-deprecated.patch @@ -0,0 +1,10 @@ +--- 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 + #include + diff --git a/exim.spec b/exim.spec index 4fdd016..c5a7a7e 100644 --- a/exim.spec +++ b/exim.spec @@ -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 @@ Patch13: exim-4.43-pamconfig.patch 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 @@ cp exim_monitor/EDITME Local/eximon.conf %patch14 -p1 -b .spamd %patch15 -p1 -b .pcre %patch16 -p0 +%patch17 -p1 -b .ldap %build %ifnarch s390 s390x @@ -289,6 +291,9 @@ fi %doc sa-exim*/{ACKNOWLEDGEMENTS,INSTALL,LICENSE,TODO} %changelog +* Fri Apr 7 2006 David Woodhouse 4.61-2 +- Define LDAP_DEPRECATED to ensure ldap functions are all declared. + * Tue Apr 4 2006 David Woodhouse 4.61-1 - Update to 4.61