X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/d19c66f7854c78ab8b2e15d7a8c92a6eb080a0b6..e36780c823c61e7c347db52436ee776e43fa08b1:/packages/qalc/libqalculate-Calculator.cc.patch diff --git a/packages/qalc/libqalculate-Calculator.cc.patch b/packages/qalc/libqalculate-Calculator.cc.patch new file mode 100644 index 00000000..a5488fee --- /dev/null +++ b/packages/qalc/libqalculate-Calculator.cc.patch @@ -0,0 +1,12 @@ +diff -u -r ../libqalculate-2.0.0/libqalculate/Calculator.cc ./libqalculate/Calculator.cc +--- ../libqalculate-2.0.0/libqalculate/Calculator.cc 2017-08-27 21:38:22.000000000 +0200 ++++ ./libqalculate/Calculator.cc 2017-08-31 16:09:58.987236004 +0200 +@@ -9360,7 +9360,7 @@ + char filename[MAX_PATH]; + return SearchPath(NULL, "gnuplot", ".exe", MAX_PATH, filename, &lpFilePart); + #else +- FILE *pipe = popen("gnuplot -", "w"); ++ FILE *pipe = popen("gnuplot - 2> /dev/null", "w"); + if(!pipe) return false; + return pclose(pipe) == 0; + #endif