components/samba/samba/samba36/patches/xtra-conf.in-liblber-avoid.patch
changeset 4433 d35242d8330c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/samba/samba/samba36/patches/xtra-conf.in-liblber-avoid.patch	Sat May 30 14:41:57 2015 -0700
@@ -0,0 +1,16 @@
+7092513 Samba links liblber from openldap but should not do it.
+
+--- a/source3/configure.in-bkp	2011-09-19 09:34:22.632025100 -0700
++++ b/source3/configure.in	2011-09-19 09:37:16.235176200 -0700
+@@ -3285,7 +3285,10 @@
+   ##################################################################
+   # we might need the lber lib on some systems. To avoid link errors
+   # this test must be before the libldap test
+-  AC_CHECK_LIB_EXT(lber, LDAP_LIBS, ber_scanf)
++ # The next test should be avoided because libldap60 already have (internal)
++ # ber_scanf but the liblber from openldap is searched first so liblber
++ # is added into LDAP_LIBS
++  #AC_CHECK_LIB_EXT(lber, LDAP_LIBS, ber_scanf)
+ 
+   ########################################################
+   # If ber_sockbuf_add_io() is available we can add