[omd-commits] OMD Git: omd: thruk: removed perl 5.10 dependency. Thruk works well with 5. 8 too

git version control git at mathias-kettner.de
Fri Dec 17 14:51:22 CET 2010


Module: omd
Branch: master
Commit: 66245261bb717085a15a5d56ea6df5ad3a3ba21f
URL:    http://omdistro.org/projects/omd/repository/revisions/66245261bb717085a15a5d56ea6df5ad3a3ba21f

Author: Sven Nierlein <sven at nierlein.de>
Date:   Fri Dec 17 14:45:00 2010 +0100

thruk: removed perl 5.10 dependency. Thruk works well with 5.8 too

---

 packages/thruk/patches/0004-fixed-use-perl.patch |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/packages/thruk/patches/0004-fixed-use-perl.patch b/packages/thruk/patches/0004-fixed-use-perl.patch
new file mode 100644
index 0000000..8ebd13e
--- /dev/null
+++ b/packages/thruk/patches/0004-fixed-use-perl.patch
@@ -0,0 +1,11 @@
+--- Thruk-0.72.2/script/thruk_fastcgi.pl-2010-12-17	2010-12-17 14:41:29.000000000 +0100
++++ Thruk-0.72.2/script/thruk_fastcgi.pl	2010-12-17 14:41:35.000000000 +0100
+@@ -7,7 +7,7 @@
+     use FindBin;
+     use Config;
+     if(-e $FindBin::Bin."/../local-lib") {
+-        use 5.10.0; # package is build with perl 5.10.0
++        #use 5.10.0; # package is build with perl 5.10.0
+         use lib $FindBin::Bin."/../local-lib/lib/perl5";
+         if(! -e $FindBin::Bin."/../local-lib/lib/perl5/".$Config{archname}) {
+             die("\nERROR: this is the wrong precompiled version, your archname is: ".$Config{archname}."\n\n");



More information about the omd-commits mailing list