View | Details | Raw Unified | Return to bug 229482 | Differences between
and this patch

Collapse All | Expand All

(-)bazel/Makefile (-2 / +2 lines)
Lines 2-8 Link Here
2
# $FreeBSD: head/devel/bazel/Makefile 473009 2018-06-21 23:52:37Z linimon $
2
# $FreeBSD: head/devel/bazel/Makefile 473009 2018-06-21 23:52:37Z linimon $
3
3
4
PORTNAME=		bazel
4
PORTNAME=		bazel
5
DISTVERSION=		0.14.0
5
DISTVERSION=		0.15.0
6
CATEGORIES=		devel java
6
CATEGORIES=		devel java
7
MASTER_SITES=		https://storage.googleapis.com/bazel/${PORTVERSION}/rc${FINALRC}/
7
MASTER_SITES=		https://storage.googleapis.com/bazel/${PORTVERSION}/rc${FINALRC}/
8
DISTNAME=		bazel-${PORTVERSION}rc${FINALRC}-dist
8
DISTNAME=		bazel-${PORTVERSION}rc${FINALRC}-dist
Lines 24-30 Link Here
24
# In bazel, a release is always code-wise identical to the final release candidate.
24
# In bazel, a release is always code-wise identical to the final release candidate.
25
# Hence we can also download that one and so have a simple way to also test earlier release
25
# Hence we can also download that one and so have a simple way to also test earlier release
26
# candidates.
26
# candidates.
27
FINALRC=		5
27
FINALRC=		3
28
28
29
USES=			shebangfix zip:infozip python
29
USES=			shebangfix zip:infozip python
30
SHEBANG_REGEX=		.*(sh|txt|_stub|stub_.*|bazel|get_workspace_status|protobuf_support|_so)
30
SHEBANG_REGEX=		.*(sh|txt|_stub|stub_.*|bazel|get_workspace_status|protobuf_support|_so)
(-)bazel/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1527632804
1
TIMESTAMP = 1530596096
2
SHA256 (bazel-0.14.0rc5-dist.zip) = cb646bac37a81790fb394a84b03a1865c5fbb35d403273f5fee1f0564fa3a585
2
SHA256 (bazel-0.15.0rc3-dist.zip) = abb1023ce35ca4d06de1b40f6ef32413955182afc44ddf5745c732db43a20b19
3
SIZE (bazel-0.14.0rc5-dist.zip) = 89412764
3
SIZE (bazel-0.15.0rc3-dist.zip) = 89671544
(-)bazel/files/patch-third_party_ijar_mapped_file_unix.cc (-11 lines)
Lines 1-11 Link Here
1
--- third_party/ijar/mapped_file_unix.cc.orig	2018-04-09 14:20:44 UTC
2
+++ third_party/ijar/mapped_file_unix.cc
3
@@ -110,7 +110,7 @@
4
 
5
   // Ensure that any buffer overflow in JarStripper will result in
6
   // SIGSEGV or SIGBUS by over-allocating beyond the end of the file.
7
-  size_t mmap_length = std::min(estimated_size + sysconf(_SC_PAGESIZE),
8
+  size_t mmap_length = std::min(estimated_size + ((size_t)sysconf(_SC_PAGESIZE)),
9
                                 std::numeric_limits<size_t>::max());
10
   void* mapped = mmap(NULL, mmap_length, PROT_WRITE, MAP_SHARED, fd, 0);
11
   if (mapped == MAP_FAILED) {

Return to bug 229482