+++ /dev/null
---- libfilezilla-0.9.2/m4/cppunit.m4.ddd 2015-11-02 14:47:31.000000000 +0100
-+++ libfilezilla-0.9.2/m4/cppunit.m4 2017-06-06 19:08:00.329550653 +0200
-@@ -29,12 +29,14 @@ AC_ARG_WITH(cppunit-exec-prefix,[ --wit
- no_cppunit=""
- if test "$CPPUNIT_CONFIG" = "no" ; then
- AC_MSG_RESULT(no)
-- no_cppunit=yes
-+ CPPUNIT_CFLAGS=`pkg-config --cflags cppunit`
-+ CPPUNIT_LIBS=`pkg-config --libs cppunit`
-+ cppunit_version=`pkg-config --modversion cppunit`
- else
- CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
- CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
- cppunit_version=`$CPPUNIT_CONFIG --version`
--
-+ fi
- cppunit_major_version=`echo $cppunit_version | \
- sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
- cppunit_minor_version=`echo $cppunit_version | \
-@@ -74,7 +76,6 @@ AC_ARG_WITH(cppunit-exec-prefix,[ --wit
- AC_MSG_RESULT(no)
- no_cppunit=yes
- fi
-- fi
-
- if test "x$no_cppunit" = x ; then
- ifelse([$2], , :, [$2])
Summary: Library for high-performing platform-independent programs
Summary(pl.UTF-8): Biblioteka do wydajnych programów niezależnych od platformy
Name: libfilezilla
-Version: 0.9.2
-Release: 2
+Version: 0.10.1
+Release: 1
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
+# Source0-md5: 0ab3b56ca55e608d601ada68dd86d673
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);
-
- }
-