diff --git a/math/sc-im/Makefile b/math/sc-im/Makefile index e4d72802060f..59ca961efc5b 100644 --- a/math/sc-im/Makefile +++ b/math/sc-im/Makefile @@ -1,30 +1,30 @@ PORTNAME= sc-im DISTVERSIONPREFIX= v -DISTVERSION= 0.8.0 +DISTVERSION= 0.8.1 CATEGORIES= math MAINTAINER= bapt@FreeBSD.org COMMENT= Ncurses spreadsheet program for terminal LICENSE= BSD4CLAUSE LIB_DEPENDS= libxlsreader.so:math/libxls \ libxlsxwriter.so:math/libxlsxwriter \ libzip.so:archivers/libzip USES= compiler:c11 gmake gnome lua:51 ncurses pkgconfig USE_GITHUB= yes GH_ACCOUNT= andmarti1424 USE_GNOME= libxml2 WRKSRC_SUBDIR= src CFLAGS+= -DXLSX_EXPORT -DXLS LIBS+= -lxlsreader -lxlsxwriter MAKE_ENV+= LDLIBS="${LIBS}" MAKE_ARGS+= CC="${CC}" prefix="${PREFIX}" MANDIR="${MANPREFIX}/man/man1" .include post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/sc-im .include diff --git a/math/sc-im/distinfo b/math/sc-im/distinfo index 1083a13ba0f4..4e80e28ba55b 100644 --- a/math/sc-im/distinfo +++ b/math/sc-im/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1616600730 -SHA256 (andmarti1424-sc-im-v0.8.0_GH0.tar.gz) = edc9b9d2dc5ac37c31a46462a1387605983149a1abba00d47ac22f2726ce6d27 -SIZE (andmarti1424-sc-im-v0.8.0_GH0.tar.gz) = 1386374 +TIMESTAMP = 1617973055 +SHA256 (andmarti1424-sc-im-v0.8.1_GH0.tar.gz) = 73958f2adf2548be138f90a1fa2cb3a9c316a6d8d78234ebb1dc408cbf83bac7 +SIZE (andmarti1424-sc-im-v0.8.1_GH0.tar.gz) = 1407209 diff --git a/math/sc-im/files/patch-ncurses b/math/sc-im/files/patch-ncurses deleted file mode 100644 index f851547bff3f..000000000000 --- a/math/sc-im/files/patch-ncurses +++ /dev/null @@ -1,26 +0,0 @@ -From 34b4619e1c856dd4f48f9ea55cff603ca6d19a98 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Andr=C3=A9s?= -Date: Mon, 22 Mar 2021 09:04:56 -0300 -Subject: [PATCH] work on issue #482. added init_extended_pair according to - NCURSES version macros.. - ---- - src/tui.c | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/src/tui.c b/src/tui.c -index ae9d9a91..c6aa73fe 100644 ---- tui.c -+++ tui.c -@@ -1480,7 +1480,11 @@ void ui_start_colors() { - * NOTE: calling init_pair with -1 sets it with default - * terminal foreground and background colors - */ -+#if defined(NCURSES_VERSION_MAJOR) && (( NCURSES_VERSION_MAJOR > 5 && defined(NCURSES_VERSION_MINOR) && NCURSES_VERSION_MINOR > 0) || NCURSES_VERSION_MAJOR > 6) - init_extended_pair( i*def+j+1, i-1, j-1); // i is fg and j is bg -+#else -+ init_pair(i*def+j+1, i-1, j-1); // i is fg and j is bg -+#endif - } - } - }