git: d82a47d7c2f2 - main - databases/rocksdb: Fix build on i386
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 03 Jun 2024 02:47:07 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=d82a47d7c2f2b41bc1c343fc4a00892953ec3d0d commit d82a47d7c2f2b41bc1c343fc4a00892953ec3d0d Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-06-03 02:37:26 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-06-03 02:37:26 +0000 databases/rocksdb: Fix build on i386 Reference: https://pkg-status.freebsd.org/beefy21/data/140i386-default/02faf78f4c9b/logs/rocksdb-9.2.1.log --- databases/rocksdb/files/patch-i386 | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/databases/rocksdb/files/patch-i386 b/databases/rocksdb/files/patch-i386 new file mode 100644 index 000000000000..6a22158c1a84 --- /dev/null +++ b/databases/rocksdb/files/patch-i386 @@ -0,0 +1,11 @@ +--- db_stress_tool/db_stress_common.cc.orig 2024-05-08 23:03:15 UTC ++++ db_stress_tool/db_stress_common.cc +@@ -200,7 +200,7 @@ void CompressedCacheSetCapacityThread(void* v) { + // Lower by upto 50% of usable block cache capacity + adjustment = (adjustment * thread->rand.Uniform(50)) / 100; + block_cache->SetCapacity(capacity - adjustment); +- fprintf(stdout, "New cache capacity = %lu\n", ++ fprintf(stdout, "New cache capacity = %zu\n", + block_cache->GetCapacity()); + db_stress_env->SleepForMicroseconds(10 * 1000 * 1000); + block_cache->SetCapacity(capacity);