diff options
| author | Yi Zhao <yi.zhao@windriver.com> | 2024-12-31 16:58:45 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-01-01 19:02:18 -0800 |
| commit | 1768156191e425c3c95b0307a329674e9d79a9fc (patch) | |
| tree | 4f6a0ed86b0cdb411b86e240777bdcbc5a0f26a7 | |
| parent | f5676076df760a5aa0bb3654bc77e3e8c0cf1ddd (diff) | |
| download | meta-openembedded-1768156191e425c3c95b0307a329674e9d79a9fc.tar.gz | |
openldap: upgrade 2.6.8 -> 2.6.9
ChangeLog:
https://www.openldap.org/software/release/changes.html
Drop 0001-fix-incompatible-pointer-type-error.patch as the issue has
been fixed upstream.
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-support/openldap/openldap/0001-fix-incompatible-pointer-type-error.patch | 40 | ||||
| -rw-r--r-- | meta-oe/recipes-support/openldap/openldap_2.6.9.bb (renamed from meta-oe/recipes-support/openldap/openldap_2.6.8.bb) | 8 |
2 files changed, 1 insertions, 47 deletions
diff --git a/meta-oe/recipes-support/openldap/openldap/0001-fix-incompatible-pointer-type-error.patch b/meta-oe/recipes-support/openldap/openldap/0001-fix-incompatible-pointer-type-error.patch deleted file mode 100644 index e6ab4e5a46..0000000000 --- a/meta-oe/recipes-support/openldap/openldap/0001-fix-incompatible-pointer-type-error.patch +++ /dev/null | |||
| @@ -1,40 +0,0 @@ | |||
| 1 | From 634017950c1c920d0de63fffa5c52e621de1d603 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Wang Mingyu <wangmy@fujitsu.com> | ||
| 3 | Date: Wed, 26 Jun 2024 07:41:01 +0000 | ||
| 4 | Subject: Fix incompatible pointer type error with gcc option | ||
| 5 | -Wincompatible-pointer-types | ||
| 6 | |||
| 7 | lib32-openldap do_compile failure with gcc-14: | ||
| 8 | | tls_g.c:971:57: error: passing argument 4 of 'gnutls_fingerprint' from incompatible pointer type [-Wincompatible-pointer-types] | ||
| 9 | | 971 | keyhash.bv_val, &keyhash.bv_len ) < 0 ) { | ||
| 10 | | | ^~~~~~~~~~~~~~~ | ||
| 11 | | | | | ||
| 12 | | | ber_len_t * {aka long unsigned int *} | ||
| 13 | | In file included from tls_g.c:44: | ||
| 14 | | /usr/include/gnutls/gnutls.h:2406:32: note: expected 'size_t *' {aka 'unsigned int *'} but argument is of type 'ber_len_t *' {aka 'long unsigned int *'} | ||
| 15 | | 2406 | size_t *result_size); | ||
| 16 | | | ^~~ | ||
| 17 | |||
| 18 | Upstream-Status: Submitted | ||
| 19 | |||
| 20 | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> | ||
| 21 | --- | ||
| 22 | libraries/libldap/tls_g.c | 2 +- | ||
| 23 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 24 | |||
| 25 | diff --git a/libraries/libldap/tls_g.c b/libraries/libldap/tls_g.c | ||
| 26 | index 7c23875..b4b487d 100644 | ||
| 27 | --- a/libraries/libldap/tls_g.c | ||
| 28 | +++ b/libraries/libldap/tls_g.c | ||
| 29 | @@ -968,7 +968,7 @@ tlsg_session_pinning( LDAP *ld, tls_session *sess, char *hashalg, struct berval | ||
| 30 | keyhash.bv_len = gnutls_hash_get_len( alg ); | ||
| 31 | keyhash.bv_val = LDAP_MALLOC( keyhash.bv_len ); | ||
| 32 | if ( !keyhash.bv_val || gnutls_fingerprint( alg, &key, | ||
| 33 | - keyhash.bv_val, &keyhash.bv_len ) < 0 ) { | ||
| 34 | + keyhash.bv_val, (size_t *)&keyhash.bv_len ) < 0 ) { | ||
| 35 | goto done; | ||
| 36 | } | ||
| 37 | } else { | ||
| 38 | -- | ||
| 39 | 2.34.1 | ||
| 40 | |||
diff --git a/meta-oe/recipes-support/openldap/openldap_2.6.8.bb b/meta-oe/recipes-support/openldap/openldap_2.6.9.bb index ca27ab23ec..6d76a727ba 100644 --- a/meta-oe/recipes-support/openldap/openldap_2.6.8.bb +++ b/meta-oe/recipes-support/openldap/openldap_2.6.9.bb | |||
| @@ -19,10 +19,9 @@ SRC_URI = "http://www.openldap.org/software/download/OpenLDAP/openldap-release/$ | |||
| 19 | file://slapd.service \ | 19 | file://slapd.service \ |
| 20 | file://remove-user-host-pwd-from-version.patch \ | 20 | file://remove-user-host-pwd-from-version.patch \ |
| 21 | file://0001-build-top.mk-unset-STRIP_OPTS.patch \ | 21 | file://0001-build-top.mk-unset-STRIP_OPTS.patch \ |
| 22 | file://0001-fix-incompatible-pointer-type-error.patch \ | ||
| 23 | " | 22 | " |
| 24 | 23 | ||
| 25 | SRC_URI[sha256sum] = "48969323e94e3be3b03c6a132942dcba7ef8d545f2ad35401709019f696c3c4e" | 24 | SRC_URI[sha256sum] = "2cb7dc73e9c8340dff0d99357fbaa578abf30cc6619f0521972c555681e6b2ff" |
| 26 | 25 | ||
| 27 | DEPENDS = "util-linux groff-native" | 26 | DEPENDS = "util-linux groff-native" |
| 28 | 27 | ||
| @@ -230,8 +229,3 @@ python populate_packages:prepend () { | |||
| 230 | } | 229 | } |
| 231 | 230 | ||
| 232 | BBCLASSEXTEND = "native" | 231 | BBCLASSEXTEND = "native" |
| 233 | |||
| 234 | # This one is reproducible only on 32bit MACHINEs | ||
| 235 | # http://errors.yoctoproject.org/Errors/Details/766968/ | ||
| 236 | # tls_g.c:971:57: error: passing argument 4 of 'gnutls_fingerprint' from incompatible pointer type [-Wincompatible-pointer-types] | ||
| 237 | CFLAGS += "-Wno-error=incompatible-pointer-types" | ||
