<pre style='margin:0'>
Chih-Hsuan Yen (yan12125) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/5980328c2f8340a54b531afc0cd27f9c2e170220">https://github.com/macports/macports-ports/commit/5980328c2f8340a54b531afc0cd27f9c2e170220</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 5980328c2f8340a54b531afc0cd27f9c2e170220
</span>Author: Chih-Hsuan Yen <yan12125@macports.org>
AuthorDate: Mon Oct 1 20:40:18 2018 +0800
<span style='display:block; white-space:pre;color:#404040;'> libfilezilla: Backport a patch needed for FileZilla 3.37.3
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> See https://trac.filezilla-project.org/ticket/11759
</span>---
devel/libfilezilla/Portfile | 4 ++++
devel/libfilezilla/files/patch-fix-namespace.diff | 13 +++++++++++++
2 files changed, 17 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/libfilezilla/Portfile b/devel/libfilezilla/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index cf40c8d..255c053 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/libfilezilla/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/libfilezilla/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -6,6 +6,7 @@ PortGroup compiler_blacklist_versions 1.0
</span>
name libfilezilla
version 0.13.2
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> categories devel
platforms darwin
maintainers {yan12125 @yan12125} openmaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -28,6 +29,9 @@ depends_build port:pkgconfig \
</span> port:cppunit \
bin:perl:perl5
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# https://svn.filezilla-project.org/filezilla?view=revision&revision=8942
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-fix-namespace.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> use_bzip2 yes
# libfilezilla uses thread_local, which is not supported in Xcode < 8
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/libfilezilla/files/patch-fix-namespace.diff b/devel/libfilezilla/files/patch-fix-namespace.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..9220294
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/libfilezilla/files/patch-fix-namespace.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,13 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- lib/libfilezilla/glue/wx.hpp 2018/09/27 15:05:14 8941
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ lib/libfilezilla/glue/wx.hpp 2018/09/28 11:12:32 8942
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -6,9 +6,9 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "../format.hpp"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "../string.hpp"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++namespace fz {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ inline std::wstring to_wstring(wxString const& s) { return s.ToStdWstring(); }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-namespace fz {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ template<>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ inline wxString str_tolower_ascii(wxString const& s)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span></pre><pre style='margin:0'>
</pre>