libfilezilla: add fix-random-bytes.patch

patch taken from upstream svn:
https://svn.filezilla-project.org/filezilla/libfilezilla/trunk/lib/libfilezilla/util.hpp?view=patch&r1=8432&r2=8431&pathrev=8432
fixes building of filezilla 3.26.2 against libfilezilla
This commit is contained in:
Helmut Pozimski 2017-06-16 09:00:08 +02:00
parent 998b6b3fc2
commit e44a640ccd
2 changed files with 12 additions and 1 deletions

View file

@ -0,0 +1,11 @@
--- lib/libfilezilla/util.hpp 2017/06/01 19:28:46 8431
+++ lib/libfilezilla/util.hpp 2017/06/02 15:08:22 8432
@@ -28,7 +28,7 @@
/** \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);
}

View file

@ -1,7 +1,7 @@
# Template file for 'libfilezilla'
pkgname=libfilezilla
version=0.9.2
revision=1
revision=2
build_style=gnu-configure
configure_args="--disable-static"
short_desc="A small and modern C++ library, which offers some basic functionalities"