From 119565bc21125e43b5afa2b5fcc03a1b9d5bfd27 Mon Sep 17 00:00:00 2001
From: Niko PLP <niko@nextgraph.org>
Date: Wed, 20 Nov 2024 06:27:59 +0200
Subject: [PATCH] fix apple silicon build of rocksdb

---
 Cargo.lock                    | 4 ++--
 ng-oxigraph/Cargo.toml        | 2 +-
 ng-storage-rocksdb/Cargo.toml | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Cargo.lock b/Cargo.lock
index 7172c1c5..6b91e7ac 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3429,8 +3429,8 @@ dependencies = [
 
 [[package]]
 name = "ng-rocksdb"
-version = "0.21.0-ngpreview.4"
-source = "git+https://git.nextgraph.org/NextGraph/rust-rocksdb.git?branch=master#f1ce2e345f3d729350a02bcffb47c526674edd85"
+version = "0.21.0-ngpreview.5"
+source = "git+https://git.nextgraph.org/NextGraph/rust-rocksdb.git?branch=master#ce82c378b539368fd63711c214fc1844cb29d1dc"
 dependencies = [
  "bindgen",
  "bzip2-sys",
diff --git a/ng-oxigraph/Cargo.toml b/ng-oxigraph/Cargo.toml
index c6fe9ce2..55940158 100644
--- a/ng-oxigraph/Cargo.toml
+++ b/ng-oxigraph/Cargo.toml
@@ -50,7 +50,7 @@ ng-repo = { path = "../ng-repo", version = "0.1.1-alpha" }
 
 [target.'cfg(all(not(target_family = "wasm"),not(docsrs)))'.dependencies]
 libc = "0.2"
-ng-rocksdb = { version = "0.21.0-ngpreview.4", git = "https://git.nextgraph.org/NextGraph/rust-rocksdb.git", branch = "master", features = [  ] }
+ng-rocksdb = { version = "0.21.0-ngpreview.5", git = "https://git.nextgraph.org/NextGraph/rust-rocksdb.git", branch = "master", features = [  ] }
 
 [target.'cfg(all(target_family = "wasm", target_os = "unknown"))'.dependencies]
 getrandom = "0.2.8"
diff --git a/ng-storage-rocksdb/Cargo.toml b/ng-storage-rocksdb/Cargo.toml
index 81a5ed20..5b0f77dc 100644
--- a/ng-storage-rocksdb/Cargo.toml
+++ b/ng-storage-rocksdb/Cargo.toml
@@ -20,4 +20,4 @@ ng-repo = { path = "../ng-repo", version = "0.1.1-alpha" }
 git = "https://git.nextgraph.org/NextGraph/rust-rocksdb.git"
 branch = "master"
 features = [  ]
-version = "0.21.0-ngpreview.4"
+version = "0.21.0-ngpreview.5"