r13608 - in /trunk/libreadonly-xs-perl/debian: changelog control patches/ patches/croak.patch patches/series rules

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Sat Jan 26 17:23:12 UTC 2008


Author: gregoa-guest
Date: Sat Jan 26 17:23:12 2008
New Revision: 13608

URL: http://svn.debian.org/wsvn/?sc=1&rev=13608
Log:
Add patch croak.patch (and quilt framework) to make the package build
  under perl 5.10.

Added:
    trunk/libreadonly-xs-perl/debian/patches/
    trunk/libreadonly-xs-perl/debian/patches/croak.patch
    trunk/libreadonly-xs-perl/debian/patches/series
Modified:
    trunk/libreadonly-xs-perl/debian/changelog
    trunk/libreadonly-xs-perl/debian/control
    trunk/libreadonly-xs-perl/debian/rules

Modified: trunk/libreadonly-xs-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libreadonly-xs-perl/debian/changelog?rev=13608&op=diff
==============================================================================
--- trunk/libreadonly-xs-perl/debian/changelog (original)
+++ trunk/libreadonly-xs-perl/debian/changelog Sat Jan 26 17:23:12 2008
@@ -1,10 +1,10 @@
 libreadonly-xs-perl (1.04-2) UNRELEASED; urgency=low
 
-  PERL 5.10: FTBFS with perl 5.10, tests fail
-  
   * debian/rules: delete /usr/share/perl5 only if it exists.
+  * Add patch croak.patch (and quilt framework) to make the package build
+    under perl 5.10.
 
- -- gregor herrmann <gregor+debian at comodo.priv.at>  Mon, 21 Jan 2008 22:32:00 +0100
+ -- gregor herrmann <gregor+debian at comodo.priv.at>  Sat, 26 Jan 2008 18:20:17 +0100
 
 libreadonly-xs-perl (1.04-1) unstable; urgency=low
 

Modified: trunk/libreadonly-xs-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libreadonly-xs-perl/debian/control?rev=13608&op=diff
==============================================================================
--- trunk/libreadonly-xs-perl/debian/control (original)
+++ trunk/libreadonly-xs-perl/debian/control Sat Jan 26 17:23:12 2008
@@ -1,7 +1,7 @@
 Source: libreadonly-xs-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 5.0.0), perl (>= 5.8.8-11.1)
+Build-Depends: debhelper (>= 5.0.0), perl (>= 5.8.8-11.1), quilt
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Damyan Ivanov <dmn at debian.org>
 Standards-Version: 3.7.2

Added: trunk/libreadonly-xs-perl/debian/patches/croak.patch
URL: http://svn.debian.org/wsvn/trunk/libreadonly-xs-perl/debian/patches/croak.patch?rev=13608&op=file
==============================================================================
--- trunk/libreadonly-xs-perl/debian/patches/croak.patch (added)
+++ trunk/libreadonly-xs-perl/debian/patches/croak.patch Sat Jan 26 17:23:12 2008
@@ -1,0 +1,11 @@
+--- libreadonly-xs-perl.orig/XS.pm
++++ libreadonly-xs-perl/XS.pm
+@@ -33,7 +33,7 @@
+     if ($MAGIC_COOKIE ne "Do NOT use or require Readonly::XS unless you're me.")
+     {
+         require Carp;
+-        Carp::croak "Readonly::XS is not a standalone module. You should not use it directly.";
++        Carp::croak("Readonly::XS is not a standalone module. You should not use it directly.");
+     }
+ }
+ 

Added: trunk/libreadonly-xs-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/trunk/libreadonly-xs-perl/debian/patches/series?rev=13608&op=file
==============================================================================
--- trunk/libreadonly-xs-perl/debian/patches/series (added)
+++ trunk/libreadonly-xs-perl/debian/patches/series Sat Jan 26 17:23:12 2008
@@ -1,0 +1,1 @@
+croak.patch

Modified: trunk/libreadonly-xs-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libreadonly-xs-perl/debian/rules?rev=13608&op=diff
==============================================================================
--- trunk/libreadonly-xs-perl/debian/rules (original)
+++ trunk/libreadonly-xs-perl/debian/rules Sat Jan 26 17:23:12 2008
@@ -6,6 +6,8 @@
 
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
+
+include /usr/share/quilt/quilt.make
 
 # If set to a true value then MakeMaker's prompt function will
 # always return the default without waiting for user input.
@@ -29,7 +31,7 @@
 endif
 
 build: build-stamp
-build-stamp:
+build-stamp: $(QUILT_STAMPFN)
 	dh_testdir
 
 	$(PERL) Makefile.PL INSTALLDIRS=vendor \
@@ -40,7 +42,7 @@
 
 	touch $@
 
-clean:
+clean: unpatch
 	dh_testdir
 	dh_testroot
 




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