[packages/rocksdb] - fixes for missing includes, release 2 (gflags 2.3.x)

qboosh qboosh at pld-linux.org
Sun Mar 1 13:47:36 CET 2026


commit e3d30643e61fe529e341958abcab48dbf29e3d78
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Mar 1 13:47:33 2026 +0100

    - fixes for missing includes, release 2 (gflags 2.3.x)

 rocksdb-includes.patch | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++
 rocksdb.spec           | 10 +++++----
 2 files changed, 66 insertions(+), 4 deletions(-)
---
diff --git a/rocksdb.spec b/rocksdb.spec
index f7f321c..4e2b2af 100644
--- a/rocksdb.spec
+++ b/rocksdb.spec
@@ -11,7 +11,7 @@ Summary(pl.UTF-8):	RocksDB - trwała baza danych klucz-wartość dla pamięci Fl
 Name:		rocksdb
 # NOTE: stick to 7.8.x for now; ceph 17.2.5 is not ready for rocksdb 7.10.x (or even 7.9.x?) due to cache changes
 Version:	7.8.3
-Release:	1
+Release:	2
 License:	BSD
 Group:		Libraries
 #Source0Download: https://github.com/facebook/rocksdb/releases
@@ -19,6 +19,7 @@ Source0:	https://github.com/facebook/rocksdb/archive/v%{version}/%{name}-%{versi
 # Source0-md5:	745d3b15e57e31670b5ea607c5bb82ff
 Patch0:		%{name}-detect-flags.patch
 Patch1:		%{name}-pc.patch
+Patch2:		%{name}-includes.patch
 URL:		https://rocksdb.org/
 BuildRequires:	bzip2-devel >= 1.0.8
 BuildRequires:	gflags-devel
@@ -79,6 +80,7 @@ Statyczna biblioteka RocksDB.
 %setup -q
 %patch -P0 -p1
 %patch -P1 -p1
+%patch -P2 -p1
 
 %build
 %if %{without benchmark}
@@ -133,12 +135,12 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS DEFAULT_OPTIONS_HISTORY.md DUMP_FORMAT.md HISTORY.md LANGUAGE-BINDINGS.md LICENSE.leveldb README.md ROCKSDB_LITE.md USERS.md
-%attr(755,root,root) %{_libdir}/librocksdb.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/librocksdb.so.7.8
+%{_libdir}/librocksdb.so.*.*.*
+%ghost %{_libdir}/librocksdb.so.7.8
 
 %files devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/librocksdb.so
+%{_libdir}/librocksdb.so
 %{_includedir}/rocksdb
 %{_pkgconfigdir}/rocksdb.pc
 
diff --git a/rocksdb-includes.patch b/rocksdb-includes.patch
new file mode 100644
index 0000000..1925284
--- /dev/null
+++ b/rocksdb-includes.patch
@@ -0,0 +1,60 @@
+--- rocksdb-7.8.3/db/blob/blob_file_meta.h.orig	2022-11-29 15:51:03.000000000 +0100
++++ rocksdb-7.8.3/db/blob/blob_file_meta.h	2026-03-01 10:38:39.913814268 +0100
+@@ -6,6 +6,7 @@
+ #pragma once
+ 
+ #include <cassert>
++#include <cstdint>
+ #include <iosfwd>
+ #include <memory>
+ #include <string>
+--- rocksdb-7.8.3/table/block_based/data_block_hash_index.h.orig	2022-11-29 15:51:03.000000000 +0100
++++ rocksdb-7.8.3/table/block_based/data_block_hash_index.h	2026-03-01 11:07:20.432962069 +0100
+@@ -5,6 +5,7 @@
+ 
+ #pragma once
+ 
++#include <cstdint>
+ #include <string>
+ #include <vector>
+ 
+--- rocksdb-7.8.3/include/rocksdb/trace_record.h.orig	2022-11-29 15:51:03.000000000 +0100
++++ rocksdb-7.8.3/include/rocksdb/trace_record.h	2026-03-01 11:33:12.787920356 +0100
+@@ -5,6 +5,7 @@
+ 
+ #pragma once
+ 
++#include <cstdint>
+ #include <memory>
+ #include <string>
+ #include <vector>
+--- rocksdb-7.8.3/include/rocksdb/trace_record_result.h.orig	2022-11-29 15:51:03.000000000 +0100
++++ rocksdb-7.8.3/include/rocksdb/trace_record_result.h	2026-03-01 11:33:44.141421231 +0100
+@@ -5,6 +5,7 @@
+ 
+ #pragma once
+ 
++#include <cstdint>
+ #include <string>
+ #include <vector>
+ 
+--- rocksdb-7.8.3/util/string_util.h.orig	2022-11-29 15:51:03.000000000 +0100
++++ rocksdb-7.8.3/util/string_util.h	2026-03-01 11:40:14.176838788 +0100
+@@ -6,6 +6,7 @@
+ 
+ #pragma once
+ 
++#include <cstdint>
+ #include <sstream>
+ #include <string>
+ #include <unordered_map>
+--- rocksdb-7.8.3/include/rocksdb/utilities/checkpoint.h.orig	2022-11-29 15:51:03.000000000 +0100
++++ rocksdb-7.8.3/include/rocksdb/utilities/checkpoint.h	2026-03-01 12:30:28.546252198 +0100
+@@ -8,6 +8,7 @@
+ #pragma once
+ #ifndef ROCKSDB_LITE
+ 
++#include <cstdint>
+ #include <string>
+ #include <vector>
+ #include "rocksdb/status.h"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rocksdb.git/commitdiff/e3d30643e61fe529e341958abcab48dbf29e3d78



More information about the pld-cvs-commit mailing list