[packages/libfilezilla] - added random_bytes.patch - rel 2

witekfl witekfl at pld-linux.org
Tue Jun 6 21:03:53 CEST 2017


commit 61a72c2d21cb33d91f56b615892a9e92d93980c1
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Tue Jun 6 21:03:20 2017 +0200

    - added random_bytes.patch
    - rel 2

 libfilezilla.spec  |  4 +++-
 random_bytes.patch | 11 +++++++++++
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/libfilezilla.spec b/libfilezilla.spec
index e5d38cf..c4d9d30 100644
--- a/libfilezilla.spec
+++ b/libfilezilla.spec
@@ -8,12 +8,13 @@ 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:	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}
@@ -95,6 +96,7 @@ Dokumentacja API biblioteki %{name}.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{__libtoolize}
diff --git a/random_bytes.patch b/random_bytes.patch
new file mode 100644
index 0000000..13f24ae
--- /dev/null
+++ b/random_bytes.patch
@@ -0,0 +1,11 @@
+--- 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);
+ 
+ }
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libfilezilla.git/commitdiff/61a72c2d21cb33d91f56b615892a9e92d93980c1



More information about the pld-cvs-commit mailing list