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

Collapse All | Expand All

(-)www/chromium/Makefile (-6 / +1 lines)
Lines 13-19 COMMENT= Mostly BSD-licensed web browser based on Link Here
13
LICENSE=	BSD3CLAUSE LGPL21 MPL
13
LICENSE=	BSD3CLAUSE LGPL21 MPL
14
LICENSE_COMB=	multi
14
LICENSE_COMB=	multi
15
15
16
CFLAGS+=	-fno-stack-protector
16
CFLAGS+=	-fno-stack-protector -isystem${LOCALBASE}/include
17
17
18
BUILD_DEPENDS=	${LOCALBASE}/bin/gperf:${PORTSDIR}/devel/gperf \
18
BUILD_DEPENDS=	${LOCALBASE}/bin/gperf:${PORTSDIR}/devel/gperf \
19
		bash:${PORTSDIR}/shells/bash \
19
		bash:${PORTSDIR}/shells/bash \
Lines 207-217 EXTRA_PATCHES+= ${FILESDIR}/extra-patch-clang Link Here
207
CONFIGURE_ENV+=	AR=/usr/bin/ar
207
CONFIGURE_ENV+=	AR=/usr/bin/ar
208
.endif
208
.endif
209
209
210
# fix for non-poudriere builds, but it confuses pkg-builder on i386
211
.if ${ARCH} == amd64
212
EXTRA_PATCHES+=	${FILESDIR}/extra-patch-manual-amd64
213
.endif
214
215
# according to portlint the below is passed via bsd.port.mk,
210
# according to portlint the below is passed via bsd.port.mk,
216
# but 'make -V CONFIGURE_ENV' does not show it:
211
# but 'make -V CONFIGURE_ENV' does not show it:
217
CONFIGURE_ENV+=	CFLAGS="${CFLAGS}" \
212
CONFIGURE_ENV+=	CFLAGS="${CFLAGS}" \
(-)www/chromium/files/extra-patch-manual-amd64 (-90 lines)
Lines 1-90 Link Here
1
--- ./gpu/command_buffer/common/gles2_cmd_format.h.orig	2014-08-20 21:02:37.000000000 +0200
2
+++ ./gpu/command_buffer/common/gles2_cmd_format.h	2014-08-25 23:47:01.000000000 +0200
3
@@ -39,8 +39,8 @@
4
 typedef double GLdouble;
5
 typedef double GLclampd;
6
 typedef void GLvoid;
7
-typedef khronos_intptr_t GLintptr;
8
-typedef khronos_ssize_t  GLsizeiptr;
9
+typedef ptrdiff_t GLintptr;
10
+typedef ptrdiff_t GLsizeiptr;
11
 
12
 namespace gpu {
13
 namespace gles2 {
14
--- ./gpu/skia_bindings/gl_bindings_skia_cmd_buffer.cc.orig	2014-08-24 12:26:40.000000000 +0200
15
+++ ./gpu/skia_bindings/gl_bindings_skia_cmd_buffer.cc	2014-08-24 12:33:01.000000000 +0200
16
@@ -31,8 +31,8 @@
17
   functions->fBindVertexArray = glBindVertexArrayOES;
18
   functions->fBlendColor = glBlendColor;
19
   functions->fBlendFunc = glBlendFunc;
20
-  functions->fBufferData = glBufferData;
21
-  functions->fBufferSubData = glBufferSubData;
22
+  functions->fBufferData = (GrGLBufferDataProc)glBufferData;
23
+  functions->fBufferSubData = (GrGLBufferSubDataProc)glBufferSubData;
24
   functions->fClear = glClear;
25
   functions->fClearColor = glClearColor;
26
   functions->fClearStencil = glClearStencil;
27
@@ -74,7 +74,7 @@
28
   functions->fInsertEventMarker = glInsertEventMarkerEXT;
29
   functions->fLineWidth = glLineWidth;
30
   functions->fLinkProgram = glLinkProgram;
31
-  functions->fMapBufferSubData = glMapBufferSubDataCHROMIUM;
32
+  functions->fMapBufferSubData = (GrGLMapBufferSubDataProc)glMapBufferSubDataCHROMIUM;
33
   functions->fMapTexSubImage2D = glMapTexSubImage2DCHROMIUM;
34
   functions->fPixelStorei = glPixelStorei;
35
   functions->fPopGroupMarker = glPopGroupMarkerEXT;
36
--- ./ppapi/c/ppb_opengles2.h.orig	2014-08-25 23:42:52.000000000 +0200
37
+++ ./ppapi/c/ppb_opengles2.h	2014-08-25 23:44:21.000000000 +0200
38
@@ -34,8 +34,8 @@
39
 typedef long long int GLintptr;
40
 typedef long long int GLsizeiptr;
41
 #else
42
-typedef long int GLintptr;
43
-typedef long int GLsizeiptr;
44
+typedef __ptrdiff_t GLintptr;
45
+typedef __ptrdiff_t GLsizeiptr;
46
 #endif  // _WIN64
47
 #endif  // __gl2_h_
48
 
49
--- ./third_party/khronos/GLES2/gl2.h.orig	2014-08-20 21:03:05.000000000 +0200
50
+++ ./third_party/khronos/GLES2/gl2.h	2014-08-25 23:48:36.000000000 +0200
51
@@ -38,6 +38,7 @@
52
 
53
 #include <GLES2/gl2chromium.h>
54
 #include <GLES2/gl2platform.h>
55
+#include <cstddef>
56
 
57
 /* Generated on date 20131202 */
58
 
59
@@ -67,8 +68,8 @@
60
 typedef unsigned int GLuint;
61
 typedef char GLchar;
62
 typedef khronos_float_t GLfloat;
63
-typedef khronos_ssize_t GLsizeiptr;
64
-typedef khronos_intptr_t GLintptr;
65
+typedef ptrdiff_t GLintptr;
66
+typedef ptrdiff_t GLsizeiptr;
67
 typedef unsigned int GLbitfield;
68
 typedef int GLint;
69
 typedef unsigned char GLboolean;
70
--- ./third_party/mesa/src/include/GLES2/gl2.h.orig	2014-08-20 21:03:54.000000000 +0200
71
+++ ./third_party/mesa/src/include/GLES2/gl2.h	2014-08-25 23:50:18.000000000 +0200
72
@@ -4,6 +4,7 @@
73
 /* $Revision: 10602 $ on $Date:: 2010-03-04 22:35:34 -0800 #$ */
74
 
75
 #include <GLES2/gl2platform.h>
76
+#include <cstddef>
77
 
78
 #ifdef __cplusplus
79
 extern "C" {
80
@@ -35,8 +36,8 @@
81
 typedef khronos_int32_t  GLfixed;
82
 
83
 /* GL types for handling large vertex buffer objects */
84
-typedef khronos_intptr_t GLintptr;
85
-typedef khronos_ssize_t  GLsizeiptr;
86
+typedef ptrdiff_t GLintptr;
87
+typedef ptrdiff_t GLsizeiptr;
88
 
89
 /* OpenGL ES core versions */
90
 #define GL_ES_VERSION_2_0                 1

Return to bug 193187