qalc: Update from 2.1.0 to 2.2.1

This commit is contained in:
Hax4us 2018-03-23 03:03:43 +05:30 committed by Fredrik Fornwall
parent 078321f41c
commit 7ec420f0b0
2 changed files with 2 additions and 14 deletions

View File

@ -1,7 +1,7 @@
TERMUX_PKG_HOMEPAGE=https://qalculate.github.io/
TERMUX_PKG_DESCRIPTION="Powerful and easy to use command line calculator"
TERMUX_PKG_VERSION=2.1.0
TERMUX_PKG_SHA256=7668ed9ab32d46d3638297985a03bc995b6aedf8b8335685e1a43393ba236f12
TERMUX_PKG_VERSION=2.2.1
TERMUX_PKG_SHA256=1752b6a046eaf84ee62a7dc8d2c874b538517956ce8affac80df09a3b55bef5d
TERMUX_PKG_SRCURL=https://github.com/Qalculate/libqalculate/releases/download/v${TERMUX_PKG_VERSION}/libqalculate-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_DEPENDS="libcurl, libmpfr, libxml2, readline, libgmp"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--without-icu"

View File

@ -1,12 +0,0 @@
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