File mrtg-icons_path.patch of Package mrtg

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

Index: bin/indexmaker
===================================================================
--- bin/indexmaker.orig
+++ bin/indexmaker
@@ -292,11 +292,12 @@ sub genindex ($$$$) {
     if ($$cfg{icondir} || $$opt{icondir}) {
        $gifPath = $$opt{icondir} || $$cfg{icondir};
        #lets make sure there is a trailing path separator
      $gifPath =~ s|/*$|/|;
    } else {
-       $gifPath = "$$cfg{imagehtml}";
+      # $gifPath = "$$cfg{imagehtml}";
+      $gifPath = "/icons/"
    }
 
 
 if ($$opt{optlog}) {
     $metaCmdLine = $argz;
Index: bin/mrtg
===================================================================
--- bin/mrtg.orig
+++ bin/mrtg
@@ -1832,11 +1832,12 @@ print HTML "
     if (defined $$cfg{icondir}) {
         $gifPath = $$cfg{icondir};
         #lets make sure there is a trailing path separator
         $gifPath =~ s|/*$|/|;
     } else {
-	$gifPath = "$dirrel$$cfg{imagehtml}";
+#	$gifPath = "$dirrel$$cfg{imagehtml}";
+	$gifPath = "/icons/"
     }
 
     print HTML<<TEXT;
 <!-- Begin MRTG Block -->
 		<div id="footer">
openSUSE Build Service is sponsored by