Date: Tue, 1 May 2018 14:26:47 +0000 (UTC) From: "Vanilla I. Shu" <vanilla@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r468762 - in head/devel/bazel: . files Message-ID: <201805011426.w41EQlKW050066@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.pre.mk> .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<size_t>::max()); + void* mapped = mmap(NULL, mmap_length, PROT_WRITE, MAP_SHARED, fd, 0); + if (mapped == MAP_FAILED) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805011426.w41EQlKW050066>