[Bug 202020] www/chromium fail to build with gcc

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Aug 4 01:17:11 UTC 2015


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

Gary <freebsd-bugzilla at in-addr.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |freebsd-bugzilla at in-addr.co
                   |                            |m

--- Comment #2 from Gary <freebsd-bugzilla at in-addr.com> ---
Created attachment 159512
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=159512&action=edit
should fix build on freebsd 9

With GCC 4.x, the problem is FreeBSD 9 sys/param.h file includes sys/types.h. 
In third_party/ffmpeg/libavutil/autorename_libavutil_cpu.c, there is a 

#define __BSD_VISIBLE 1

that is too late as sys/types.h has already been included.

The attached patch to the port should fix it

note: compile tested only, haven't tried running the resulting binary yet

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-chromium mailing list