From 96e5b2708d515a525f1f762527f3e81a076d6d2a Mon Sep 17 00:00:00 2001 From: Leonid Pliushch Date: Sun, 21 Jun 2020 19:54:52 +0300 Subject: [PATCH] newsboat: update patches --- packages/newsboat/Makefile.patch | 21 ++++++--------------- packages/newsboat/avoid-gettext.patch | 11 ----------- 2 files changed, 6 insertions(+), 26 deletions(-) diff --git a/packages/newsboat/Makefile.patch b/packages/newsboat/Makefile.patch index 285c598b5..1605d095a 100644 --- a/packages/newsboat/Makefile.patch +++ b/packages/newsboat/Makefile.patch @@ -1,6 +1,6 @@ -diff -u -r ../newsboat-2.16.1/Makefile ./Makefile ---- ../newsboat-2.16.1/Makefile 2019-06-26 17:55:21.000000000 +0000 -+++ ./Makefile 2019-08-06 17:59:51.574712056 +0000 +diff -uNr newsboat-2.20/Makefile newsboat-2.20.mod/Makefile +--- newsboat-2.20/Makefile 2020-06-20 18:54:45.000000000 +0300 ++++ newsboat-2.20.mod/Makefile 2020-06-21 19:53:36.104143404 +0300 @@ -18,7 +18,7 @@ WARNFLAGS=-Werror -Wall -Wextra -Wunreachable-code @@ -10,21 +10,12 @@ diff -u -r ../newsboat-2.16.1/Makefile ./Makefile LDFLAGS+=-L. PACKAGE=newsboat -@@ -32,7 +32,7 @@ - LDFLAGS+=-fprofile-arcs -ftest-coverage - endif - --CXXFLAGS:=$(BARE_CXXFLAGS) $(WARNFLAGS) $(DEFINES) $(CXXFLAGS) -+CXXFLAGS:=$(BARE_CXXFLAGS) $(WARNFLAGS) $(DEFINES) $(CXXFLAGS) $(CPPFLAGS) - CXXFLAGS_FOR_BUILD?=$(CXXFLAGS) - - LIB_SOURCES:=$(shell cat mk/libboat.deps) @@ -46,7 +46,7 @@ NEWSBOAT=newsboat NEWSBOAT_SOURCES:=$(shell cat mk/newsboat.deps) NEWSBOAT_OBJS:=$(patsubst %.cpp,%.o,$(NEWSBOAT_SOURCES)) -NEWSBOAT_LIBS=-lboat -lnewsboat -lfilter -lpthread -lrsspp -ldl -+NEWSBOAT_LIBS=-lboat -lnewsboat -lfilter -lrsspp -landroid-glob ++NEWSBOAT_LIBS=-lboat -lnewsboat -lfilter -lrsspp -ldl RSSPPLIB_SOURCES=$(sort $(wildcard rss/*.cpp)) RSSPPLIB_OBJS=$(patsubst rss/%.cpp,rss/%.o,$(RSSPPLIB_SOURCES)) @@ -32,8 +23,8 @@ diff -u -r ../newsboat-2.16.1/Makefile ./Makefile PODBOAT=podboat PODBOAT_SOURCES:=$(shell cat mk/podboat.deps) PODBOAT_OBJS:=$(patsubst %.cpp,%.o,$(PODBOAT_SOURCES)) --PODBOAT_LIBS=-lboat -lnewsboat -lpthread -ldl -+PODBOAT_LIBS=-lboat -lnewsboat -ldl +-PODBOAT_LIBS=-lboat -lnewsboat -lfilter -lpthread -ldl ++PODBOAT_LIBS=-lboat -lnewsboat -lfilter -ldl ifeq (, $(filter Linux GNU GNU/%, $(shell uname -s))) NEWSBOAT_LIBS+=-liconv -lintl diff --git a/packages/newsboat/avoid-gettext.patch b/packages/newsboat/avoid-gettext.patch index c447fd7b6..1bd3f1cd6 100644 --- a/packages/newsboat/avoid-gettext.patch +++ b/packages/newsboat/avoid-gettext.patch @@ -40,14 +40,3 @@ diff -uNr newsboat-2.17/rust/libnewsboat/src/cliargsparser.rs newsboat-2.17.mod/ &opts[0], log_level_str ); -diff -uNr newsboat-2.17/rust/libnewsboat/src/lib.rs newsboat-2.17.mod/rust/libnewsboat/src/lib.rs ---- newsboat-2.17/rust/libnewsboat/src/lib.rs 2019-09-22 17:19:19.000000000 +0300 -+++ newsboat-2.17.mod/rust/libnewsboat/src/lib.rs 2019-09-24 20:56:44.030818719 +0300 -@@ -11,7 +11,6 @@ - #[macro_use] - extern crate proptest; - extern crate clap; --extern crate gettextrs; - extern crate libc; - - // This module must be declared before the others because it exports a `log!` macro that everyone