diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2014-12-08 17:11:01 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2014-12-08 17:11:01 +0800 |
commit | 1a9127b6325e0f081fd428cb33e8e16ff764a953 (patch) | |
tree | b9bd013618902a67f81163158cd4d949c421e01b /databases/rocksdb | |
parent | c8d5bb435e7d5b10acbc445fbd453dc1380494cf (diff) | |
download | freebsd-ports-gnome-1a9127b6325e0f081fd428cb33e8e16ff764a953.tar.gz freebsd-ports-gnome-1a9127b6325e0f081fd428cb33e8e16ff764a953.tar.zst freebsd-ports-gnome-1a9127b6325e0f081fd428cb33e8e16ff764a953.zip |
- Update to 3.8
Changes: https://github.com/facebook/rocksdb/releases
Diffstat (limited to 'databases/rocksdb')
-rw-r--r-- | databases/rocksdb/Makefile | 6 | ||||
-rw-r--r-- | databases/rocksdb/distinfo | 4 | ||||
-rw-r--r-- | databases/rocksdb/files/patch-Makefile | 11 | ||||
-rw-r--r-- | databases/rocksdb/files/patch-port-port_posix.h | 27 | ||||
-rw-r--r-- | databases/rocksdb/pkg-plist | 4 |
5 files changed, 10 insertions, 42 deletions
diff --git a/databases/rocksdb/Makefile b/databases/rocksdb/Makefile index 59d2c0bb4a7e..3b72fd103fe3 100644 --- a/databases/rocksdb/Makefile +++ b/databases/rocksdb/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= rocksdb -PORTVERSION= 3.7 +PORTVERSION= 3.8 CATEGORIES= databases MAINTAINER= sunpoet@FreeBSD.org @@ -21,7 +21,7 @@ USE_LDCONFIG= yes USES= compiler:c++11-lang gmake GH_ACCOUNT= facebook -GH_COMMIT= 8d87467 +GH_COMMIT= 7fe2470 GH_PROJECT= ${PORTNAME} GH_TAGNAME= ${PORTNAME}-${PORTVERSION} USE_GITHUB= yes @@ -31,7 +31,9 @@ PROGRAMS= blob_store_bench db_bench db_repl_stress db_sanity_test \ table_reader_bench post-patch: + @${REINPLACE_CMD} -e '/^all: / s| $$(TESTS)||' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's|-lpthread|-pthread|; s| -fno-builtin-memcmp||; s| -ltcmalloc||' ${WRKSRC}/build_tools/build_detect_platform + @${REINPLACE_CMD} -e '/PLATFORM_IS_LITTLE_ENDIAN/ s|__|_|g' ${WRKSRC}/port/port_posix.h .if defined(WITHOUT_PROFILE) @${REINPLACE_CMD} -e 's| -pg||' ${WRKSRC}/Makefile .endif diff --git a/databases/rocksdb/distinfo b/databases/rocksdb/distinfo index dd5c0b0c3505..f5f0f52b57e1 100644 --- a/databases/rocksdb/distinfo +++ b/databases/rocksdb/distinfo @@ -1,2 +1,2 @@ -SHA256 (rocksdb-3.7.tar.gz) = e3f50ece3b8f53b895f0d71fce060dcb10a0c028017f0b5649766a7e38fac3ab -SIZE (rocksdb-3.7.tar.gz) = 1210487 +SHA256 (rocksdb-3.8.tar.gz) = e24fdf6b00a246ae1a2d52975958799eb69fecf5ac22e2aa18b61ad9019e9885 +SIZE (rocksdb-3.8.tar.gz) = 1237877 diff --git a/databases/rocksdb/files/patch-Makefile b/databases/rocksdb/files/patch-Makefile deleted file mode 100644 index a350a1f8b62f..000000000000 --- a/databases/rocksdb/files/patch-Makefile +++ /dev/null @@ -1,11 +0,0 @@ ---- Makefile.orig 2014-06-20 07:40:32.000000000 +0800 -+++ Makefile 2014-07-22 23:24:39.702518883 +0800 -@@ -166,7 +166,7 @@ - release tags valgrind_check whitebox_crash_test format static_lib shared_lib all \ - dbg - --all: $(LIBRARY) $(PROGRAMS) $(TESTS) -+all: $(LIBRARY) $(PROGRAMS) - - static_lib: $(LIBRARY) - diff --git a/databases/rocksdb/files/patch-port-port_posix.h b/databases/rocksdb/files/patch-port-port_posix.h deleted file mode 100644 index 480e0e49c7d6..000000000000 --- a/databases/rocksdb/files/patch-port-port_posix.h +++ /dev/null @@ -1,27 +0,0 @@ ---- port/port_posix.h.orig 2014-06-20 07:40:32.000000000 +0800 -+++ port/port_posix.h 2014-07-22 22:10:43.906820844 +0800 -@@ -26,10 +26,22 @@ - #else - #define PLATFORM_IS_LITTLE_ENDIAN false - #endif --#elif defined(OS_FREEBSD) || defined(OS_OPENBSD) || defined(OS_NETBSD) ||\ -- defined(OS_DRAGONFLYBSD) || defined(OS_ANDROID) -+#elif defined(OS_FREEBSD) - #include <sys/types.h> - #include <sys/endian.h> -+ #define PLATFORM_IS_LITTLE_ENDIAN (_BYTE_ORDER == _LITTLE_ENDIAN) -+#elif defined(OS_OPENBSD) || defined(OS_NETBSD) ||\ -+ defined(OS_DRAGONFLYBSD) -+ #include <sys/types.h> -+ #include <sys/endian.h> -+#elif defined(OS_HPUX) -+ #define PLATFORM_IS_LITTLE_ENDIAN false -+#elif defined(OS_ANDROID) -+ // Due to a bug in the NDK x86 <sys/endian.h> definition, -+ // _BYTE_ORDER must be used instead of __BYTE_ORDER on Android. -+ // See http://code.google.com/p/android/issues/detail?id=39824 -+ #include <endian.h> -+ #define PLATFORM_IS_LITTLE_ENDIAN (_BYTE_ORDER == _LITTLE_ENDIAN) - #else - #include <endian.h> - #endif diff --git a/databases/rocksdb/pkg-plist b/databases/rocksdb/pkg-plist index 57f8500ed2d9..2cb16e36bbb0 100644 --- a/databases/rocksdb/pkg-plist +++ b/databases/rocksdb/pkg-plist @@ -20,13 +20,16 @@ include/rocksdb/immutable_options.h include/rocksdb/iostats_context.h include/rocksdb/iterator.h include/rocksdb/ldb_tool.h +include/rocksdb/listener.h include/rocksdb/memtablerep.h include/rocksdb/merge_operator.h +include/rocksdb/metadata.h include/rocksdb/options.h include/rocksdb/perf_context.h include/rocksdb/rate_limiter.h include/rocksdb/slice.h include/rocksdb/slice_transform.h +include/rocksdb/sst_dump_tool.h include/rocksdb/statistics.h include/rocksdb/status.h include/rocksdb/table.h @@ -35,6 +38,7 @@ include/rocksdb/transaction_log.h include/rocksdb/types.h include/rocksdb/universal_compaction.h include/rocksdb/utilities/backupable_db.h +include/rocksdb/utilities/convenience.h include/rocksdb/utilities/db_ttl.h include/rocksdb/utilities/document_db.h include/rocksdb/utilities/geo_db.h |