r21652 - in /trunk/libmath-gmp-perl/debian: changelog control patches/00list patches/64bit_ftbfs.dpatch patches/64bit_ftbfs.patch patches/series rules
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Sun Jun 15 17:12:57 UTC 2008
Author: gregoa
Date: Sun Jun 15 17:12:57 2008
New Revision: 21652
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=21652
Log:
Switch patch system from dpatch to quilt.
Added:
trunk/libmath-gmp-perl/debian/patches/64bit_ftbfs.patch
trunk/libmath-gmp-perl/debian/patches/series
Removed:
trunk/libmath-gmp-perl/debian/patches/00list
trunk/libmath-gmp-perl/debian/patches/64bit_ftbfs.dpatch
Modified:
trunk/libmath-gmp-perl/debian/changelog
trunk/libmath-gmp-perl/debian/control
trunk/libmath-gmp-perl/debian/rules
Modified: trunk/libmath-gmp-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmath-gmp-perl/debian/changelog?rev=21652&op=diff
==============================================================================
--- trunk/libmath-gmp-perl/debian/changelog (original)
+++ trunk/libmath-gmp-perl/debian/changelog Sun Jun 15 17:12:57 2008
@@ -9,6 +9,7 @@
<rafl at debian.org>); Florian Ragwitz <rafl at debian.org> moved to
Uploaders.
* Add debian/watch.
+ * Switch patch system from dpatch to quilt.
-- gregor herrmann <gregoa at debian.org> Sun, 15 Jun 2008 18:48:44 +0200
Modified: trunk/libmath-gmp-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmath-gmp-perl/debian/control?rev=21652&op=diff
==============================================================================
--- trunk/libmath-gmp-perl/debian/control (original)
+++ trunk/libmath-gmp-perl/debian/control Sun Jun 15 17:12:57 2008
@@ -1,7 +1,7 @@
Source: libmath-gmp-perl
Section: perl
Priority: optional
-Build-Depends: debhelper (>= 5.0.0), dpatch, perl (>= 5.8.0-7), libgmp3-dev
+Build-Depends: debhelper (>= 5.0.0), quilt (>= 0.40), perl (>= 5.8.0-7), libgmp3-dev
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
Uploaders: Florian Ragwitz <rafl at debian.org>
Standards-Version: 3.6.2
Added: trunk/libmath-gmp-perl/debian/patches/64bit_ftbfs.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmath-gmp-perl/debian/patches/64bit_ftbfs.patch?rev=21652&op=file
==============================================================================
--- trunk/libmath-gmp-perl/debian/patches/64bit_ftbfs.patch (added)
+++ trunk/libmath-gmp-perl/debian/patches/64bit_ftbfs.patch Sun Jun 15 17:12:57 2008
@@ -1,0 +1,44 @@
+Author: Florian Ragwitz <rafl at debian.org>
+Description: Fix test suite on 64 bit platforms
+--- libmath-gmp-perl.orig/t/gmppm.t
++++ libmath-gmp-perl/t/gmppm.t
+@@ -6,6 +6,7 @@
+
+ use Math::GMP;
+ use Test;
++use Config;
+ use strict;
+
+ my ($f,$try,$x,$y,$ans, at tests, at data, at args,$ans1,$z,$line);
+@@ -46,8 +47,10 @@
+ $try .= 'Math::GMP::gmp_sqrt($x);';
+ } elsif ($f eq 'uintify') {
+ $try .= "Math::GMP::uintify_gmp(\$x);";
++ $ans = pop(@args) if ($Config{longsize} == 4 && scalar @args > 1);
+ } elsif ($f eq 'intify') {
+ $try .= "Math::GMP::intify_gmp(\$x);";
++ $ans = pop(@args) if ($Config{longsize} == 4 && scalar @args > 1);
+ } elsif ($f eq 'new_from_base') {
+ $try .= "\$x;";
+ } else {
+@@ -418,16 +421,16 @@
+ -5000:i2:13
+ &uintify
+ +15:15
+-+9999999999:1410065407
+-+99999999999:1215752191
+-+999999999999:3567587327
+++9999999999:1410065407:9999999999
+++99999999999:1215752191:99999999999
+++999999999999:3567587327:999999999999
+ &add_ui
+ +999999:i1:1000000
+ +9999999:i1:10000000
+ +99999999:i1:100000000
+ &intify
+ +999999999:999999999
+-+9999999999:1410065407
+++9999999999:1410065407:9999999999
+ &mul_2exp
+ +9999:i9:5119488
+ +99999:i9:51199488
Added: trunk/libmath-gmp-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmath-gmp-perl/debian/patches/series?rev=21652&op=file
==============================================================================
--- trunk/libmath-gmp-perl/debian/patches/series (added)
+++ trunk/libmath-gmp-perl/debian/patches/series Sun Jun 15 17:12:57 2008
@@ -1,0 +1,1 @@
+64bit_ftbfs.patch
Modified: trunk/libmath-gmp-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmath-gmp-perl/debian/rules?rev=21652&op=diff
==============================================================================
--- trunk/libmath-gmp-perl/debian/rules (original)
+++ trunk/libmath-gmp-perl/debian/rules Sun Jun 15 17:12:57 2008
@@ -41,14 +41,14 @@
[ ! -d $(TMP)/usr/share/perl5 ] || rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/share/perl5
touch install-stamp
-patch: patch-stamp
-patch-stamp:
+patch: $(QUILT_STAMPFN)
+$(QUILT_STAMPFN):
dpatch apply-all
- touch patch-stamp
+ touch $(QUILT_STAMPFN)
unpatch:
dpatch deapply-all
- rm -rf patch-stamp debian/patched
+ rm -rf $(QUILT_STAMPFN) debian/patched
# Build architecture-independent files here.
binary-indep: build install
More information about the Pkg-perl-cvs-commits
mailing list