]> git.pld-linux.org Git - packages/libfilezilla.git/commitdiff
- added random_bytes.patch auto/th/libfilezilla-0.9.2-2
authorWitold Filipczyk <witekfl@poczta.onet.pl>
Tue, 6 Jun 2017 19:03:20 +0000 (21:03 +0200)
committerWitold Filipczyk <witekfl@poczta.onet.pl>
Tue, 6 Jun 2017 19:03:20 +0000 (21:03 +0200)
- rel 2

libfilezilla.spec
random_bytes.patch [new file with mode: 0644]

index e5d38cfc00a439b4a96f12314d30dc75092fe7a8..c4d9d3062c7f0255459350ea9fb308b7ed62943e 100644 (file)
@@ -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 (file)
index 0000000..13f24ae
--- /dev/null
@@ -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);
+ }
This page took 0.268069 seconds and 4 git commands to generate.