File ntop-dot-path.patch of Package ntop
Index: ntop-4.1.0/report.c
===================================================================
--- ntop-4.1.0.orig/report.c
+++ ntop-4.1.0/report.c
@@ -2091,7 +2091,7 @@ void makeDot() {
if(fetchPrefsValue("dot.path", buf, sizeof(buf)) != -1) {
snprintf(dotPath, sizeof(dotPath), "%s", buf);
} else {
- snprintf(dotPath, sizeof(dotPath), "/usr/local/bin/dot");
+ snprintf(dotPath, sizeof(dotPath), "/usr/bin/dot");
storePrefsValue("dot.path", dotPath); /* Set the default */
}