aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCeleste <20312-Celeste@users.gitlab.alpinelinux.org>2023-10-24 14:41:47 +0000
committeromni <omni+alpine@hack.org>2023-10-24 19:04:33 +0000
commit56efae71acdf276d6f220faee5c8d3c36b49fd58 (patch)
tree5735ab7c47ef966555e581af20525ae2b73d4b63
parent66bfbb39a128fef7d9abde7ce000073622390bcc (diff)
community/rocksdb: fix build on gcc13
-rw-r--r--community/rocksdb/50-include-cstdint.patch30
-rw-r--r--community/rocksdb/APKBUILD4
2 files changed, 33 insertions, 1 deletions
diff --git a/community/rocksdb/50-include-cstdint.patch b/community/rocksdb/50-include-cstdint.patch
new file mode 100644
index 00000000000..e14281777a0
--- /dev/null
+++ b/community/rocksdb/50-include-cstdint.patch
@@ -0,0 +1,30 @@
+--- rocksdb-7.10.2/db/db_write_test.cc
++++ rocksdb-8.3.2/db/db_write_test.cc
+@@ -4,6 +4,7 @@
+ // (found in the LICENSE.Apache file in the root directory).
+
+ #include <atomic>
++#include <cstdint>
+ #include <fstream>
+ #include <memory>
+ #include <thread>
+--- rocksdb-7.10.2/table/block_based/data_block_hash_index.h
++++ rocksdb-8.3.2/table/block_based/data_block_hash_index.h
+@@ -5,6 +5,7 @@
+
+ #pragma once
+
++#include <cstdint>
+ #include <string>
+ #include <vector>
+
+--- rocksdb-7.10.2/util/string_util.h
++++ rocksdb-8.3.2/util/string_util.h
+@@ -6,6 +6,7 @@
+
+ #pragma once
+
++#include <cstdint>
+ #include <sstream>
+ #include <string>
+ #include <unordered_map>
diff --git a/community/rocksdb/APKBUILD b/community/rocksdb/APKBUILD
index 3322b7c726c..72e46d531e6 100644
--- a/community/rocksdb/APKBUILD
+++ b/community/rocksdb/APKBUILD
@@ -5,7 +5,7 @@
# Maintainer: Duncan Bellamy <dunk@denkimushi.com>
pkgname=rocksdb
pkgver=7.9.2
-pkgrel=0
+pkgrel=1
pkgdesc="persistent key-value store for fast storage environments"
url="https://rocksdb.org"
arch="all"
@@ -20,6 +20,7 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/facebook/rocksdb/archive/v$p
20-ppc64le-determine-platform.patch
30-toku_time.patch
40-no-powerpc-mcpu.patch
+ 50-include-cstdint.patch
"
build() {
@@ -58,4 +59,5 @@ fa98c289b465808c1bdda390d891d6430bb65096c39d2c327f7a82cdae1eeba8f3a47c6434eb4988
835e7bb5e8e76aa264d7dbe55d44a01af4bcec7e61fc0aa8be173d28e302e9b368da064bd4b4a0020fa97bd46a51f3d8fc015db8a4af37890e0ba7924eb01ed0 20-ppc64le-determine-platform.patch
bdc68bce07eb488d86de6e607eadf1abfc543a3a2b2c57f3d25f8e278b8d6b3e943de6a51d60762b629d38c26080bdfad3d0e205429c0e777d0ca3aadee37259 30-toku_time.patch
56ea6c77c5bd920707de790869136cbf5bc12167c630d6ee523ceff5da91310c36d6b141a657856704139d93af6f47cf0e989744b10f4db92bcc48a8e2d66f41 40-no-powerpc-mcpu.patch
+1d1838ceb84519cde3bcb5147147481aee2c8a0034f5c64731f6cea6f46e17b5bf9e1d97ca75b759613312560e70c7539744b52f8091550b6259f3b36c3b8d82 50-include-cstdint.patch
"