Bug#1093886: src:libxs-parse-keyword-perl: fix autopkgtest error
Zixing Liu
zixing.liu at canonical.com
Thu Jan 23 19:45:28 GMT 2025
Package: libxs-parse-keyword-perl
Version: 0.48-1
Severity: normal
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu plucky ubuntu-patch
Dear Maintainer,
In Ubuntu, the attached patch was applied to achieve the following:
* d/p/Fix-implicit-int-conversion.patch: add a patch to fix implicit integer
conversion by making it explicit
Thanks for considering the patch.
-- System Information:
Debian Release: trixie/sid
APT prefers oracular-updates
APT policy: (500, 'oracular-updates'), (500, 'oracular-security'), (500, 'oracular'), (100, 'oracular-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.11.0-13-generic (SMP w/10 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), LANGUAGE=en_CA:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
-------------- next part --------------
diff -Nru libxs-parse-keyword-perl-0.48/debian/patches/Fix-implicit-int-conversion.patch libxs-parse-keyword-perl-0.48/debian/patches/Fix-implicit-int-conversion.patch
--- libxs-parse-keyword-perl-0.48/debian/patches/Fix-implicit-int-conversion.patch 1969-12-31 17:00:00.000000000 -0700
+++ libxs-parse-keyword-perl-0.48/debian/patches/Fix-implicit-int-conversion.patch 2025-01-23 11:10:10.000000000 -0700
@@ -0,0 +1,18 @@
+Description: Fix compiler warnings about implicit integer conversion
+Author: Zixing Liu <zixing.liu at canonical.com>
+Forwarded: not-needed
+Last-Update: 2025-01-23
+---
+Index: libxs-parse-keyword-perl/src/keyword.c
+===================================================================
+--- libxs-parse-keyword-perl.orig/src/keyword.c
++++ libxs-parse-keyword-perl/src/keyword.c
+@@ -1009,7 +1009,7 @@ static int my_keyword_plugin(pTHX_ char
+ continue;
+
+ if(PL_parser->in_my && !(reg->hooks->flags & XPK_FLAG_PERMIT_LEXICAL))
+- croak("'my %.*s' is not permitted as a lexical keyword", kwlen, kw);
++ croak("'my %.*s' is not permitted as a lexical keyword", (int)kwlen, kw);
+
+ if(reg->hooks->check)
+ (*reg->hooks->check)(aTHX_ reg->hookdata);
diff -Nru libxs-parse-keyword-perl-0.48/debian/patches/series libxs-parse-keyword-perl-0.48/debian/patches/series
--- libxs-parse-keyword-perl-0.48/debian/patches/series 1969-12-31 17:00:00.000000000 -0700
+++ libxs-parse-keyword-perl-0.48/debian/patches/series 2025-01-23 10:00:03.000000000 -0700
@@ -0,0 +1 @@
+Fix-implicit-int-conversion.patch
More information about the pkg-perl-maintainers
mailing list