New Upstream Release - libdynaloader-functions-perl

Ready changes

Summary

Merged new upstream version: 0.004 (was: 0.003).

Resulting package

Built on 2023-05-01T13:08 (took 11m1s)

The resulting binary packages can be installed (if you have the apt repository enabled) by running one of:

apt install -t fresh-releases libdynaloader-functions-perl

Lintian Result

Diff

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..11d7e53
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,11 @@
+/Build
+/Makefile
+/_build
+/blib
+/META.json
+/META.yml
+/MYMETA.json
+/MYMETA.yml
+/Makefile.PL
+/SIGNATURE
+/DynaLoader-Functions-*
diff --git a/Changes b/Changes
index d948b37..6dceb93 100644
--- a/Changes
+++ b/Changes
@@ -1,3 +1,14 @@
+version 0.004; 2023-04-06
+
+  * port test C code to Perl 5.33.1, which defines a PERL_VERSION_GE()
+    macro that clashes with the one this code previously had
+
+  * in test C code, avoid a compiler warning that arises on Perl 5.20
+
+  * in test C code, rename some macros for better style
+
+  * in test C code, better argument parenthesisation in a macro
+
 version 0.003; 2017-07-31
 
   * update linkable-finding code to handle new Windows builds with
diff --git a/META.json b/META.json
index c1604c9..c3a1010 100644
--- a/META.json
+++ b/META.json
@@ -4,7 +4,7 @@
       "Andrew Main (Zefram) <zefram@fysh.org>"
    ],
    "dynamic_config" : 0,
-   "generated_by" : "Module::Build version 0.4224",
+   "generated_by" : "Module::Build version 0.4232",
    "license" : [
       "perl_5"
    ],
@@ -47,7 +47,7 @@
    "provides" : {
       "DynaLoader::Functions" : {
          "file" : "lib/DynaLoader/Functions.pm",
-         "version" : "0.003"
+         "version" : "0.004"
       }
    },
    "release_status" : "stable",
@@ -60,6 +60,6 @@
          "http://dev.perl.org/licenses/"
       ]
    },
-   "version" : "0.003",
+   "version" : "0.004",
    "x_serialization_backend" : "JSON::PP version 2.93"
 }
diff --git a/META.yml b/META.yml
index 9b585cf..314ab7e 100644
--- a/META.yml
+++ b/META.yml
@@ -14,7 +14,7 @@ configure_requires:
   strict: '0'
   warnings: '0'
 dynamic_config: 0
-generated_by: 'Module::Build version 0.4224, CPAN::Meta::Converter version 2.150010'
+generated_by: 'Module::Build version 0.4232, CPAN::Meta::Converter version 2.150010'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -23,7 +23,7 @@ name: DynaLoader-Functions
 provides:
   DynaLoader::Functions:
     file: lib/DynaLoader/Functions.pm
-    version: '0.003'
+    version: '0.004'
 requires:
   Carp: '0'
   Config: '0'
@@ -36,5 +36,5 @@ requires:
 resources:
   bugtracker: https://rt.cpan.org/Public/Dist/Display.html?Name=DynaLoader-Functions
   license: http://dev.perl.org/licenses/
-version: '0.003'
+version: '0.004'
 x_serialization_backend: 'CPAN::Meta::YAML version 0.012'
diff --git a/README b/README
index 67d3cb8..eae0c43 100644
--- a/README
+++ b/README
@@ -22,7 +22,7 @@ Andrew Main (Zefram) <zefram@fysh.org>
 
 COPYRIGHT
 
-Copyright (C) 2011, 2012, 2013, 2017
+Copyright (C) 2011, 2012, 2013, 2017, 2023
 Andrew Main (Zefram) <zefram@fysh.org>
 
 LICENSE
diff --git a/SIGNATURE b/SIGNATURE
index 7de10ed..b64a819 100644
--- a/SIGNATURE
+++ b/SIGNATURE
@@ -1,5 +1,5 @@
 This file contains message digests of all files listed in MANIFEST,
-signed via the Module::Signature module, version 0.81.
+signed via the Module::Signature module, version 0.88.
 
 To verify the content in this distribution, first make sure you have
 Module::Signature installed, then type:
