<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/995b509fe612d8416f86c5b1a6ec06189a86df8d">https://github.com/macports/macports-ports/commit/995b509fe612d8416f86c5b1a6ec06189a86df8d</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 995b509  log4cpp: Use a patchfile instead of reinplace
</span>995b509 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 995b509fe612d8416f86c5b1a6ec06189a86df8d
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Thu Apr 27 22:02:23 2017 -0500

<span style='display:block; white-space:pre;color:#404040;'>    log4cpp: Use a patchfile instead of reinplace
</span>---
 devel/log4cpp/Portfile                                  | 11 ++---------
 devel/log4cpp/files/appenderMapStorageInitializer.patch | 13 +++++++++++++
 2 files changed, 15 insertions(+), 9 deletions(-)

<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 4824a50..994e602 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;'>@@ -30,15 +30,8 @@ post-extract {
</span>     move ${worksrcpath}/configure.in ${worksrcpath}/configure.ac
 }
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles          patch-autogen.sh.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-post-patch {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    # Remove appenderMapStorageInitializer static variable, because:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    # (1) that's not how it should be declared; and (2) it's not used
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    # internal to log4cpp & thus probably should not be externally either.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    reinplace "/appenderMapStorageInitializer/d" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        ${worksrcpath}/include/log4cpp/Appender.hh
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles          appenderMapStorageInitializer.patch \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    patch-autogen.sh.diff \
</span>                     patch-autoconf-1.13.diff \
                     semicolon.patch
 
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/log4cpp/files/appenderMapStorageInitializer.patch b/devel/log4cpp/files/appenderMapStorageInitializer.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..02b9187
</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/appenderMapStorageInitializer.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,13 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Remove appenderMapStorageInitializer static variable, because:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+(1) that's not how it should be declared; and (2) it's not used
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+internal to log4cpp & thus probably should not be externally either.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- include/log4cpp/Appender.hh.orig       2017-04-18 00:50:54.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ include/log4cpp/Appender.hh    2017-04-27 21:58:07.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -161,7 +161,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+         static AppenderMapStorage &_appenderMapStorageInstance;
</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;'>+-  static Appender::AppenderMapStorageInitializer appenderMapStorageInitializer; // static initializer for every translation unit
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     typedef std::set<Appender *> AppenderSet;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span></pre><pre style='margin:0'>

</pre>