From 82b3e11249d77b0cc96be87a3e924709754379a0 Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Fri, 2 Jun 2017 11:33:49 -0500 Subject: [PATCH] Patch --- libfilezilla-0.9.2-util.patch | 11 +++++++++++ libfilezilla.spec | 8 +++++++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 libfilezilla-0.9.2-util.patch diff --git a/libfilezilla-0.9.2-util.patch b/libfilezilla-0.9.2-util.patch new file mode 100644 index 0000000..05e3628 --- /dev/null +++ b/libfilezilla-0.9.2-util.patch @@ -0,0 +1,11 @@ +--- libfilezilla/trunk/lib/libfilezilla/util.hpp 2017/06/01 19:28:46 8431 ++++ libfilezilla/trunk/lib/libfilezilla/util.hpp 2017/06/02 15:08:22 8432 +@@ -28,7 +28,7 @@ + + /** \brief Get random uniformly distributed bytes + */ +-std::vector random_bytes(size_t size); ++std::vector FZ_PUBLIC_SYMBOL random_bytes(size_t size); + + } + diff --git a/libfilezilla.spec b/libfilezilla.spec index 74e4182..b821c2c 100644 --- a/libfilezilla.spec +++ b/libfilezilla.spec @@ -1,10 +1,11 @@ Name: libfilezilla Version: 0.9.2 -Release: 1%{?dist} +Release: 2%{?dist} URL: http://lib.filezilla-project.org/ Summary: C++ Library for FileZilla License: GPLv2+ Source0: http://download.sourceforge.net/sourceforge/filezilla/%{name}-%{version}.tar.bz2 +Patch0: libfilezilla-0.9.2-util.patch %package devel Summary: Development files for C++ Library for FileZilla @@ -24,6 +25,8 @@ This package contains files needed to compile code using libfilezilla. %prep %setup -q +%patch0 -p2 + %build %configure --disable-static make %{?_smp_mflags} @@ -48,6 +51,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la %{_libdir}/pkgconfig/libfilezilla.pc %changelog +* Fri Jun 02 2017 Gwyn Ciesla - 0.9.2-2 +- Patch for filezilla build issue, from upstream. + * Thu May 25 2017 Gwyn Ciesla - 0.9.2-1 - Latest upstream.