@@ -12,24 +12,23 @@ the distribution may already have been compromised, and you should
 not run its Makefile.PL or Build.PL.
 
 -----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: RIPEMD160
 
-SHA1 72acbec5f6a757fc486eb6098bf0d4ff9b40b99d .gitignore
-SHA1 c85a6ff1255c171fca44a6121e7d0be44efc30f5 Build.PL
-SHA1 e03d959d16b184b8d67b50706ba6ee7a4d82d021 Changes
-SHA1 d72180562d84a62d61ea4982386ed95db4a20ccb MANIFEST
-SHA1 20736d686e8afea6dd978d842a4f9432f8c2d02f META.json
-SHA1 5061d6cce4044ba5296622d37740ca1d9950afd8 META.yml
-SHA1 4e904d13b7b78937d91b61c47b9457e4d2acb4e5 README
-SHA1 b004fd96f1124410fc0c613eecb560792a6c4c04 lib/DynaLoader/Functions.pm
-SHA1 8a3ed5289676357f05592090a09e7ef841b5a476 t/dyna_low.c
-SHA1 312d487c13a77c08b9cf209a3e97a74506ec17cd t/dyna_low.t
-SHA1 904d9a4f76525e2303e4b0c168c68230f223c8de t/pod_cvg.t
-SHA1 65c75abdef6f01a5d1588a307f2ddfe2333dc961 t/pod_syn.t
+SHA256 883f6a49528899dde53db5c04250446c484bae29ba8753638295a0690ac9f59f .gitignore
+SHA256 e7414b4b17910df418050ba38fc923d6e2df83955638dc99668ce8e816c1a523 Build.PL
+SHA256 c5814d235be305d73fdda6594c12105d9ea4f7b37aafa46f9c7afb25b60e1ef7 Changes
+SHA256 8b520d6bb04d9aeff1bc22222778e28d16fcb4bdf7ba265447fe63887e934b1b MANIFEST
+SHA256 f631925693ed886309d7d9d8b756048812f19b20a51550d3dfee790cbed09ac5 META.json
+SHA256 47b624df72e20055438285488ef43a362537b2fe6e1b2ab5a2e2153ecc607493 META.yml
+SHA256 add1d76b99a0eafc7660dd3334a8eed85fb2df8ee098c2ae37b092d8d0226d6a README
+SHA256 29d3027e14c416589d2405a065f03d6079b85232a5223d7522cdffbc9faa4ef4 lib/DynaLoader/Functions.pm
+SHA256 c4782bcea80f1628c656c673cb096d056313743d417a402ee1eaae733248de2a t/dyna_low.c
+SHA256 954e9f010fe1ac9b5f3b255e06b015625fa421c70ffd46eb565c7ff21094e23d t/dyna_low.t
+SHA256 3679257bdfb4a07658e98a41325f82c1744f7dae6d1d0151f1b216af0c1df5c9 t/pod_cvg.t
+SHA256 e16860066c4ca9b2ee9e7d4604297def8a58b53bf0ca03eed863b5d9c5a2ac91 t/pod_syn.t
 -----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1
 
-iEYEARECAAYFAll/aq0ACgkQOV9mt2VyAVEpDACeJfbu41oUt3rEgpPCIn7iwqr4
-YLIAn2r8mIXaKS3acyNpb111RfncD6ox
-=NEsz
+iEYEAREDAAYFAmQvIHgACgkQOV9mt2VyAVGzFwCeMFiFFqtNW6In5p4NtKI4ZSR+
+9WQAn1ifwSspusYfJuipwUlA4KfSZy3f
+=fjKj
 -----END PGP SIGNATURE-----
diff --git a/debian/changelog b/debian/changelog
index 07b41b7..25ffa6e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+libdynaloader-functions-perl (0.004-1) UNRELEASED; urgency=low
+
+  * New upstream release.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Mon, 01 May 2023 12:58:11 -0000
+
 libdynaloader-functions-perl (0.003-3) unstable; urgency=medium
 
   [ Debian Janitor ]
