File mrtg-lib64hack.patch of Package mrtg

---
 bin/cfgmaker         |    2 +-
 bin/indexmaker       |    2 +-
 bin/mrtg             |    2 +-
 bin/mrtg-traffic-sum |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

Index: bin/cfgmaker
===================================================================
--- bin/cfgmaker.orig
+++ bin/cfgmaker
@@ -44,7 +44,7 @@ BEGIN {
 
 use FindBin;
 use lib "${FindBin::Bin}";
-use lib "${FindBin::Bin}${main::SL}..${main::SL}lib${main::SL}mrtg2";
+use lib "${FindBin::Bin}${main::SL}..${main::SL}lib64${main::SL}mrtg2";
 
 use MRTG_lib "2.100015";
 use Getopt::Long;
Index: bin/indexmaker
===================================================================
--- bin/indexmaker.orig
+++ bin/indexmaker
@@ -48,7 +48,7 @@ BEGIN {
 
 use FindBin;
 use lib "${FindBin::Bin}";
-use lib "${FindBin::Bin}${main::SL}..${main::SL}lib${main::SL}mrtg2";
+use lib "${FindBin::Bin}${main::SL}..${main::SL}lib64${main::SL}mrtg2";
 
 use MRTG_lib "2.100016";
 use Getopt::Long;
Index: bin/mrtg
===================================================================
--- bin/mrtg.orig
+++ bin/mrtg
@@ -81,7 +81,7 @@ ERR
 
 use FindBin;
 use lib "${FindBin::Bin}";
-use lib "${FindBin::Bin}${main::SL}..${main::SL}lib${main::SL}mrtg2";
+use lib "${FindBin::Bin}${main::SL}..${main::SL}lib64${main::SL}mrtg2";
 use Getopt::Long;
 use Math::BigFloat;
 
Index: bin/mrtg-traffic-sum
===================================================================
--- bin/mrtg-traffic-sum.orig
+++ bin/mrtg-traffic-sum
@@ -33,7 +33,7 @@ BEGIN {
 
 use FindBin;
 use lib "${FindBin::Bin}";
-use lib "${FindBin::Bin}${main::SL}..${main::SL}lib${main::SL}mrtg2";
+use lib "${FindBin::Bin}${main::SL}..${main::SL}lib64${main::SL}mrtg2";
 use MRTG_lib "2.090017";
 use POSIX qw(mktime);
openSUSE Build Service is sponsored by