fixed gnuplot
[hdw-linux/hdw-linux.git] / packages / science / gnuplot / pdflib.patch
1 --- ./term/pdf.trm.orig 2004-07-19 17:42:40.000000000 +0200
2 +++ ./term/pdf.trm      2004-07-19 17:50:50.000000000 +0200
3 @@ -343,7 +343,7 @@
4         myPDF = PDF_new();
5  
6      /*open new PDF file */ 
7 -    if (PDF_open_fp(myPDF, gpoutfile) == -1)
8 +    if (PDF_open_file(myPDF, outstr) == -1)
9         int_error(NO_CARET, "Error:cannot open PDF file .\n");
10  
11  #ifdef PDF_DONT_COMPRESS