<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/f90210fcd3f29343cf538bf47b71b80ef62043d8">https://github.com/macports/macports-ports/commit/f90210fcd3f29343cf538bf47b71b80ef62043d8</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new f90210f newsboat: Build everything in the build phase
</span>f90210f is described below
<span style='display:block; white-space:pre;color:#808000;'>commit f90210fcd3f29343cf538bf47b71b80ef62043d8
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Mon Nov 12 16:22:30 2018 -0600
<span style='display:block; white-space:pre;color:#404040;'> newsboat: Build everything in the build phase
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Fixes build failure on 10.8 and earlier.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/57555
</span>---
net/newsboat/files/patch-Makefile.diff | 20 ++++++++++++++++----
1 file changed, 16 insertions(+), 4 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/newsboat/files/patch-Makefile.diff b/net/newsboat/files/patch-Makefile.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index b09ae68..17241f0 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/newsboat/files/patch-Makefile.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/newsboat/files/patch-Makefile.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,8 +1,11 @@
</span> Don't use -Werror
That causes newer clang compilers to fail with:
error: lambda capture 'silent' is not used [-Werror,-Wunused-lambda-capture]
<span style='display:block; white-space:pre;background:#ffe0e0;'>---- Makefile.orig 2017-09-22 15:01:50.000000000 -0500
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ Makefile 2017-11-14 08:24:04.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+The target "doc/example-config" is a dependency of "install-examples" only, so
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+it runs in the destroot phase, add it to "all" to avoid that.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Makefile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Makefile
</span> @@ -18,7 +18,7 @@
DEFINES+=-DGIT_HASH=\"$(GIT_HASH)\"
endif
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -10,5 +13,14 @@ error: lambda capture 'silent' is not used [-Werror,-Wunused-lambda-capture]
</span> -WARNFLAGS=-Werror -Wall -Wextra -Wunreachable-code
+WARNFLAGS=-Wall -Wextra -Wunreachable-code
INCLUDES=-Iinclude -Istfl -Ifilter -I. -Irss
<span style='display:block; white-space:pre;background:#ffe0e0;'>- BARE_CXXFLAGS=-std=c++11 -ggdb $(INCLUDES)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- CXXFLAGS+=$(BARE_CXXFLAGS) $(WARNFLAGS) $(DEFINES)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ BARE_CXXFLAGS=-std=c++11 -O2 -ggdb $(INCLUDES)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LDFLAGS+=-L.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -81,7 +81,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ TEXTCONV=./txt2h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ RM=rm -f
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-all: doc $(NEWSBOAT) $(PODBOAT) mo-files
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++all: doc $(NEWSBOAT) $(PODBOAT) mo-files doc/example-config
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ NB_DEPS=xlicense.h $(LIB_OUTPUT) $(FILTERLIB_OUTPUT) $(NEWSBOAT_OBJS) $(RSSPPLIB_OUTPUT)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span></pre><pre style='margin:0'>
</pre>