[packages/flatbuffers] fix compile error on gcc 8.2

glen glen at pld-linux.org
Mon Sep 10 22:43:12 CEST 2018


commit ebc1c68afe0286026d1d75dca0658bde655d5b32
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Mon Sep 10 23:39:36 2018 +0300

    fix compile error on gcc 8.2
    
    - https://github.com/google/flatbuffers/issues/4741
    - https://github.com/google/flatbuffers/pull/4698

 flatbuffers.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/flatbuffers.spec b/flatbuffers.spec
index de94ddf..2051a41 100644
--- a/flatbuffers.spec
+++ b/flatbuffers.spec
@@ -1,11 +1,13 @@
 Summary:	Memory efficient serialization library
 Name:		flatbuffers
 Version:	1.9.0
-Release:	0.1
+Release:	1
 License:	Apache v2.0
 Group:		Applications
 Source0:	https://github.com/google/flatbuffers/archive/v%{version}/%{name}-%{version}.tar.gz
 # Source0-md5:	8be7513bf960034f6873326d09521a4b
+Patch0:		https://github.com/google/flatbuffers/pull/4698.patch
+# Patch0-md5:	f72d57f8befcb0052349a7d9a0df3f24
 URL:		https://google.github.io/flatbuffers/
 BuildRequires:	cmake
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -26,6 +28,7 @@ Header files for %{name} library.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 install -d build
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/flatbuffers.git/commitdiff/ebc1c68afe0286026d1d75dca0658bde655d5b32



More information about the pld-cvs-commit mailing list