Code

Added patches/rrds-version.
authorSebastian Harl <sh@tokkee.org>
Mon, 21 Apr 2008 11:26:16 +0000 (11:26 +0000)
committerSebastian Harl <sh@tokkee.org>
Mon, 21 Apr 2008 11:26:16 +0000 (11:26 +0000)
This is a work-around for a problem with DynaLoader::bootstrap().
Closes: #477134.
debian/changelog
debian/patches/rrds-version [new file with mode: 0644]
debian/patches/series

index 01193cc97e6b5826da7c265dcb43cfe8e808b6a3..b4b5e95f1f1930f9ed452b3fbd78a5054394863a 100644 (file)
@@ -1,3 +1,10 @@
+rrdtool (1.2.27-3) unstable; urgency=low
+
+  * Added patches/rrds-version to work around a problem with
+    DynaLoader::bootstrap() (Closes: #477134).
+
+ -- Sebastian Harl <sh@tokkee.org>  Mon, 21 Apr 2008 11:21:58 +0000
+
 rrdtool (1.2.27-2) unstable; urgency=low
 
   * Renamed global definition of LDFLAGS to LINKER_FLAGS in debian/rules to
diff --git a/debian/patches/rrds-version b/debian/patches/rrds-version
new file mode 100644 (file)
index 0000000..b6086c1
--- /dev/null
@@ -0,0 +1,14 @@
+diff --git a/bindings/perl-shared/RRDs.pm b/bindings/perl-shared/RRDs.pm
+index 44b4d8c..ceb0ad6 100644
+--- a/bindings/perl-shared/RRDs.pm
++++ b/bindings/perl-shared/RRDs.pm
+@@ -7,7 +7,8 @@ use vars qw(@ISA $VERSION);
+ require DynaLoader;
+-$VERSION=1.2027;
++# DynaLoader::bootstrap expects a string
++$VERSION='1.2027';
+ bootstrap RRDs $VERSION;
index 2591de2c20cd3197c11a1ab34279c566b957d435..69264dadd394832cc49b0570e20bcc391e48c2c5 100644 (file)
@@ -4,3 +4,4 @@ no-rpath-for-ruby
 no-rpath-for-perl
 implicit-decl-fix
 typos
+rrds-version