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
@@ -42,11 +42,11 @@ 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;
 use Pod::Usage;
 use Socket;
Index: bin/indexmaker
===================================================================
--- bin/indexmaker.orig
+++ bin/indexmaker
@@ -46,11 +46,11 @@ 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;
 use Pod::Usage;
 
Index: bin/mrtg
===================================================================
--- bin/mrtg.orig
+++ bin/mrtg
@@ -79,11 +79,11 @@ 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;
 
 # search for binaries in the bin and bin/../lib  directory
 use MRTG_lib "2.100016";
Index: bin/mrtg-traffic-sum
===================================================================
--- bin/mrtg-traffic-sum.orig
+++ bin/mrtg-traffic-sum
@@ -31,11 +31,11 @@ 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);
 
 '$Revision: 1.9 $ ' =~ /Revision: (\S*)/;
 my $Revision = $1;
openSUSE Build Service is sponsored by