Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Jul 2015 15:17:24 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r391306 - in head/databases/rocksdb: . files
Message-ID:  <201507041517.t64FHOZB057402@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Sat Jul  4 15:17:23 2015
New Revision: 391306
URL: https://svnweb.freebsd.org/changeset/ports/391306

Log:
  databases/rocksdb: Unbreak on DragonFly
  
  For the third time, disable Werror on this port.
  For this latest version, that wasn't the only problem with regard to
  DragonFly -- the endian configuration code was wrong and required a
  patch to fix.

Added:
  head/databases/rocksdb/files/patch-port_port__posix.h   (contents, props changed)
Modified:
  head/databases/rocksdb/Makefile

Modified: head/databases/rocksdb/Makefile
==============================================================================
--- head/databases/rocksdb/Makefile	Sat Jul  4 12:48:52 2015	(r391305)
+++ head/databases/rocksdb/Makefile	Sat Jul  4 15:17:23 2015	(r391306)
@@ -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

Added: head/databases/rocksdb/files/patch-port_port__posix.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/rocksdb/files/patch-port_port__posix.h	Sat Jul  4 15:17:23 2015	(r391306)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201507041517.t64FHOZB057402>