From 78c3213379513f0fa068dfa8f10112f08dd826c7 Mon Sep 17 00:00:00 2001 From: Leonid Plyushch Date: Sat, 9 May 2020 14:31:30 +0300 Subject: [PATCH] fix newsboat & rebuild json-c dependent packages --- packages/clamav/build.sh | 2 +- packages/newsboat/bool-fix.patch | 13 +++++++++++++ packages/newsboat/build.sh | 2 +- packages/pianobar/build.sh | 2 +- packages/ttyd/build.sh | 2 +- 5 files changed, 17 insertions(+), 4 deletions(-) create mode 100644 packages/newsboat/bool-fix.patch diff --git a/packages/clamav/build.sh b/packages/clamav/build.sh index b5cb86872..c628be460 100644 --- a/packages/clamav/build.sh +++ b/packages/clamav/build.sh @@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="Anti-virus toolkit for Unix" TERMUX_PKG_LICENSE="GPL-2.0" TERMUX_PKG_MAINTAINER="Leonid Plyushch " TERMUX_PKG_VERSION=0.102.2 -TERMUX_PKG_REVISION=4 +TERMUX_PKG_REVISION=5 TERMUX_PKG_SRCURL=https://www.clamav.net/downloads/production/clamav-$TERMUX_PKG_VERSION.tar.gz TERMUX_PKG_SHA256=89fcdcc0eba329ca84d270df09d2bb89ae55f5024b0c3bddb817512fb2c907d3 TERMUX_PKG_DEPENDS="json-c, libandroid-support, libbz2, libc++, libcurl, libltdl, liblzma, libxml2, openssl, pcre2, zlib" diff --git a/packages/newsboat/bool-fix.patch b/packages/newsboat/bool-fix.patch new file mode 100644 index 000000000..bb18e2fe2 --- /dev/null +++ b/packages/newsboat/bool-fix.patch @@ -0,0 +1,13 @@ +diff -uNr newsboat-2.19/src/newsblurapi.cpp newsboat-2.19.mod/src/newsblurapi.cpp +--- newsboat-2.19/src/newsblurapi.cpp 2020-03-22 20:54:24.000000000 +0200 ++++ newsboat-2.19.mod/src/newsblurapi.cpp 2020-05-09 14:28:15.147294628 +0300 +@@ -11,6 +11,9 @@ + + #define NEWSBLUR_ITEMS_PER_PAGE 6 + ++#define TRUE 1 ++#define FALSE 0 ++ + namespace newsboat { + + NewsBlurApi::NewsBlurApi(ConfigContainer* c) diff --git a/packages/newsboat/build.sh b/packages/newsboat/build.sh index 1d71cb0ef..5770cf329 100644 --- a/packages/newsboat/build.sh +++ b/packages/newsboat/build.sh @@ -2,7 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://newsboat.org/ TERMUX_PKG_DESCRIPTION="RSS/Atom feed reader for the text console" TERMUX_PKG_LICENSE="MIT" TERMUX_PKG_VERSION=2.19 -TERMUX_PKG_REVISION=1 +TERMUX_PKG_REVISION=2 TERMUX_PKG_SRCURL=https://newsboat.org/releases/${TERMUX_PKG_VERSION}/newsboat-${TERMUX_PKG_VERSION}.tar.xz TERMUX_PKG_SHA256=ba484c825bb903daf6d33d55126107b59e41111b455d368362208f1825403d1b TERMUX_PKG_DEPENDS="libc++, libiconv, libandroid-support, libandroid-glob, json-c, libsqlite, libcurl, libxml2, stfl, ncurses, openssl" diff --git a/packages/pianobar/build.sh b/packages/pianobar/build.sh index a47e99ec5..31f8afd99 100644 --- a/packages/pianobar/build.sh +++ b/packages/pianobar/build.sh @@ -2,7 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://6xq.net/pianobar/ TERMUX_PKG_DESCRIPTION="pianobar is a free/open-source, console-based client for the personalized online radio Pandora." TERMUX_PKG_LICENSE="MIT" TERMUX_PKG_VERSION=2020.04.05 -TERMUX_PKG_REVISION=1 +TERMUX_PKG_REVISION=2 TERMUX_PKG_SRCURL=https://github.com/PromyLOPh/pianobar/archive/${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_SHA256=cb319b56ee4163ac040be1844e04de37f94d8e8b058f3bf9500ed380fe385883 TERMUX_PKG_DEPENDS="libao, ffmpeg, libgcrypt, libcurl, json-c" diff --git a/packages/ttyd/build.sh b/packages/ttyd/build.sh index aff56903a..e731169c9 100644 --- a/packages/ttyd/build.sh +++ b/packages/ttyd/build.sh @@ -2,7 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://tsl0922.github.io/ttyd/ TERMUX_PKG_DESCRIPTION="Command-line tool for sharing terminal over the web" TERMUX_PKG_LICENSE="MIT" TERMUX_PKG_VERSION=1.6.0 -TERMUX_PKG_REVISION=2 +TERMUX_PKG_REVISION=3 TERMUX_PKG_SRCURL=https://github.com/tsl0922/ttyd/archive/$TERMUX_PKG_VERSION.tar.gz TERMUX_PKG_SHA256=d14740bc82be0d0760dd0a3c97acbcbde490412a4edc61edabe46d311b068f83 TERMUX_PKG_DEPENDS="json-c, libuv, libwebsockets, zlib"