From owner-svn-ports-all@FreeBSD.ORG Sat Feb 21 13:03:24 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6D8F751A; Sat, 21 Feb 2015 13:03:24 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 58B7F1FC; Sat, 21 Feb 2015 13:03:24 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t1LD3O0n041800; Sat, 21 Feb 2015 13:03:24 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t1LD3OR8041799; Sat, 21 Feb 2015 13:03:24 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201502211303.t1LD3OR8041799@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: marino set sender to marino@FreeBSD.org using -f From: John Marino Date: Sat, 21 Feb 2015 13:03:24 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r379505 - head/databases/rocksdb X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Feb 2015 13:03:24 -0000 Author: marino Date: Sat Feb 21 13:03:23 2015 New Revision: 379505 URL: https://svnweb.freebsd.org/changeset/ports/379505 QAT: https://qat.redports.org/buildarchive/r379505/ Log: databases/rocksdb: Remove -Werror from flags RocksDB defines a number of variables it doesn't use, so it fails Werror on modern compilers that check for this. Remove the -Werror flag from the Makefile with sed since we are using it anyway. Approved by: blanket Modified: head/databases/rocksdb/Makefile Modified: head/databases/rocksdb/Makefile ============================================================================== --- head/databases/rocksdb/Makefile Sat Feb 21 12:53:37 2015 (r379504) +++ head/databases/rocksdb/Makefile Sat Feb 21 13:03:23 2015 (r379505) @@ -31,7 +31,8 @@ PROGRAMS= blob_store_bench db_bench db_r table_reader_bench post-patch: - @${REINPLACE_CMD} -e '/^all: / s| $$(TESTS)||' ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e '/^all: / s| $$(TESTS)||' \ + -e 's| -Werror||' ${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)