From patchwork Mon Nov 30 06:56:34 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 106373 Received: from mail-pf1-f170.google.com (mail-pf1-f170.google.com [209.85.210.170]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.27514.1796021828757078292 for ; Sun, 29 Nov 2026 22:57:08 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@konsulko.com header.s=google header.b=JB8IvR+K; spf=pass (domain: konsulko.com, ip: 209.85.210.170, mailfrom: tim.orling@konsulko.com) Received: by mail-pf1-f170.google.com with SMTP id d2e1a72fcca58-8a06e79e152so4801112b3a.0 for ; Sun, 29 Nov 2026 22:57:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1796021828; x=1796626628; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to:content-type; bh=M+krxx8q4iKvoI6XRQ1QTSPtzhgLF/beOqr2EyElpZs=; b=JB8IvR+Kuu9yZAoNVRF0hbWOBIPFFD1IcRk/RSUyl2tEg3UC07MxpeShE5eY2tJUxd 3CtbNbejvV1sz+d7c+A5jpdVIg4sOu0Tt8iaCGy+cYlfHwgFAtCx1gyxqkRDZJA5EbMN 79l6XJwGbMpAW2LJfhoasTv0p8GwbePKrlMhk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796021828; x=1796626628; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=M+krxx8q4iKvoI6XRQ1QTSPtzhgLF/beOqr2EyElpZs=; b=pLYgDhBdULeHPW/jgQQ2mgDI0kWFyRy1LOt2T7QfK+XvER8jxpLykumwXkmk4RW0Th dNFtOqsZ1OkBpJkQDVugAK6UW8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szMRIem6H4YT+UDcgn6a5NA1zN POXEg1ky8KAH+UGH5ZRQolfDZGyoq X-Received: by 2002:a05:6300:8095:b0:3f2:277:7c93 with SMTP id adf61e73a8af0-4014c94a337mr27227619637.32.1796021827875; Sun, 29 Nov 2026 22:57:07 -0800 (PST) Return-Path: Received: from thetis.home.local ([2606:c800:6024:2000:23bc:9173:25b6:668c]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c87285c89dsm16895221b3a.13.2026.11.29.22.57.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Nov 2026 22:57:07 -0800 (PST) From: Tim Orling To: openembedded-core@lists.openembedded.org Cc: Tim Orling Subject: [PATCH] libxml-parser-perl: upgrade 2.59 -> 2.61 Date: Sun, 29 Nov 2026 22:56:34 -0800 Message-ID: <20261130065701.3431102-1-tim.orling@konsulko.com> X-Mailer: git-send-email 2.47.3 MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Mon, 30 Nov 2026 06:57:11 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/251582 Changelog: - Don't load encoding maps from the current working directory - Fix OOB heap read in convert_to_unicode via crafted encoding map - Add MaxEntitySize option (default 10 MB) to limit LWP external entity fetches - Validate PrefixMap bmap_start bounds in XML_LoadEncoding - Fix escaping of CR/LF/TAB in Stream style attribute values - Return undef from ErrorString for unknown error codes Refresh the cross-compile patch for the new check_lib loop in Makefile.PL. Add perl-module-cwd to the ptest RDEPENDS for the new t/encoding_path_cwd.t, and perl-module-overload to RDEPENDS:${PN}, which Expat.pm has always used. Changes: https://metacpan.org/dist/XML-Parser/changes Tested by building target, native and nativesdk, and running ptest on qemux86-64. AI-Generated: Uses Claude Code (Claude Opus 5.5) Signed-off-by: Tim Orling --- ...ile.PL-make-check_lib-cross-friendly.patch | 19 +++++++++---------- ...erl_2.59.bb => libxml-parser-perl_2.61.bb} | 4 +++- 2 files changed, 12 insertions(+), 11 deletions(-) rename meta/recipes-devtools/perl/{libxml-parser-perl_2.59.bb => libxml-parser-perl_2.61.bb} (93%) diff --git a/meta/recipes-devtools/perl/libxml-parser-perl/0001-Makefile.PL-make-check_lib-cross-friendly.patch b/meta/recipes-devtools/perl/libxml-parser-perl/0001-Makefile.PL-make-check_lib-cross-friendly.patch index 196596f8c6..b9c085931b 100644 --- a/meta/recipes-devtools/perl/libxml-parser-perl/0001-Makefile.PL-make-check_lib-cross-friendly.patch +++ b/meta/recipes-devtools/perl/libxml-parser-perl/0001-Makefile.PL-make-check_lib-cross-friendly.patch @@ -14,15 +14,14 @@ Signed-off-by: Tim Orling 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.PL b/Makefile.PL -index 1344fe9..748a7d1 100644 --- a/Makefile.PL +++ b/Makefile.PL -@@ -85,7 +85,7 @@ if ( !$expat_libpath && !$expat_incpath ) { - - unless ( - check_lib( # fill in what you prompted the user for here -- lib => [qw(expat)], -+ #lib => [qw(expat)], - header => ['expat.h'], - incpath => $expat_incpath, - ( $expat_libpath ? ( libpath => $expat_libpath ) : () ), +@@ -95,7 +95,7 @@ + for my $candidate (@expat_lib_candidates) { + if ( + check_lib( +- lib => [$candidate], ++ #lib => [$candidate], + header => ['expat.h'], + incpath => $expat_incpath, + ( $expat_libpath ? ( libpath => $expat_libpath ) : () ), diff --git a/meta/recipes-devtools/perl/libxml-parser-perl_2.59.bb b/meta/recipes-devtools/perl/libxml-parser-perl_2.61.bb similarity index 93% rename from meta/recipes-devtools/perl/libxml-parser-perl_2.59.bb rename to meta/recipes-devtools/perl/libxml-parser-perl_2.61.bb index 480276d1fd..036734a7e2 100644 --- a/meta/recipes-devtools/perl/libxml-parser-perl_2.59.bb +++ b/meta/recipes-devtools/perl/libxml-parser-perl_2.61.bb @@ -16,7 +16,7 @@ DEPENDS += "expat libfile-sharedir-install-perl-native" SRC_URI = "${CPAN_MIRROR}/authors/id/T/TO/TODDR/XML-Parser-${PV}.tar.gz \ file://0001-Makefile.PL-make-check_lib-cross-friendly.patch \ " -SRC_URI[sha256sum] = "a358fd7c49f5e27717a644a9102bd21dc7fc25a415983279c59b1580e2b62a58" +SRC_URI[sha256sum] = "d9ff14ec95b1437c28e98767a5999d294f5e37f07447b72c0932d30ab1e74311" S = "${UNPACKDIR}/XML-Parser-${PV}" @@ -49,11 +49,13 @@ RDEPENDS:${PN} += "\ libfile-sharedir-perl \ perl-module-carp \ perl-module-file-spec \ + perl-module-overload \ perl-module-scalar-util \ perl-module-warnings \ " RDEPENDS:${PN}-ptest += "\ perl-module-config \ + perl-module-cwd \ perl-module-file-temp \ perl-module-filehandle \ perl-module-if \