diff options
-rw-r--r-- | databases/rocksdb/Makefile | 1 | ||||
-rw-r--r-- | databases/rocksdb/files/patch-port_port__posix.h | 17 |
2 files changed, 18 insertions, 0 deletions
diff --git a/databases/rocksdb/Makefile b/databases/rocksdb/Makefile index d09397bc5c5f..37e274a36340 100644 --- a/databases/rocksdb/Makefile +++ b/databases/rocksdb/Makefile @@ -21,6 +21,7 @@ LDFLAGS+= -L${LOCALBASE}/lib USE_CXXSTD= c++11 USE_LDCONFIG= yes USES= compiler:c++11-lib gmake +MAKE_ARGS= DISABLE_WARNING_AS_ERROR=1 GH_ACCOUNT= facebook USE_GITHUB= yes diff --git a/databases/rocksdb/files/patch-port_port__posix.h b/databases/rocksdb/files/patch-port_port__posix.h new file mode 100644 index 000000000000..368f9579c3db --- /dev/null +++ b/databases/rocksdb/files/patch-port_port__posix.h @@ -0,0 +1,17 @@ +--- port/port_posix.h.orig 2015-06-11 22:49:11 UTC ++++ port/port_posix.h +@@ -25,12 +25,11 @@ + #else + #define PLATFORM_IS_LITTLE_ENDIAN false + #endif +-#elif defined(OS_FREEBSD) ++#elif defined(OS_FREEBSD) || defined(OS_DRAGONFLYBSD) + #include <sys/endian.h> + #include <sys/types.h> + #define PLATFORM_IS_LITTLE_ENDIAN (_BYTE_ORDER == _LITTLE_ENDIAN) +-#elif defined(OS_OPENBSD) || defined(OS_NETBSD) ||\ +- defined(OS_DRAGONFLYBSD) || defined(OS_ANDROID) ++#elif defined(OS_OPENBSD) || defined(OS_NETBSD) || defined(OS_ANDROID) + #include <sys/types.h> + #include <sys/endian.h> + #else |