gnuplot patch for 2.8.1

Nikolay Fedchik <[email protected]>
Newsgroups gmane.comp.web.web-polygraph.user
Organization Atlantic Link
Message-ID <[email protected]>
Hello, users-mN9fGWdlm5pku/f+YMZH/[email protected]

Here the patch to fix a problem with gnuplot 4.0
Web Polygraph 2.8.1 compiled on my Linux box with conf below:

Linux vatra 2.4.26-std-up-alt6 #1 Tue Aug 3 21:45:23 MSD 2004 i686 unknown unknown GNU/Linux

Reading specs from /usr/lib/gcc-lib/i586-alt-linux/3.3.3/specs
Configured with: ../configure --prefix=/usr --libdir=/usr/lib --with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr
/share/info --enable-shared --enable-threads=posix --disable-checking --enable-long-long --enable-__cxa_atexit --enable-
languages=c,c++,f77,objc,treelang,java,ada --program-suffix=-3.3 --enable-objc-gc --with-system-zlib --without-included-
gettext --host=i586-alt-linux --build=i586-alt-linux --target=i586-alt-linux
Thread model: posix
gcc version 3.3.3 20040412 (ALT Linux, build 3.3.3-alt5)

gnuplot 4.0 patchlevel 0

-- 
Best Regards,
Nikolay Fedchik
Test Manager, Altlantik Link
polygraph-2.8.1-fnm.patch (application/octet-stream, 1.5 KB)
diff -uriN polygraph-2.8.1/src/loganalyzers/BlobDb.cc polygraph-2.8.1-fnm/src/loganalyzers/BlobDb.cc
--- polygraph-2.8.1/src/loganalyzers/BlobDb.cc	2003-04-01 03:29:38 +0300
+++ polygraph-2.8.1-fnm/src/loganalyzers/BlobDb.cc	2005-03-15 21:04:24 +0200
@@ -80,7 +80,7 @@
 	if (errs.count())
 		return *(const ReportBlob*)errs.last();
 
-	cerr << here << "error: cannot find blob: " << key << endl;
+//	cerr << here << "error: cannot find blob: " << key << endl;
 
 	// create an error blob so that we can return something
 	ReportBlob blob(key);
diff -uriN polygraph-2.8.1/src/loganalyzers/ReportFigure.cc polygraph-2.8.1-fnm/src/loganalyzers/ReportFigure.cc
--- polygraph-2.8.1/src/loganalyzers/ReportFigure.cc	2002-01-11 22:25:35 +0200
+++ polygraph-2.8.1-fnm/src/loganalyzers/ReportFigure.cc	2005-03-15 20:58:51 +0200
@@ -112,13 +112,13 @@
 }
 
 void ReportFigure::setCtrlOptions() {
-	*theCtrlFile << "set term png color small" << endl;
+	*theCtrlFile << "set term png xFFFFFF small" << endl;
 	*theCtrlFile << "set output '" << thePlotFname << "'" << endl;
 
 	*theCtrlFile << "set title ''" << endl;
 	*theCtrlFile << "set grid" << endl;
-	*theCtrlFile << "set linestyle 1 lt 3" << endl;
-	*theCtrlFile << "set linestyle 2 lt 1" << endl;
-	*theCtrlFile << "set linestyle 3 lt 2" << endl;
-	*theCtrlFile << "set linestyle 4 lt 4" << endl;
+	*theCtrlFile << "set style line 1 lt 3" << endl;
+	*theCtrlFile << "set style line 2 lt 1" << endl;
+	*theCtrlFile << "set style line 3 lt 2" << endl;
+	*theCtrlFile << "set style line 4 lt 4" << endl;
 }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.