sc-im: Bump to 0.8.3
This commit is contained in:
parent
1661bbc4f4
commit
cda168ca11
|
@ -2,10 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://github.com/andmarti1424/sc-im
|
|||
TERMUX_PKG_DESCRIPTION="An improved version of sc, a spreadsheet calculator"
|
||||
TERMUX_PKG_LICENSE="BSD"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION=0.8.2
|
||||
TERMUX_PKG_REVISION=4
|
||||
TERMUX_PKG_VERSION=0.8.3
|
||||
TERMUX_PKG_SRCURL=https://github.com/andmarti1424/sc-im/archive/v${TERMUX_PKG_VERSION}.tar.gz
|
||||
TERMUX_PKG_SHA256=7f00c98601e7f7709431fb4cbb83707c87016a3b015d48e5a7c2f018eff4b7f7
|
||||
TERMUX_PKG_SHA256=5568f9987b6d26535c0e7a427158848f1bc03d829f74e41cbcf007d8704e9bd3
|
||||
TERMUX_PKG_AUTO_UPDATE=true
|
||||
TERMUX_PKG_DEPENDS="libandroid-support, libandroid-wordexp, liblua51, libxls, libxlsxwriter, libxml2, libzip, ncurses"
|
||||
TERMUX_PKG_SUGGESTS="gnuplot"
|
||||
|
|
|
@ -1,18 +1,18 @@
|
|||
diff -uNr sc-im-0.7.0/src/cmds_normal.c sc-im-0.7.0.mod/src/cmds_normal.c
|
||||
--- sc-im-0.7.0/src/cmds_normal.c 2017-12-13 19:48:59.000000000 +0200
|
||||
+++ sc-im-0.7.0.mod/src/cmds_normal.c 2019-01-30 21:58:28.431965657 +0200
|
||||
+++ sc-im-0.7.0.mod/src/cmds/cmds_normal.c 2019-01-30 21:58:28.431965657 +0200
|
||||
@@ -89,6 +89,11 @@
|
||||
* \param[in] buf
|
||||
* \return none
|
||||
*/
|
||||
|
||||
+#ifdef USELOCALE
|
||||
+#include <locale.h>
|
||||
+#include <langinfo.h>
|
||||
+#endif
|
||||
+
|
||||
void do_normalmode(struct block * buf) {
|
||||
int bs = get_bufsize(buf);
|
||||
struct ent * e;
|
||||
struct roman * roman = session->cur_doc;
|
||||
struct sheet * sh = roman->cur_sh;
|
||||
@@ -227,8 +232,6 @@
|
||||
case ctl('d'): // set date format using current locate D_FMT format
|
||||
{
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
diff -uNr sc-im-0.7.0/src/cmds_visual.c sc-im-0.7.0.mod/src/cmds_visual.c
|
||||
--- sc-im-0.7.0/src/cmds_visual.c 2017-12-13 19:48:59.000000000 +0200
|
||||
+++ sc-im-0.7.0.mod/src/cmds_visual.c 2019-01-30 22:00:04.705760754 +0200
|
||||
+++ sc-im-0.7.0.mod/src/cmds/cmds_visual.c 2019-01-30 22:00:04.705760754 +0200
|
||||
@@ -141,6 +141,10 @@
|
||||
* \return none
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
diff -uNr sc-im-0.7.0/src/plot.c sc-im-0.7.0.mod/src/plot.c
|
||||
--- sc-im-0.7.0/src/plot.c 2017-12-13 19:48:59.000000000 +0200
|
||||
+++ sc-im-0.7.0.mod/src/plot.c 2019-12-23 14:13:03.731217357 +0200
|
||||
+++ sc-im-0.7.0.mod/src/actions/plot.c 2019-12-23 14:13:03.731217357 +0200
|
||||
@@ -111,7 +111,7 @@
|
||||
int plot(char * s, int r, int c, int rf, int cf) {
|
||||
#ifdef GNUPLOT
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
--- a/src/xls.c
|
||||
+++ b/src/xls.c
|
||||
+++ b/src/formats/xls.c
|
||||
@@ -71,6 +71,11 @@
|
||||
*
|
||||
* \return -1 on error
|
||||
*/
|
||||
|
||||
+#ifdef USELOCALE
|
||||
+#include <locale.h>
|
||||
+#include <langinfo.h>
|
||||
|
@ -11,7 +11,7 @@
|
|||
+
|
||||
int open_xls(char * fname, char * encoding) {
|
||||
#ifdef XLS
|
||||
|
||||
struct roman * roman = session->cur_doc;
|
||||
@@ -78,8 +83,6 @@
|
||||
char fmt[15] = "%d/%m/%Y";
|
||||
|
||||
|
|
Loading…
Reference in New Issue