[SCM] Debian packaging of libnet-netmask-perl branch, master, updated. be4cc78041692cb8395a1b98edc39396f101ac87

Jonas Smedegaard dr at jones.dk
Sun Mar 25 13:20:45 UTC 2012


The following commit has been merged in the master branch:
commit d58e517d4ae4d7fb41cf481cfbcd287efe36f553
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Sun Mar 25 14:37:30 2012 +0200

    Drop patch to avoid int(): Applied upstream.

diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index b218569..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-uselongdouble.patch
diff --git a/debian/patches/uselongdouble.patch b/debian/patches/uselongdouble.patch
deleted file mode 100644
index b5737f0..0000000
--- a/debian/patches/uselongdouble.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-Index: libnet-netmask-perl/Netmask.pm
-===================================================================
---- libnet-netmask-perl.orig/Netmask.pm	2010-05-02 17:40:16.000000000 +0100
-+++ libnet-netmask-perl/Netmask.pm	2010-05-02 17:38:14.000000000 +0100
-@@ -28,6 +28,7 @@
- use strict;
- use warnings;
- use Carp;
-+use POSIX qw(floor);
- use overload
- 	'""' => \&desc,
- 	'<=>' => \&cmp_net_netmask_block,
-@@ -462,7 +463,7 @@
- 	my @result;
- 	while ($end >= $start) {
- 		my $maxsize = imaxblock($start, 32);
--		my $maxdiff = 32 - int(log($end - $start + 1)/log(2));
-+		my $maxdiff = 32 - floor(log($end - $start + 1)/log(2));
- 		$maxsize = $maxdiff if $maxsize < $maxdiff;
- 		push (@result, bless {
- 			'IBASE' => $start,

-- 
Debian packaging of libnet-netmask-perl



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