On Tue, 10 Nov 2020 15:26:43 +0000, Niko Tyni wrote:

> Given the transliteration lists are built dynamically in the code, maybe
> the thing to do is just to insert some "no warnings 'misc'" declarations
> to suppress the warnings.

Some random notes:

1) popcon:
installed: 9 = vote: 1 + old: 7 + recent: 1 + no_files: 0

2) The following trivial patch makes the autopkgtest pass:

#v+
--- a/lib/Encode/Arabic/Buckwalter.pm
+++ b/lib/Encode/Arabic/Buckwalter.pm
@@ -158,6 +158,9 @@
 
         undef &encoder;
 
+        # https://bugs.debian.org/974143
+        no warnings 'misc';
+
         eval q /
 
             sub encoder ($) {
--- a/lib/Encode/Arabic/Habash.pm
+++ b/lib/Encode/Arabic/Habash.pm
@@ -160,6 +160,9 @@
 
         undef &encoder;
 
+        # https://bugs.debian.org/974143
+        no warnings 'misc';
+
         eval q /
 
             sub encoder ($) {
--- a/lib/Encode/Arabic/Parkinson.pm
+++ b/lib/Encode/Arabic/Parkinson.pm
@@ -154,6 +154,9 @@
 
         undef &encoder;
 
+        # https://bugs.debian.org/974143
+        no warnings 'misc';
+
         eval q /
 
             sub encoder ($) {
#v-

3a) This also turns off other warnings (obviously, the whole 'misc'
category);
3b) but actually the code blocks end after this operation so there
shouldn't be much left of ignored warnings  …



Cheers,
gregor  

-- 
 .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
   `-   NP: Bettina Wegner: Meinetwegen

Attachment: signature.asc
Description: Digital Signature

Reply via email to