From owner-svn-ports-all@freebsd.org Tue May 1 14:26:48 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DDCDFFACE47; Tue, 1 May 2018 14:26:47 +0000 (UTC) (envelope-from vanilla@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 922E573144; Tue, 1 May 2018 14:26:47 +0000 (UTC) (envelope-from vanilla@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 87F9323359; Tue, 1 May 2018 14:26:47 +0000 (UTC) (envelope-from vanilla@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w41EQlCN050070; Tue, 1 May 2018 14:26:47 GMT (envelope-from vanilla@FreeBSD.org) Received: (from vanilla@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w41EQlKW050066; Tue, 1 May 2018 14:26:47 GMT (envelope-from vanilla@FreeBSD.org) Message-Id: <201805011426.w41EQlKW050066@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: vanilla set sender to vanilla@FreeBSD.org using -f From: "Vanilla I. Shu" Date: Tue, 1 May 2018 14:26:47 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r468762 - in head/devel/bazel: . files X-SVN-Group: ports-head X-SVN-Commit-Author: vanilla X-SVN-Commit-Paths: in head/devel/bazel: . files X-SVN-Commit-Revision: 468762 X-SVN-Commit-Repository: ports 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.25 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: Tue, 01 May 2018 14:26:48 -0000 Author: vanilla Date: Tue May 1 14:26:46 2018 New Revision: 468762 URL: https://svnweb.freebsd.org/changeset/ports/468762 Log: Update devel/bazel to 0.13.0 Release notes: https://github.com/bazelbuild/bazel/releases/tag/0.13.0 PR: 227887 Submitted by: maintainer Added: head/devel/bazel/files/extra-i386_tools_cpp_BUILD.static.freebsd (contents, props changed) head/devel/bazel/files/patch-third_party_ijar_mapped_file_unix.cc (contents, props changed) Modified: head/devel/bazel/Makefile head/devel/bazel/distinfo Modified: head/devel/bazel/Makefile ============================================================================== --- head/devel/bazel/Makefile Tue May 1 14:20:11 2018 (r468761) +++ head/devel/bazel/Makefile Tue May 1 14:26:46 2018 (r468762) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= bazel -DISTVERSION= 0.12.0 +DISTVERSION= 0.13.0 CATEGORIES= devel java MASTER_SITES= https://storage.googleapis.com/bazel/${PORTVERSION}/rc${FINALRC}/ DISTNAME= bazel-${PORTVERSION}rc${FINALRC}-dist @@ -22,7 +22,7 @@ BUILD_DEPENDS= bash:shells/bash \ # In bazel, a release is always code-wise identical to the final release candidate. # Hence we can also download that one and so have a simple way to also test earlier release # candidates. -FINALRC= 3 +FINALRC= 5 USES= shebangfix zip:infozip python SHEBANG_REGEX= .*(sh|txt|_stub|stub_.*|bazel|get_workspace_status|protobuf_support|_so) @@ -46,7 +46,7 @@ STRIP= # The bazel binary is also a zip archive (extra .include .if ${ARCH} == "i386" -EXTRA_PATCHES= ${FILESDIR}/extra-i386_src_BUILD +EXTRA_PATCHES= ${FILESDIR}/extra-i386_src_BUILD ${FILESDIR}/extra-i386_tools_cpp_BUILD.static.freebsd .endif # Have the location of the system-wide rc file reside ${ETCDIR}. Modified: head/devel/bazel/distinfo ============================================================================== --- head/devel/bazel/distinfo Tue May 1 14:20:11 2018 (r468761) +++ head/devel/bazel/distinfo Tue May 1 14:26:46 2018 (r468762) @@ -1,3 +1,3 @@ -TIMESTAMP = 1523428666 -SHA256 (bazel-0.12.0rc3-dist.zip) = 49106c9989e297c4c7e906ab796f8006c202c941a90da30f82c5e0e338141af8 -SIZE (bazel-0.12.0rc3-dist.zip) = 84966489 +TIMESTAMP = 1525021158 +SHA256 (bazel-0.13.0rc5-dist.zip) = 92e86b25425bdec624e8ebb9e6b2cc3d814c2e400624c95fd69424792f6b3945 +SIZE (bazel-0.13.0rc5-dist.zip) = 90102112 Added: head/devel/bazel/files/extra-i386_tools_cpp_BUILD.static.freebsd ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/bazel/files/extra-i386_tools_cpp_BUILD.static.freebsd Tue May 1 14:26:46 2018 (r468762) @@ -0,0 +1,16 @@ +--- tools/cpp/BUILD.static.freebsd.orig 2018-04-09 13:54:29.958442000 +0000 ++++ tools/cpp/BUILD.static.freebsd 2018-04-09 13:54:48.383168000 +0000 +@@ -56,11 +56,11 @@ + toolchain( + name = "cc-toolchain-freebsd", + exec_compatible_with = [ +- "@bazel_tools//platforms:x86_64", ++ "@bazel_tools//platforms:x86_32", + "@bazel_tools//platforms:freebsd", + ], + target_compatible_with = [ +- "@bazel_tools//platforms:x86_64", ++ "@bazel_tools//platforms:x86_32", + "@bazel_tools//platforms:freebsd", + ], + toolchain = ":cc-compiler-freebsd", Added: head/devel/bazel/files/patch-third_party_ijar_mapped_file_unix.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/bazel/files/patch-third_party_ijar_mapped_file_unix.cc Tue May 1 14:26:46 2018 (r468762) @@ -0,0 +1,11 @@ +--- third_party/ijar/mapped_file_unix.cc.orig 2018-04-09 14:20:44 UTC ++++ third_party/ijar/mapped_file_unix.cc +@@ -110,7 +110,7 @@ + + // Ensure that any buffer overflow in JarStripper will result in + // SIGSEGV or SIGBUS by over-allocating beyond the end of the file. +- size_t mmap_length = std::min(estimated_size + sysconf(_SC_PAGESIZE), ++ size_t mmap_length = std::min(estimated_size + ((size_t)sysconf(_SC_PAGESIZE)), + std::numeric_limits::max()); + void* mapped = mmap(NULL, mmap_length, PROT_WRITE, MAP_SHARED, fd, 0); + if (mapped == MAP_FAILED) {