From owner-svn-ports-head@freebsd.org Sun Aug 20 12:26:35 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AC3F0DCED94; Sun, 20 Aug 2017 12:26:35 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 764021825; Sun, 20 Aug 2017 12:26:35 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v7KCQYLZ099750; Sun, 20 Aug 2017 12:26:34 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v7KCQYLt099748; Sun, 20 Aug 2017 12:26:34 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201708201226.v7KCQYLt099748@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sun, 20 Aug 2017 12:26:34 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r448384 - in head/devel/protobuf: . files X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/devel/protobuf: . files X-SVN-Commit-Revision: 448384 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Aug 2017 12:26:35 -0000 Author: sunpoet Date: Sun Aug 20 12:26:34 2017 New Revision: 448384 URL: https://svnweb.freebsd.org/changeset/ports/448384 Log: Pet portlint: move BROKEN_* upward - Update patch file Modified: head/devel/protobuf/Makefile head/devel/protobuf/files/patch-src-google-protobuf-stubs-atomicops.h Modified: head/devel/protobuf/Makefile ============================================================================== --- head/devel/protobuf/Makefile Sun Aug 20 12:26:29 2017 (r448383) +++ head/devel/protobuf/Makefile Sun Aug 20 12:26:34 2017 (r448384) @@ -12,10 +12,10 @@ COMMENT= Data interchange format library LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE +BROKEN_sparc64= fails to compile: no atomic ops available + TEST_DEPENDS= googlemock>=0:devel/googlemock \ googletest>=0:devel/googletest - -BROKEN_sparc64= fails to compile: no atomic ops available CFLAGS+= -DGOOGLE_PROTOBUF_NO_RTTI -I${WRKSRC}/src CONFIGURE_ENV= CXX_FOR_BUILD=c++ Modified: head/devel/protobuf/files/patch-src-google-protobuf-stubs-atomicops.h ============================================================================== --- head/devel/protobuf/files/patch-src-google-protobuf-stubs-atomicops.h Sun Aug 20 12:26:29 2017 (r448383) +++ head/devel/protobuf/files/patch-src-google-protobuf-stubs-atomicops.h Sun Aug 20 12:26:34 2017 (r448384) @@ -1,11 +1,11 @@ ---- src/google/protobuf/stubs/atomicops.h.orig 2016-09-24 02:12:45 UTC +--- src/google/protobuf/stubs/atomicops.h.orig 2017-08-15 23:39:12 UTC +++ src/google/protobuf/stubs/atomicops.h -@@ -202,6 +202,8 @@ Atomic64 Release_Load(volatile const Ato +@@ -198,6 +198,8 @@ Atomic64 Release_Load(volatile const Ato #elif defined(__GNUC__) #if defined(GOOGLE_PROTOBUF_ARCH_IA32) || defined(GOOGLE_PROTOBUF_ARCH_X64) #include +#elif defined(GOOGLE_PROTOBUF_ARCH_ARM) && defined(__FreeBSD__) +#include #elif defined(GOOGLE_PROTOBUF_ARCH_ARM) && defined(__linux__) - #include - #elif defined(GOOGLE_PROTOBUF_ARCH_AARCH64) + #if (((__GNUC__ == 4) && (__GNUC_MINOR__ >= 7)) || (__GNUC__ > 4)) + #include