diff mbox series

diffutils: upgrade from 3.11 to 3.12

Message ID 20250526033106.61772-1-Qi.Chen@windriver.com
State Accepted, archived
Commit c465fbbe4bfa90f7eed5e84c4149d656204481c8
Headers show
Series diffutils: upgrade from 3.11 to 3.12 | expand

Commit Message

Chen, Qi May 26, 2025, 3:31 a.m. UTC
From: Chen Qi <Qi.Chen@windriver.com>

The following line is added to fix cross-compilation issue in do_configure.
  EXTRA_OECONF += "gl_cv_func_strcasecmp_works=yes"
The error message is as below:
  configure: error: cannot run test program while cross compiling

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
 .../diffutils/{diffutils_3.11.bb => diffutils_3.12.bb}         | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
 rename meta/recipes-extended/diffutils/{diffutils_3.11.bb => diffutils_3.12.bb} (90%)
diff mbox series

Patch

diff --git a/meta/recipes-extended/diffutils/diffutils_3.11.bb b/meta/recipes-extended/diffutils/diffutils_3.12.bb
similarity index 90%
rename from meta/recipes-extended/diffutils/diffutils_3.11.bb
rename to meta/recipes-extended/diffutils/diffutils_3.12.bb
index a4badc044e..d00dd772ad 100644
--- a/meta/recipes-extended/diffutils/diffutils_3.11.bb
+++ b/meta/recipes-extended/diffutils/diffutils_3.12.bb
@@ -8,9 +8,10 @@  SRC_URI = "${GNU_MIRROR}/diffutils/diffutils-${PV}.tar.xz \
            file://0001-Skip-strip-trailing-cr-test-case.patch \
            "
 
-SRC_URI[sha256sum] = "a73ef05fe37dd585f7d87068e4a0639760419f810138bd75c61ddaa1f9e2131e"
+SRC_URI[sha256sum] = "7c8b7f9fc8609141fdea9cece85249d308624391ff61dedaf528fcb337727dfd"
 
 EXTRA_OECONF += "ac_cv_path_PR_PROGRAM=${bindir}/pr --without-libsigsegv-prefix"
+EXTRA_OECONF += "gl_cv_func_strcasecmp_works=yes"
 
 # latest gnulib is no longer able to handle this - I dare not try to fix that maze of abstractions and generators
 CFLAGS:mingw32 = " -DSA_RESTART=0"