devel/bazel: update to 0.15.0

PR:		229482
Submitted by:	Klaus Aehlig <aehlig@linta.de> (maintainer)
This commit is contained in:
Steve Wills 2018-07-04 02:36:29 +00:00
parent 4026216c3a
commit 0d5fe192af
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=473862
3 changed files with 5 additions and 16 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= bazel
DISTVERSION= 0.14.0
DISTVERSION= 0.15.0
CATEGORIES= devel java
MASTER_SITES= https://storage.googleapis.com/bazel/${PORTVERSION}/rc${FINALRC}/
DISTNAME= bazel-${PORTVERSION}rc${FINALRC}-dist
@ -24,7 +24,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= 5
FINALRC= 3
USES= shebangfix zip:infozip python
SHEBANG_REGEX= .*(sh|txt|_stub|stub_.*|bazel|get_workspace_status|protobuf_support|_so)

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1527632804
SHA256 (bazel-0.14.0rc5-dist.zip) = cb646bac37a81790fb394a84b03a1865c5fbb35d403273f5fee1f0564fa3a585
SIZE (bazel-0.14.0rc5-dist.zip) = 89412764
TIMESTAMP = 1530596096
SHA256 (bazel-0.15.0rc3-dist.zip) = abb1023ce35ca4d06de1b40f6ef32413955182afc44ddf5745c732db43a20b19
SIZE (bazel-0.15.0rc3-dist.zip) = 89671544

View File

@ -1,11 +0,0 @@
--- 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) {