r22938 - in /trunk/libswish-api-common-perl/debian: changelog patches/40provide_VERSION.patch patches/series
djpig at users.alioth.debian.org
djpig at users.alioth.debian.org
Tue Jul 8 20:46:37 UTC 2008
Author: djpig
Date: Tue Jul 8 20:46:37 2008
New Revision: 22938
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=22938
Log:
Provide a &VERSION subroutine since somehow SWISH::API manages to wreck
the one we get from UNIVERSAL which causes FTBFS in other packages.
This is a workaround for #422609
Added:
trunk/libswish-api-common-perl/debian/patches/40provide_VERSION.patch
Modified:
trunk/libswish-api-common-perl/debian/changelog
trunk/libswish-api-common-perl/debian/patches/series
Modified: trunk/libswish-api-common-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libswish-api-common-perl/debian/changelog?rev=22938&op=diff
==============================================================================
--- trunk/libswish-api-common-perl/debian/changelog (original)
+++ trunk/libswish-api-common-perl/debian/changelog Tue Jul 8 20:46:37 2008
@@ -10,6 +10,8 @@
to Uploaders.
* Add debian/watch.
* Switch patch system from dpatch to quilt.
+ * Provide a &VERSION subroutine since somehow SWISH::API manages to wreck
+ the one we get from UNIVERSAL which causes FTBFS in other packages.
-- gregor herrmann <gregoa at debian.org> Sun, 15 Jun 2008 17:22:24 +0200
Added: trunk/libswish-api-common-perl/debian/patches/40provide_VERSION.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libswish-api-common-perl/debian/patches/40provide_VERSION.patch?rev=22938&op=file
==============================================================================
--- trunk/libswish-api-common-perl/debian/patches/40provide_VERSION.patch (added)
+++ trunk/libswish-api-common-perl/debian/patches/40provide_VERSION.patch Tue Jul 8 20:46:37 2008
@@ -1,0 +1,18 @@
+Index: libswish-api-common-perl/lib/SWISH/API/Common.pm
+===================================================================
+--- libswish-api-common-perl.orig/lib/SWISH/API/Common.pm 2008-07-08 22:39:36.000000000 +0200
++++ libswish-api-common-perl/lib/SWISH/API/Common.pm 2008-07-08 22:41:03.000000000 +0200
+@@ -22,6 +22,13 @@
+ use Sysadm::Install qw(:all);
+ use File::Temp qw(tempfile);
+
++# work around SWISH namespaces wreckage
++# the absence of a working &VERSION
++# causes problems with ExtUtils::MakeMaker
++# See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=422609
++# for more info
++sub VERSION { return $VERSION; }
++
+ ###########################################
+ sub new {
+ ###########################################
Modified: trunk/libswish-api-common-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libswish-api-common-perl/debian/patches/series?rev=22938&op=diff
==============================================================================
--- trunk/libswish-api-common-perl/debian/patches/series (original)
+++ trunk/libswish-api-common-perl/debian/patches/series Tue Jul 8 20:46:37 2008
@@ -1,2 +1,3 @@
20swish-e_path.patch
30fix-makefile-pl.patch
+40provide_VERSION.patch
More information about the Pkg-perl-cvs-commits
mailing list