[Libreoffice-commits] .: openldap/openldap-2.4.31.patch

Caolán McNamara caolan at kemper.freedesktop.org
Tue Jul 17 06:48:30 PDT 2012


 openldap/openldap-2.4.31.patch |   23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

New commits:
commit e80a6eb111da4a258286715ac27a5c10cb2ce07d
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Jul 17 14:46:47 2012 +0100

    NSS_Initialize is actually in nssutil3
    
    so add in all the libs we're going to link against when doing our link test,
    which fixes the build for this on an old debian toolchain.
    
    Change-Id: Ia2883f0992ad44e3857576eee59c70df80028694

diff --git a/openldap/openldap-2.4.31.patch b/openldap/openldap-2.4.31.patch
index fa4803d..656a2c9 100644
--- a/openldap/openldap-2.4.31.patch
+++ b/openldap/openldap-2.4.31.patch
@@ -48,3 +48,26 @@
  
  #undef NSS_VERSION_INT
  #define	NSS_VERSION_INT	((NSS_VMAJOR << 24) | (NSS_VMINOR << 16) | \
+--- misc/openldap-2.4.31/configure.in	2012-04-22 21:25:08.000000000 +0100
++++ misc/build/openldap-2.4.31/configure.in	2012-07-16 13:56:24.000000000 +0100
+@@ -1232,7 +1232,8 @@
+ 		AC_CHECK_HEADERS([nssutil.h])
+ 		if test "$ac_cv_header_nssutil_h" = yes ; then
+ 			AC_CHECK_LIB([nss3], [NSS_Initialize],
+-						 [ have_moznss=yes ], [ have_moznss=no ])
++						 [ have_moznss=yes ], [ have_moznss=no ],
++						 [ -lssl3 -lsmime3 -lnss3 -lnssutil3 -lplds4 -lplc4 -lnspr4 ])
+ 		fi
+ 
+ 		if test "$have_moznss" = yes ; then
+--- misc/openldap-2.4.31/configure	2012-07-16 14:11:55.000000000 +0100
++++ misc/build/openldap-2.4.31/configure	2012-07-16 13:56:24.000000000 +0100
+@@ -15718,7 +15718,7 @@
+   $as_echo_n "(cached) " >&6
+ else
+   ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lnss3  $LIBS"
++LIBS="-lnss3  -lssl3 -lsmime3 -lnss3 -lnssutil3 -lplds4 -lplc4 -lnspr4  $LIBS"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h.  */
+ 


More information about the Libreoffice-commits mailing list