<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/b04c7a7d3eefdcc519a9607e9f8fdf28e776e479">https://github.com/macports/macports-ports/commit/b04c7a7d3eefdcc519a9607e9f8fdf28e776e479</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 b04c7a7 log4cpp: Fix build failure: "error: extra ';'"
</span>b04c7a7 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit b04c7a7d3eefdcc519a9607e9f8fdf28e776e479
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Thu Apr 27 22:01:31 2017 -0500
<span style='display:block; white-space:pre;color:#404040;'> log4cpp: Fix build failure: "error: extra ';'"
</span>---
devel/log4cpp/Portfile | 3 ++-
devel/log4cpp/files/semicolon.patch | 16 ++++++++++++++++
2 files changed, 18 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/log4cpp/Portfile b/devel/log4cpp/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index e30578e..4824a50 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/log4cpp/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/log4cpp/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -31,7 +31,6 @@ post-extract {
</span> }
patchfiles patch-autogen.sh.diff \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-autoconf-1.13.diff
</span>
post-patch {
# Remove appenderMapStorageInitializer static variable, because:
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -40,6 +39,8 @@ post-patch {
</span> reinplace "/appenderMapStorageInitializer/d" \
${worksrcpath}/include/log4cpp/Appender.hh
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-autoconf-1.13.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ semicolon.patch
</span>
use_autoconf yes
autoconf.cmd ${worksrcpath}/autogen.sh
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/log4cpp/files/semicolon.patch b/devel/log4cpp/files/semicolon.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..c5a01a7
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/log4cpp/files/semicolon.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,16 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/Appender.cpp.orig 2017-04-18 00:50:54.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/Appender.cpp 2017-04-27 21:56:23.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -18,11 +18,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Appender::AppenderMapStorage::AppenderMapStorage() {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ _allAppenders = new AppenderMap();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- };
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Appender::AppenderMapStorage::~AppenderMapStorage() {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ _deleteAllAppenders();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ delete _allAppenders;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- };
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Appender::AppenderMapStorageInitializer::AppenderMapStorageInitializer() {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (appenders_nifty_counter++ == 0) {
</span></pre><pre style='margin:0'>
</pre>