From 1414be781fd942db24a8e2e06b97d518d077e047 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Mon, 21 Apr 2008 11:26:16 +0000 Subject: [PATCH] Added patches/rrds-version. This is a work-around for a problem with DynaLoader::bootstrap(). Closes: #477134. --- debian/changelog | 7 +++++++ debian/patches/rrds-version | 14 ++++++++++++++ debian/patches/series | 1 + 3 files changed, 22 insertions(+) create mode 100644 debian/patches/rrds-version diff --git a/debian/changelog b/debian/changelog index 01193cc..b4b5e95 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 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 index 0000000..b6086c1 --- /dev/null +++ b/debian/patches/rrds-version @@ -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; + diff --git a/debian/patches/series b/debian/patches/series index 2591de2..69264da 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -4,3 +4,4 @@ no-rpath-for-ruby no-rpath-for-perl implicit-decl-fix typos +rrds-version -- 2.30.2