diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2012-01-13 14:21:34 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2012-01-13 14:21:34 -0300 |
commit | 4a47b2a0e019de14d474e353a601ca6bf47e90e5 (patch) | |
tree | 69e20048be17aa12e6342ebcafb0cf9cdbfee32d /testing/cyrus-sasl/0019_ldap_deprecated.patch | |
parent | 149750d28420a7b59fab5501ab9aaca095f6fa46 (diff) | |
parent | b5f690637837ff269bf5d248ee2dc37ea5236ca8 (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community-testing/packagekit/PKGBUILD
community/bird/PKGBUILD
community/camlp5/PKGBUILD
community/exim/PKGBUILD
community/ibus-table-extraphrase/PKGBUILD
community/mingw32-gcc-base/PKGBUILD
community/mingw32-gcc/PKGBUILD
community/torcs/PKGBUILD
core/db/PKGBUILD
core/iproute2/PKGBUILD
core/libsasl/PKGBUILD
core/openldap/PKGBUILD
core/pam/PKGBUILD
core/util-linux/PKGBUILD
extra/cyrus-sasl/PKGBUILD
extra/ffmpeg/PKGBUILD
extra/kdelibs/PKGBUILD
extra/libreoffice/PKGBUILD
extra/php/PKGBUILD
extra/postfix/PKGBUILD
extra/python-lxml/PKGBUILD
extra/rdesktop/PKGBUILD
extra/redland/PKGBUILD
extra/subversion/PKGBUILD
extra/tidyhtml/PKGBUILD
extra/transmission/PKGBUILD
extra/windowmaker/PKGBUILD
kde-unstable/calligra/PKGBUILD
multilib/lib32-libdrm/PKGBUILD
multilib/lib32-libdrm/no-pthread-stubs.patch
multilib/lib32-openssl/PKGBUILD
Diffstat (limited to 'testing/cyrus-sasl/0019_ldap_deprecated.patch')
-rw-r--r-- | testing/cyrus-sasl/0019_ldap_deprecated.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/testing/cyrus-sasl/0019_ldap_deprecated.patch b/testing/cyrus-sasl/0019_ldap_deprecated.patch new file mode 100644 index 000000000..8825256cb --- /dev/null +++ b/testing/cyrus-sasl/0019_ldap_deprecated.patch @@ -0,0 +1,22 @@ +0019_ldap_deprecated.dpatch by dann frazier <dannf@debian.org> + +The function ldap_get_values, used in saslauthd/lak.c, is deprecated. +Therefore, its prototype is not included by default when compiling +against the ldap.h headers. As a result, the compiler cannot know the +return type of the function at compile time, and will implicitly +convert to a pointer. This has implications on 64-bit systems. +This patch sets the deprecation mode on, so that the function prototype +gets included when compiling. +(Description by Fabian Fagerholm <fabbe@debian.org>) + +diff -urNad trunk~/saslauthd/lak.c trunk/saslauthd/lak.c +--- trunk~/saslauthd/lak.c 2006-06-04 12:26:20.000000000 +0300 ++++ trunk/saslauthd/lak.c 2008-02-15 14:32:11.000000000 +0200 +@@ -55,6 +55,7 @@ + #include <openssl/des.h> + #endif + ++#define LDAP_DEPRECATED 1 + #include <ldap.h> + #include <lber.h> + #include <sasl.h> |