https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192685

--- Comment #13 from Carlos Jacobo Puga Medina <c...@fbsd.es> ---
Created attachment 146210
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=146210&action=edit
fix conflicting typedef in GL/glext.h and GLES2/gl2.h

> In file included from ../../gpu/command_buffer/service/buffer_manager.cc:10:
> In file included from ../../gpu/command_buffer/service/context_state.h:14:
> In file included from ../../gpu/command_buffer/service/query_manager.h:16:
> In file included from ../../gpu/command_buffer/service/feature_info.h:14:
> In file included from 
> ../../gpu/command_buffer/service/gles2_cmd_validation.h:13:
> ../../gpu/command_buffer/common/gles2_cmd_format.h:41:26: error: typedef 
> redefinition with different types ('khronos_intptr_t' (aka 'long') vs 
> 'ptrdiff_t' (aka 'int'))
> typedef khronos_intptr_t GLintptr;
>                          ^
> /usr/local/include/GL/glext.h:6152:19: note: previous definition is here
> typedef ptrdiff_t GLintptr;
>                   ^
> In file included from ../../gpu/command_buffer/service/buffer_manager.cc:10:
> In file included from ../../gpu/command_buffer/service/context_state.h:14:
> In file included from ../../gpu/command_buffer/service/query_manager.h:16:
> In file included from ../../gpu/command_buffer/service/feature_info.h:14:
> In file included from 
> ../../gpu/command_buffer/service/gles2_cmd_validation.h:13:
> ../../gpu/command_buffer/common/gles2_cmd_format.h:42:26: error: typedef 
> redefinition with different types ('khronos_ssize_t' (aka 'long') vs 
> 'ptrdiff_t' (aka 'int'))
> typedef khronos_ssize_t  GLsizeiptr;
>                          ^
> /usr/local/include/GL/glext.h:6153:19: note: previous definition is here
> typedef ptrdiff_t GLsizeiptr;
>                   ^
> 2 errors generated.
> [5619/13757] CXX 
> obj/gpu/command_buffer/service/command_buffer_service.command_buffer_service.o
> ninja: build stopped: subcommand failed.
> ===> Compilation failed unexpectedly.
> Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
> the maintainer.
> *** Error code 1
> 
> Stop.
> make[1]: stopped in /usr/ports/www/chromium
> *** Error code 1
> 
> Stop.
> make: stopped in /usr/ports/www/chromium

I attached some patches to fix those errors in chromium 37.0.2062.94 (beta), so
this will work with the previous release as well.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-chromium@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-chromium
To unsubscribe, send any mail to "freebsd-chromium-unsubscr...@freebsd.org"

Reply via email to