diff --git a/lib/DynaLoader/Functions.pm b/lib/DynaLoader/Functions.pm
index d69f7a0..b7772a6 100644
--- a/lib/DynaLoader/Functions.pm
+++ b/lib/DynaLoader/Functions.pm
@@ -35,7 +35,7 @@ package DynaLoader::Functions;
 use warnings;
 use strict;
 
-our $VERSION = "0.003";
+our $VERSION = "0.004";
 
 use parent "Exporter";
 our @EXPORT_OK = qw(
@@ -437,7 +437,7 @@ Andrew Main (Zefram) <zefram@fysh.org>
 
 =head1 COPYRIGHT
 
-Copyright (C) 2011, 2012, 2013, 2017
+Copyright (C) 2011, 2012, 2013, 2017, 2023
 Andrew Main (Zefram) <zefram@fysh.org>
 
 =head1 LICENSE
diff --git a/t/dyna_low.c b/t/dyna_low.c
index afc309e..463fbde 100644
--- a/t/dyna_low.c
+++ b/t/dyna_low.c
@@ -3,32 +3,42 @@
 #include "perl.h"
 #include "XSUB.h"
 
-#define PERL_VERSION_DECIMAL(r,v,s) (r*1000000 + v*1000 + s)
-#define PERL_DECIMAL_VERSION \
-	PERL_VERSION_DECIMAL(PERL_REVISION,PERL_VERSION,PERL_SUBVERSION)
-#define PERL_VERSION_GE(r,v,s) \
-	(PERL_DECIMAL_VERSION >= PERL_VERSION_DECIMAL(r,v,s))
+#define Q_PERL_VERSION_DECIMAL(r,v,s) ((r)*1000000 + (v)*1000 + (s))
+#define Q_PERL_DECIMAL_VERSION \
+	Q_PERL_VERSION_DECIMAL(PERL_REVISION,PERL_VERSION,PERL_SUBVERSION)
+#define Q_PERL_VERSION_GE(r,v,s) \
+	(Q_PERL_DECIMAL_VERSION >= Q_PERL_VERSION_DECIMAL(r,v,s))
+#define Q_PERL_VERSION_LT(r,v,s) \
+	(Q_PERL_DECIMAL_VERSION < Q_PERL_VERSION_DECIMAL(r,v,s))
 
-#if defined(WIN32) && PERL_VERSION_GE(5,13,6)
-# define MY_BASE_CALLCONV EXTERN_C
+#if (Q_PERL_VERSION_GE(5,17,6) && Q_PERL_VERSION_LT(5,17,11)) || \
+	(Q_PERL_VERSION_GE(5,19,3) && Q_PERL_VERSION_LT(5,21,1))
+PERL_STATIC_INLINE void suppress_unused_warning(void)
+{
+	(void) S_croak_memory_wrap;
+}
+#endif /* (>=5.17.6 && <5.17.11) || (>=5.19.3 && <5.21.1) */
+
+#if defined(WIN32) && Q_PERL_VERSION_GE(5,13,6)
+# define Q_BASE_CALLCONV EXTERN_C
 #else /* !(WIN32 && >= 5.13.6) */
-# define MY_BASE_CALLCONV PERL_CALLCONV
+# define Q_BASE_CALLCONV PERL_CALLCONV
 #endif /* !(WIN32 && >= 5.13.6) */
 
-#define MY_EXPORT_CALLCONV MY_BASE_CALLCONV
+#define Q_EXPORT_CALLCONV Q_BASE_CALLCONV
 
-MY_EXPORT_CALLCONV int dynalow_foo(void)
+Q_EXPORT_CALLCONV int dynalow_foo(void)
 {
 	return 42;
 }
 
-MY_EXPORT_CALLCONV int dynalow_bar(void)
+Q_EXPORT_CALLCONV int dynalow_bar(void)
 {
 	return 69;
 }
 
 /* this is necessary for building on some platforms */
-MY_EXPORT_CALLCONV int boot_t__dyna_low(void)
+Q_EXPORT_CALLCONV int boot_t__dyna_low(void)
 {
 	return 666;
 }

Debdiff

File lists identical (after any substitutions)

No differences were encountered in the control files

More details

Full run details