From 86ec8f976f7050dd63d75625ab87eaee1a1b2318 Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Mon, 26 Sep 2016 03:02:12 +0200 Subject: [PATCH] filezilla: fix build Fixes #4833 --- srcpkgs/filezilla/patches/fix-build.patch | 11 +++++++++++ srcpkgs/filezilla/template | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/filezilla/patches/fix-build.patch diff --git a/srcpkgs/filezilla/patches/fix-build.patch b/srcpkgs/filezilla/patches/fix-build.patch new file mode 100644 index 0000000000..0c911963f6 --- /dev/null +++ b/srcpkgs/filezilla/patches/fix-build.patch @@ -0,0 +1,11 @@ +--- src/engine/sftpcontrolsocket.cpp.orig 2016-09-26 03:00:12.401188401 +0200 ++++ src/engine/sftpcontrolsocket.cpp 2016-09-26 03:00:23.531188975 +0200 +@@ -2031,7 +2031,7 @@ + + std::wstring CSftpControlSocket::QuoteFilename(std::wstring const& filename) + { +- return L"\"" + fz::replace_substrings(filename, L"\"", L"\"\"") + L"\""; ++ return L"\"" + fz::replaced_substrings(filename, L"\"", L"\"\"") + L"\""; + } + + int CSftpControlSocket::Delete(const CServerPath& path, std::deque&& files) diff --git a/srcpkgs/filezilla/template b/srcpkgs/filezilla/template index b8d2e7155d..d85ab98aed 100644 --- a/srcpkgs/filezilla/template +++ b/srcpkgs/filezilla/template @@ -1,7 +1,7 @@ # Template file for 'filezilla' pkgname=filezilla version=3.21.0 -revision=1 +revision=2 nocross=yes build_style=gnu-configure configure_args="WXRC=/usr/bin/wxrc-3.0 --with-wx-config=wx-config-3.0