[meta-networking,hardknott,05/19] samba: disable check fcntl RW_HINTS when configure

Message ID 20211228073806.868759-6-yi.zhao@windriver.com
State New
Headers show
Series samba: upgrade 4.10.18 -> 4.14.11 | expand

Commit Message

Yi Zhao Dec. 28, 2021, 7:37 a.m. UTC
This fails on cross-compilation for musl and clang.

Fixes configure error:
Checking whether fcntl supports setting/geting hints: UNKNOWN

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
---
 ... => 0009-source3-wscript-disable-check-fcntl-RW_HINTS.patch} | 0
 meta-networking/recipes-connectivity/samba/samba_4.14.4.bb      | 2 +-
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename meta-networking/recipes-connectivity/samba/samba/{source3-wscript-disable-check-fcntl-RW_HINTS.patch => 0009-source3-wscript-disable-check-fcntl-RW_HINTS.patch} (100%)

Patch

diff --git a/meta-networking/recipes-connectivity/samba/samba/source3-wscript-disable-check-fcntl-RW_HINTS.patch b/meta-networking/recipes-connectivity/samba/samba/0009-source3-wscript-disable-check-fcntl-RW_HINTS.patch
similarity index 100%
rename from meta-networking/recipes-connectivity/samba/samba/source3-wscript-disable-check-fcntl-RW_HINTS.patch
rename to meta-networking/recipes-connectivity/samba/samba/0009-source3-wscript-disable-check-fcntl-RW_HINTS.patch
diff --git a/meta-networking/recipes-connectivity/samba/samba_4.14.4.bb b/meta-networking/recipes-connectivity/samba/samba_4.14.4.bb
index 0833a9146..9b56a6280 100644
--- a/meta-networking/recipes-connectivity/samba/samba_4.14.4.bb
+++ b/meta-networking/recipes-connectivity/samba/samba_4.14.4.bb
@@ -23,6 +23,7 @@  SRC_URI = "${SAMBA_MIRROR}/stable/samba-${PV}.tar.gz \
            file://0006-samba-defeat-iconv-test.patch \
            file://0007-wscript_configure_system_gnutls-disable-check-gnutls.patch \
            file://0008-source3-wscript-disable-check-fcntl-F_OWNER_EX.patch \
+           file://0009-source3-wscript-disable-check-fcntl-RW_HINTS.patch \
            "
 
 SRC_URI_append_libc-musl = " \
@@ -31,7 +32,6 @@  SRC_URI_append_libc-musl = " \
            file://samba-4.3.9-remove-getpwent_r.patch \
            file://cmocka-uintptr_t.patch \
            file://samba-fix-musl-lib-without-innetgr.patch \
-           file://source3-wscript-disable-check-fcntl-RW_HINTS.patch \
            "
 
 SRC_URI[md5sum] = "171629ad42b4b303107e8b0fff942a1f"