From 915530a093681de7623848eb11d4190d3b26055c Mon Sep 17 00:00:00 2001 From: Jens Wagner Date: Fri, 15 May 2026 18:00:06 +0200 Subject: [PATCH] perl: fix missing line numbers in error messages There were some type definitions missing in architecture.config, that caused perl to return '%' instead of actual line numbers. Fixes: https://github.com/openwrt/packages/issues/25912 Signed-off-by: Jens Wagner (cherry picked from commit 95b7bf91a775163f0c84eaf58add6f9df81ba2a2) --- lang/perl/Makefile | 2 +- lang/perl/files/architecture.config | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lang/perl/Makefile b/lang/perl/Makefile index 6a6dd5ea86..ffbfaba3b3 100644 --- a/lang/perl/Makefile +++ b/lang/perl/Makefile @@ -11,7 +11,7 @@ include perlver.mk PKG_NAME:=perl PKG_VERSION:=$(PERL_VERSION) -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE_URL:=https://www.cpan.org/src/5.0 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz diff --git a/lang/perl/files/architecture.config b/lang/perl/files/architecture.config index cc972816cb..4bd8ed615d 100644 --- a/lang/perl/files/architecture.config +++ b/lang/perl/files/architecture.config @@ -33,6 +33,7 @@ alignbytes='8' use64bitall='undef' use64bitint='undef' + u32uformat='"lu"' uidformat='"lu"' gidformat='"lu"' @@ -83,6 +84,7 @@ alignbytes='8' sizesize='8' + u32uformat='"u"' uidformat='"u"' gidformat='"u"'