File collectl-2.6.4-share_dir.patch of Package collectl

--- collectl.pl
+++ collectl.pl
@@ -126,6 +126,7 @@
 }
 
 $BinDir=dirname($ExeName);
+$ShareDir="/usr/share/collectl";
 $Program=basename($ExeName);
 $Program=~s/\.pl$//;    # remove extension for production
 $MyDir= ($PcFlag) ?   `cd` : `pwd`;
@@ -149,7 +150,7 @@
 require "Sys/Syslog.pm"    if !$PcFlag;
 
 # Load include files and optional PMs if there
-require "$BinDir/formatit.ph";
+require "$ShareDir/formatit.ph";
 $zlibFlag= (eval {require "Compress/Zlib.pm" or die}) ? 1 : 0;
 $hiResFlag=(eval {require "Time/HiRes.pm" or die}) ? 1 : 0;