Summary(pl.UTF-8): Biblioteka do wydajnych programów niezależnych od platformy
Name: libfilezilla
Version: 0.9.2
-Release: 1
+Release: 2
License: GPL v2
Group: Libraries
Source0: http://download.filezilla-project.org/libfilezilla/%{name}-%{version}.tar.bz2
# Source0-md5: d52a0e7229efb3c9fafc8a2b649d665d
Patch0: cppunit-pkgconfig.patch
+Patch1: random_bytes.patch
URL: http://lib.filezilla-project.org/
%{?with_tests:BuildRequires: cppunit-devel >= 1.10.2}
%{?with_apidocs:BuildRequires: doxygen}
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%build
%{__libtoolize}
--- /dev/null
+--- libfilezilla-0.9.2/lib/libfilezilla/util.hpp.orig 2017-05-25 20:35:14.000000000 +0200
++++ libfilezilla-0.9.2/lib/libfilezilla/util.hpp 2017-06-06 20:53:40.457650687 +0200
+@@ -28,7 +28,7 @@ int64_t FZ_PUBLIC_SYMBOL random_number(i
+
+ /** \brief Get random uniformly distributed bytes
+ */
+-std::vector<uint8_t> random_bytes(size_t size);
++std::vector<uint8_t> FZ_PUBLIC_SYMBOL random_bytes(size_t size);
+
+ }
+