From e44a640ccd04abfb638634748acff93b49dd6dff Mon Sep 17 00:00:00 2001 From: Helmut Pozimski Date: Fri, 16 Jun 2017 09:00:08 +0200 Subject: [PATCH] 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 --- srcpkgs/libfilezilla/patches/fix-random-bytes.patch | 11 +++++++++++ srcpkgs/libfilezilla/template | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/libfilezilla/patches/fix-random-bytes.patch diff --git a/srcpkgs/libfilezilla/patches/fix-random-bytes.patch b/srcpkgs/libfilezilla/patches/fix-random-bytes.patch new file mode 100644 index 00000000000..e671725c629 --- /dev/null +++ b/srcpkgs/libfilezilla/patches/fix-random-bytes.patch @@ -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 random_bytes(size_t size); ++std::vector FZ_PUBLIC_SYMBOL random_bytes(size_t size); + + } + diff --git a/srcpkgs/libfilezilla/template b/srcpkgs/libfilezilla/template index 725184e80dd..160ec9a0d76 100644 --- a/srcpkgs/libfilezilla/template +++ b/srcpkgs/libfilezilla/template @@ -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"