From: Michael Tremer Date: Sun, 7 Feb 2010 14:54:37 +0000 (+0100) Subject: openldap: Copy patch files into repository. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a28043014d599ed5117fa63be6b714696c14d1ce;p=ipfire-3.x.git openldap: Copy patch files into repository. --- diff --git a/pkgs/core/openldap/openldap.nm b/pkgs/core/openldap/openldap.nm index f7e6ad354..67e7e3576 100644 --- a/pkgs/core/openldap/openldap.nm +++ b/pkgs/core/openldap/openldap.nm @@ -48,8 +48,6 @@ endef PKG_TARBALL = $(THISAPP).tgz -PKG_PATCHES += $(THISAPP)-disable_sys_err.patch - ############################################################################### # Installation Details ############################################################################### diff --git a/pkgs/core/openldap/patches/openldap-2.4.17-disable_sys_err.patch b/pkgs/core/openldap/patches/openldap-2.4.17-disable_sys_err.patch new file mode 100644 index 000000000..c1ab72de3 --- /dev/null +++ b/pkgs/core/openldap/patches/openldap-2.4.17-disable_sys_err.patch @@ -0,0 +1,17 @@ +diff -Naur openldap-2.4.16.org/include/ac/errno.h openldap-2.4.16/include/ac/errno.h +--- openldap-2.4.16.org/include/ac/errno.h 2009-01-22 01:00:52.000000000 +0100 ++++ openldap-2.4.16/include/ac/errno.h 2009-04-28 13:48:01.000000000 +0200 +@@ -36,12 +36,7 @@ + #undef _AC_ERRNO_UNKNOWN + #define _AC_ERRNO_UNKNOWN "unknown error" + +-#ifdef HAVE_SYS_ERRLIST +- /* this is thread safe */ +-# define STRERROR(e) ( (e) > -1 && (e) < sys_nerr \ +- ? sys_errlist[(e)] : _AC_ERRNO_UNKNOWN ) +- +-#elif defined( HAVE_STRERROR ) ++#if defined( HAVE_STRERROR ) + /* this may not be thread safe */ + /* and, yes, some implementations of strerror may return NULL */ + # define STRERROR(e) ( strerror(e) \