[libpdl-netcdf-perl] 01/02: Add patch to fix invalid integer size for some 32bits perl builds.

Bas Couwenberg sebastic at debian.org
Fri Jun 24 18:15:50 UTC 2016


This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to branch master
in repository libpdl-netcdf-perl.

commit 37e72fa29b2f648537c36501a01bc9f940fbd4a1
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Fri Jun 24 19:46:05 2016 +0200

    Add patch to fix invalid integer size for some 32bits perl builds.
---
 debian/changelog                         |  7 +++++++
 debian/patches/32bits-integer-size.patch | 19 +++++++++++++++++++
 debian/patches/series                    |  1 +
 3 files changed, 27 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 922a33f..fea4968 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+libpdl-netcdf-perl (4.20-3) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * Add patch to fix invalid integer size for some 32bits perl builds.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Fri, 24 Jun 2016 19:52:32 +0200
+
 libpdl-netcdf-perl (4.20-2) unstable; urgency=medium
 
   * Team upload.
diff --git a/debian/patches/32bits-integer-size.patch b/debian/patches/32bits-integer-size.patch
new file mode 100644
index 0000000..d657e55
--- /dev/null
+++ b/debian/patches/32bits-integer-size.patch
@@ -0,0 +1,19 @@
+Description: Fix invalid integer size for some 32bits perl builds.
+Author: Rob <sisyphus at cpan.org>
+Bug: https://rt.cpan.org/Public/Bug/Display.html?id=80379
+Origin: https://rt.cpan.org/Ticket/Attachment/1188953/627182/
+
+--- a/netcdf.pd
++++ b/netcdf.pd
+@@ -1013,7 +1013,10 @@ use Fcntl; # importing constants O_CREAT
+ use constant DEBUG => 0;
+ 
+ EOPM
+-if ($Config{'ivsize'} == 8) { pp_addpm ('
++my $SIZE = $Config{'sizetype'} eq 'size_t'
++           ? $Config{'sizesize'}
++           : $Config{'ivsize'};
++if ($SIZE == 8) { pp_addpm ('
+ use constant PACKTYPE => "Q*";
+ ');
+ } else { pp_addpm ('
diff --git a/debian/patches/series b/debian/patches/series
index 0560b6e..61ecff3 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 perl-5.14-ccflags.patch
 spelling-errors.patch
+32bits-integer-size.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libpdl-netcdf-perl.git



More information about the Pkg-perl-cvs-commits mailing list