]> git.tokkee.org Git - pkg-rrdtool.git/commitdiff

Code

Added debian/patches/long-version.
authorSebastian Harl <sh@tokkee.org>
Wed, 21 May 2008 17:00:04 +0000 (19:00 +0200)
committerSebastian Harl <sh@tokkee.org>
Wed, 21 May 2008 17:00:04 +0000 (19:00 +0200)
This is a simple workaround for a bug in perl 5.10. Perl cannot currently
handle long version numbers when bootstrapping a module. Upstream used
1.299908051800 as a version number for this release candidate which caused
RRDs to be unusable with perl 5.10.

The date, used in the upstream version number, has been replaced with a
simple counter.

debian/patches/long-version [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/long-version b/debian/patches/long-version
new file mode 100644 (file)
index 0000000..e049975
--- /dev/null
@@ -0,0 +1,39 @@
+diff --git a/bindings/perl-piped/RRDp.pm b/bindings/perl-piped/RRDp.pm
+index e37104b..710814d 100644
+--- a/bindings/perl-piped/RRDp.pm
++++ b/bindings/perl-piped/RRDp.pm
+@@ -120,7 +120,7 @@ sub cmd (@);
+ sub end ();
+ sub read ();
+-$VERSION=1.299908051800;
++$VERSION=1.2999001;
+ sub start ($){
+   croak "rrdtool is already running"
+diff --git a/bindings/perl-shared/RRDs.pm b/bindings/perl-shared/RRDs.pm
+index b75c9f0..918c642 100644
+--- a/bindings/perl-shared/RRDs.pm
++++ b/bindings/perl-shared/RRDs.pm
+@@ -7,7 +7,7 @@ use vars qw(@ISA $VERSION);
+ require DynaLoader;
+-$VERSION=1.299908051800;
++$VERSION=1.2999001;
+ bootstrap RRDs $VERSION;
+diff --git a/configure b/configure
+index acfddca..62e0d89 100755
+--- a/configure
++++ b/configure
+@@ -2088,7 +2088,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
+-NUMVERS=1.299908051800
++NUMVERS=1.2999001
+ LIBVERS=3:2:1
index 69cecaaf69d7d1e3dd0691a382f19e6017caaff2..fdbdf1b354346de10363a53b2774f4a85f49f858 100644 (file)
@@ -3,3 +3,4 @@ setup.py-module-name
 no-rpath-for-ruby
 no-rpath-for-perl
 implicit-decl-fix
+long-version