]> git.pld-linux.org Git - packages/flatbuffers.git/commitdiff
fix compile error on gcc 8.2
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 10 Sep 2018 20:39:36 +0000 (23:39 +0300)
committerElan Ruusamäe <glen@pld-linux.org>
Mon, 10 Sep 2018 20:43:01 +0000 (23:43 +0300)
- https://github.com/google/flatbuffers/issues/4741
- https://github.com/google/flatbuffers/pull/4698

flatbuffers.spec

index de94ddf3031585a550686c9e7967e1e818d0f70a..2051a41b6037b5f1094191c158eeb593302f0499 100644 (file)
@@ -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
This page took 0.153442 seconds and 4 git commands to generate.