]> git.pld-linux.org Git - packages/rocksdb.git/commitdiff
- updated to 4.9 auto/th/rocksdb-4.9-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 17 Sep 2016 04:46:43 +0000 (06:46 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 17 Sep 2016 04:46:43 +0000 (06:46 +0200)
- added jemalloc patch

rocksdb-jemalloc.patch [new file with mode: 0644]
rocksdb.spec

diff --git a/rocksdb-jemalloc.patch b/rocksdb-jemalloc.patch
new file mode 100644 (file)
index 0000000..bed1f75
--- /dev/null
@@ -0,0 +1,11 @@
+--- rocksdb-rocksdb-4.9/db/db_impl.cc.orig     2016-06-10 02:53:03.000000000 +0200
++++ rocksdb-rocksdb-4.9/db/db_impl.cc  2016-09-16 21:57:34.811440413 +0200
+@@ -580,7 +580,7 @@
+   std::unique_ptr<char> buf{new char[kMallocStatusLen + 1]};
+   mstat.cur = buf.get();
+   mstat.end = buf.get() + kMallocStatusLen;
+-  malloc_stats_print(GetJemallocStatus, &mstat, "");
++  je_malloc_stats_print(GetJemallocStatus, &mstat, "");
+   stats->append(buf.get());
+ #endif  // ROCKSDB_JEMALLOC
+ }
index cfc4d3ee36433abec5e6516afdf1d00ca1734e4a..21a3ae7a84870a377811714cb1dca4d37a308089 100644 (file)
@@ -7,16 +7,17 @@
 Summary:       RocksDB: A Persistent Key-Value Store for Flash and RAM Storage
 Summary(pl.UTF-8):     RocksDB - trwała baza danych klucz-wartość dla pamięci Flash i RAM
 Name:          rocksdb
-Version:       4.4.1
+Version:       4.9
 Release:       1
 License:       BSD
 Group:         Libraries
 #Source0Download: https://github.com/facebook/rocksdb/releases
 Source0:       https://github.com/facebook/rocksdb/archive/%{name}-%{version}.tar.gz
-# Source0-md5: ad38c27c09cea873296bfba68594335c
+# Source0-md5: e23ab7b76faaa1fc4c96b86732b16448
 Patch0:                %{name}-libdir.patch
 Patch1:                make-programs.patch
 Patch2:                %{name}-numa.patch
+Patch3:                %{name}-jemalloc.patch
 URL:           http://rocksdb.org/
 BuildRequires: bzip2-devel
 BuildRequires: gflags-devel
@@ -72,6 +73,7 @@ Statyczna biblioteka RocksDB.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %build
 %ifarch i386 i486
@@ -107,7 +109,7 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc HISTORY.md LICENSE PATENTS README.md ROCKSDB_LITE.md
 %attr(755,root,root) %{_libdir}/librocksdb.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/librocksdb.so.4.4
+%attr(755,root,root) %ghost %{_libdir}/librocksdb.so.4.9
 
 %files devel
 %defattr(644,root,root,755)
This page took 0.061975 seconds and 4 git commands to generate.