From 56034ea9f4e76fa19b868f38a1ead563f257b521 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 25 Mar 2025 17:01:20 +0800 Subject: [PATCH] libnewt: upgrade 0.52.24 -> 0.52.25 cross_ar.patch refreshed for 0.52.25 Changelog: =========== - improve Makefile - fix "yes" in Spanish translation Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../newt/files/cross_ar.patch | 25 +++++++++++-------- ...{libnewt_0.52.24.bb => libnewt_0.52.25.bb} | 2 +- 2 files changed, 15 insertions(+), 12 deletions(-) rename meta-oe/recipes-extended/newt/{libnewt_0.52.24.bb => libnewt_0.52.25.bb} (94%) diff --git a/meta-oe/recipes-extended/newt/files/cross_ar.patch b/meta-oe/recipes-extended/newt/files/cross_ar.patch index 86cc0be1d3..eb8c4134b2 100644 --- a/meta-oe/recipes-extended/newt/files/cross_ar.patch +++ b/meta-oe/recipes-extended/newt/files/cross_ar.patch @@ -1,4 +1,7 @@ -Fix cross link using autoconf detected AR +From 0f33421000006f5991d1cddcb9dbc68b64141e44 Mon Sep 17 00:00:00 2001 +From: Jason Wessel +Date: Wed, 19 Jun 2024 11:22:48 +0200 +Subject: [PATCH] Fix cross link using autoconf detected AR If building on 32bit host and creating 64bit libraries, the target package builds should not invoke the 32bit hosts's ar. Specifically @@ -18,10 +21,10 @@ Signed-off-by: Hongxu Jia configure.ac | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) -Index: newt-0.52.20/Makefile.in -=================================================================== ---- newt-0.52.20.orig/Makefile.in -+++ newt-0.52.20/Makefile.in +diff --git a/Makefile.in b/Makefile.in +index f8fe290..8a44a56 100644 +--- a/Makefile.in ++++ b/Makefile.in @@ -7,6 +7,7 @@ CFLAGS = @CFLAGS@ LDFLAGS = @LDFLAGS@ CPPFLAGS = -D_GNU_SOURCE @CPPFLAGS@ @@ -30,7 +33,7 @@ Index: newt-0.52.20/Makefile.in VERSION = @VERSION@ TAG = r$(subst .,-,$(VERSION)) -@@ -109,7 +110,7 @@ whiptcl.$(SOEXT): $(WHIPTCLOBJS) $(LIBNE +@@ -109,7 +110,7 @@ whiptcl.$(SOEXT): $(WHIPTCLOBJS) $(LIBNEWTSH) $(CC) -shared $(SHCFLAGS) $(LDFLAGS) -o whiptcl.$(SOEXT) $(WHIPTCLOBJS) -L. -lnewt $(LIBTCL) -lpopt $(LIBS) $(LIBNEWT): $(LIBOBJS) @@ -39,11 +42,11 @@ Index: newt-0.52.20/Makefile.in newt.o $(SHAREDDIR)/newt.o: newt.c Makefile -Index: newt-0.52.20/configure.ac -=================================================================== ---- newt-0.52.20.orig/configure.ac -+++ newt-0.52.20/configure.ac -@@ -15,6 +15,10 @@ AC_PROG_INSTALL +diff --git a/configure.ac b/configure.ac +index 434121e..2cfffd6 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -15,6 +15,10 @@ AC_PROG_CC AC_PROG_LN_S AC_PROG_GREP AC_SYS_LARGEFILE diff --git a/meta-oe/recipes-extended/newt/libnewt_0.52.24.bb b/meta-oe/recipes-extended/newt/libnewt_0.52.25.bb similarity index 94% rename from meta-oe/recipes-extended/newt/libnewt_0.52.24.bb rename to meta-oe/recipes-extended/newt/libnewt_0.52.25.bb index 834dddd0b5..aa6b120037 100644 --- a/meta-oe/recipes-extended/newt/libnewt_0.52.24.bb +++ b/meta-oe/recipes-extended/newt/libnewt_0.52.25.bb @@ -22,7 +22,7 @@ SRC_URI = "https://releases.pagure.org/newt/newt-${PV}.tar.gz \ file://Makefile.in-Add-tinfo-library-to-the-linking-librari.patch \ " -SRC_URI[sha256sum] = "5ded7e221f85f642521c49b1826c8de19845aa372baf5d630a51774b544fbdbb" +SRC_URI[sha256sum] = "ef0ca9ee27850d1a5c863bb7ff9aa08096c9ed312ece9087b30f3a426828de82" S = "${WORKDIR}/newt-${PV}"