pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/openldap Fix alignment/LP64 issue on NetBSD/...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bb754fd1dcf2
branches:  trunk
changeset: 488046:bb754fd1dcf2
user:      seb <seb%pkgsrc.org@localhost>
date:      Mon Jan 24 12:46:25 2005 +0000

description:
Fix alignment/LP64 issue on NetBSD/sparc64 encountered while trying the
syncrepl engine with SASL.

Bump PKGREVISION.

Approved by jlam@.

diffstat:

 databases/openldap/Makefile         |   4 +-
 databases/openldap/distinfo         |   3 +-
 databases/openldap/patches/patch-am |  56 +++++++++++++++++++++++++++++++++++++
 3 files changed, 60 insertions(+), 3 deletions(-)

diffs (87 lines):

diff -r c7f5b6f8ba92 -r bb754fd1dcf2 databases/openldap/Makefile
--- a/databases/openldap/Makefile       Mon Jan 24 11:32:28 2005 +0000
+++ b/databases/openldap/Makefile       Mon Jan 24 12:46:25 2005 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.96 2005/01/12 04:04:36 jlam Exp $
+# $NetBSD: Makefile,v 1.97 2005/01/24 12:46:25 seb Exp $
 
 DISTNAME=      openldap-2.2.20
-PKGREVISION=   1
+PKGREVISION=   2
 SVR4_PKGNAME=  oldap
 CATEGORIES=    databases
 MASTER_SITES=  ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/
diff -r c7f5b6f8ba92 -r bb754fd1dcf2 databases/openldap/distinfo
--- a/databases/openldap/distinfo       Mon Jan 24 11:32:28 2005 +0000
+++ b/databases/openldap/distinfo       Mon Jan 24 12:46:25 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.36 2005/01/06 11:10:55 adam Exp $
+$NetBSD: distinfo,v 1.37 2005/01/24 12:46:25 seb Exp $
 
 SHA1 (openldap-2.2.20.tgz) = 307460c990a2f4ecfeceaffa4833f6c479005ed5
 Size (openldap-2.2.20.tgz) = 2605791 bytes
@@ -10,3 +10,4 @@
 SHA1 (patch-aj) = cb425a00e480ce625332d9e3c56fd9305075fd01
 SHA1 (patch-ak) = 1fd396ea0591fc61a97038bb754a2fd3c9436a48
 SHA1 (patch-al) = 83b877289c1306b0d3d5647159c1ba5d546d2012
+SHA1 (patch-am) = 1c7bdf18ab8bf6fd2d676fc8386c0f69b2e10d4b
diff -r c7f5b6f8ba92 -r bb754fd1dcf2 databases/openldap/patches/patch-am
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/openldap/patches/patch-am       Mon Jan 24 12:46:25 2005 +0000
@@ -0,0 +1,56 @@
+$NetBSD: patch-am,v 1.1 2005/01/24 12:46:25 seb Exp $
+
+--- libraries/libldap/cyrus.c.orig     2004-08-28 13:35:42.000000000 +0000
++++ libraries/libldap/cyrus.c
+@@ -1049,7 +1049,7 @@ ldap_int_sasl_get_option( LDAP *ld, int 
+                               return -1;
+                       }
+ 
+-                      *(ber_len_t *)arg = *ssf;
++                      *(sasl_ssf_t *)arg = *ssf;
+               } break;
+ 
+               case LDAP_OPT_X_SASL_SSF_EXTERNAL:
+@@ -1057,13 +1057,13 @@ ldap_int_sasl_get_option( LDAP *ld, int 
+                       return -1;
+ 
+               case LDAP_OPT_X_SASL_SSF_MIN:
+-                      *(ber_len_t *)arg = ld->ld_options.ldo_sasl_secprops.min_ssf;
++                      *(sasl_ssf_t *)arg = ld->ld_options.ldo_sasl_secprops.min_ssf;
+                       break;
+               case LDAP_OPT_X_SASL_SSF_MAX:
+-                      *(ber_len_t *)arg = ld->ld_options.ldo_sasl_secprops.max_ssf;
++                      *(sasl_ssf_t *)arg = ld->ld_options.ldo_sasl_secprops.max_ssf;
+                       break;
+               case LDAP_OPT_X_SASL_MAXBUFSIZE:
+-                      *(ber_len_t *)arg = ld->ld_options.ldo_sasl_secprops.maxbufsize;
++                      *(sasl_ssf_t *)arg = ld->ld_options.ldo_sasl_secprops.maxbufsize;
+                       break;
+ 
+               case LDAP_OPT_X_SASL_SECPROPS:
+@@ -1109,7 +1109,7 @@ ldap_int_sasl_set_option( LDAP *ld, int 
+ #else
+               memset(&extprops, 0L, sizeof(extprops));
+ 
+-              extprops.ssf = * (ber_len_t *) arg;
++              extprops.ssf = * (sasl_ssf_t *) arg;
+ 
+               sc = sasl_setprop( ctx, SASL_SSF_EXTERNAL,
+                       (void *) &extprops );
+@@ -1121,13 +1121,13 @@ ldap_int_sasl_set_option( LDAP *ld, int 
+               } break;
+ 
+       case LDAP_OPT_X_SASL_SSF_MIN:
+-              ld->ld_options.ldo_sasl_secprops.min_ssf = *(ber_len_t *)arg;
++              ld->ld_options.ldo_sasl_secprops.min_ssf = *(sasl_ssf_t *)arg;
+               break;
+       case LDAP_OPT_X_SASL_SSF_MAX:
+-              ld->ld_options.ldo_sasl_secprops.max_ssf = *(ber_len_t *)arg;
++              ld->ld_options.ldo_sasl_secprops.max_ssf = *(sasl_ssf_t *)arg;
+               break;
+       case LDAP_OPT_X_SASL_MAXBUFSIZE:
+-              ld->ld_options.ldo_sasl_secprops.maxbufsize = *(ber_len_t *)arg;
++              ld->ld_options.ldo_sasl_secprops.maxbufsize = *(sasl_ssf_t *)arg;
+               break;
+ 
+       case LDAP_OPT_X_SASL_SECPROPS: {



Home | Main Index | Thread Index | Old Index