Skip to content
Permalink
Browse files

libfilezilla: Backport a patch needed for FileZilla 3.37.3

  • Loading branch information
yan12125 committed Oct 1, 2018
1 parent 2abb349 commit 5980328c2f8340a54b531afc0cd27f9c2e170220
Showing with 17 additions and 0 deletions.
  1. +4 −0 devel/libfilezilla/Portfile
  2. +13 −0 devel/libfilezilla/files/patch-fix-namespace.diff
@@ -6,6 +6,7 @@ PortGroup compiler_blacklist_versions 1.0

name libfilezilla
version 0.13.2
revision 1
categories devel
platforms darwin
maintainers {yan12125 @yan12125} openmaintainer
@@ -28,6 +29,9 @@ depends_build port:pkgconfig \
port:cppunit \
bin:perl:perl5

# https://svn.filezilla-project.org/filezilla?view=revision&revision=8942
patchfiles-append patch-fix-namespace.diff

use_bzip2 yes

# libfilezilla uses thread_local, which is not supported in Xcode < 8
@@ -0,0 +1,13 @@
--- lib/libfilezilla/glue/wx.hpp 2018/09/27 15:05:14 8941
+++ lib/libfilezilla/glue/wx.hpp 2018/09/28 11:12:32 8942
@@ -6,9 +6,9 @@
#include "../format.hpp"
#include "../string.hpp"

+namespace fz {
inline std::wstring to_wstring(wxString const& s) { return s.ToStdWstring(); }

-namespace fz {
template<>
inline wxString str_tolower_ascii(wxString const& s)
{

0 comments on commit 5980328

Please sign in to comment.
You can’t perform that action at this time.