Accepting request 257763 from devel:libraries:c_c++

- update to 1.18:
  + Replace the basic fprintf call with a call to fwrite
  + Fix ALL the header guards.
  + A new CONTRIBUTING file.
  + leveldb: Remove unused function 'ConsumeChar'.
  + leveldbutil: Remove unused member variables from WriteBatchItemPrinter.
  + Verify checksums of index/meta/filter blocks when paranoid_checks set.
  + Invoke all tools for iOS with xcrun. (This was causing problems with the new XCode 5.1.1 image on pulse.)
  + include only once, and fix the following linter warning: "Found C system header after C++ system header"
  + When encountering a corrupted table file, return Status::Corruption instead of Status::InvalidArgument.
  + Support cygwin as build platform, patch is from https://code.google.com/p/leveldb/issues/detail?id=188
  + Fix typo, merge patch from https://code.google.com/p/leveldb/issues/detail?id=159
  + Fix typos and comments, and address the following two issues:
  + Add missing db synchronize after "fillseq" in the benchmark.
  + Removed unused variable in SeekRandom: value (issue #201)

OBS-URL: https://build.opensuse.org/request/show/257763
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/leveldb?expand=0&rev=6
This commit is contained in:
Stephan Kulow 2014-10-22 14:23:21 +00:00 committed by Git OBS Bridge
commit 09abac89fa
5 changed files with 32 additions and 13 deletions

View File

@ -4,11 +4,11 @@ Author: Nobuhiro Iwamatsu <iwamatsu@debian.org>
port/atomic_pointer.h | 136 ++++++++++++++++++++++++++++++++++++++++++++++----
1 file changed, 126 insertions(+), 10 deletions(-)
Index: leveldb/port/atomic_pointer.h
Index: leveldb-1.18/port/atomic_pointer.h
===================================================================
--- leveldb.orig/port/atomic_pointer.h
+++ leveldb/port/atomic_pointer.h
@@ -38,6 +38,18 @@
--- leveldb-1.18.orig/port/atomic_pointer.h
+++ leveldb-1.18/port/atomic_pointer.h
@@ -37,6 +37,18 @@
#define ARCH_CPU_ARM_FAMILY 1
#elif defined(__ppc__) || defined(__powerpc__) || defined(__powerpc64__)
#define ARCH_CPU_PPC_FAMILY 1
@ -27,7 +27,7 @@ Index: leveldb/port/atomic_pointer.h
#endif
namespace leveldb {
@@ -50,16 +62,27 @@ namespace port {
@@ -49,16 +61,27 @@ namespace port {
// http://msdn.microsoft.com/en-us/library/ms684208(v=vs.85).aspx
#define LEVELDB_HAVE_MEMORY_BARRIER
@ -57,7 +57,7 @@ Index: leveldb/port/atomic_pointer.h
// See http://gcc.gnu.org/ml/gcc/2003-04/msg01180.html for a discussion on
// this idiom. Also see http://en.wikipedia.org/wiki/Memory_ordering.
__asm__ __volatile__("" : : : "memory");
@@ -68,7 +91,12 @@ inline void MemoryBarrier() {
@@ -67,7 +90,12 @@ inline void MemoryBarrier() {
// Sun Studio
#elif defined(ARCH_CPU_X86_FAMILY) && defined(__SUNPRO_CC)
@ -71,7 +71,7 @@ Index: leveldb/port/atomic_pointer.h
// See http://gcc.gnu.org/ml/gcc/2003-04/msg01180.html for a discussion on
// this idiom. Also see http://en.wikipedia.org/wiki/Memory_ordering.
asm volatile("" : : : "memory");
@@ -88,17 +116,99 @@ typedef void (*LinuxKernelMemoryBarrierF
@@ -87,17 +115,99 @@ typedef void (*LinuxKernelMemoryBarrierF
// shows that the extra function call cost is completely negligible on
// multi-core devices.
//
@ -176,7 +176,7 @@ Index: leveldb/port/atomic_pointer.h
}
#define LEVELDB_HAVE_MEMORY_BARRIER
@@ -116,11 +226,11 @@ class AtomicPointer {
@@ -115,11 +225,11 @@ class AtomicPointer {
inline void NoBarrier_Store(void* v) { rep_ = v; }
inline void* Acquire_Load() const {
void* result = rep_;
@ -190,7 +190,7 @@ Index: leveldb/port/atomic_pointer.h
rep_ = v;
}
};
@@ -217,6 +327,12 @@ class AtomicPointer {
@@ -216,6 +326,12 @@ class AtomicPointer {
#undef ARCH_CPU_X86_FAMILY
#undef ARCH_CPU_ARM_FAMILY
#undef ARCH_CPU_PPC_FAMILY

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f4a1f7525e240b4bb095278ebe8ca7f7d3ee8ebd84812f97414ce8fdf01b4240
size 156298

3
leveldb-1.18.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d5c449b7057f7991e6ede897ba524889cb925120a53f6533398ee9685749665d
size 159372

View File

@ -1,3 +1,22 @@
-------------------------------------------------------------------
Mon Oct 20 12:13:47 UTC 2014 - dmueller@suse.com
- update to 1.18:
+ Replace the basic fprintf call with a call to fwrite
+ Fix ALL the header guards.
+ A new CONTRIBUTING file.
+ leveldb: Remove unused function 'ConsumeChar'.
+ leveldbutil: Remove unused member variables from WriteBatchItemPrinter.
+ Verify checksums of index/meta/filter blocks when paranoid_checks set.
+ Invoke all tools for iOS with xcrun. (This was causing problems with the new XCode 5.1.1 image on pulse.)
+ include only once, and fix the following linter warning: "Found C system header after C++ system header"
+ When encountering a corrupted table file, return Status::Corruption instead of Status::InvalidArgument.
+ Support cygwin as build platform, patch is from https://code.google.com/p/leveldb/issues/detail?id=188
+ Fix typo, merge patch from https://code.google.com/p/leveldb/issues/detail?id=159
+ Fix typos and comments, and address the following two issues:
+ Add missing db synchronize after "fillseq" in the benchmark.
+ Removed unused variable in SeekRandom: value (issue #201)
-------------------------------------------------------------------
Mon Apr 7 15:33:22 UTC 2014 - ddiss@suse.com

View File

@ -17,7 +17,7 @@
Name: leveldb
Version: 1.16.0
Version: 1.18
Release: 0
Summary: A key/value-store
License: BSD-3-Clause