Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 Aug 2015 01:17:09 +0000
From:      bugzilla-noreply@freebsd.org
To:        chromium@FreeBSD.org
Subject:   [Bug 202020] www/chromium fail to build with gcc
Message-ID:  <bug-202020-28929-sTdw5k8pBT@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-202020-28929@https.bugs.freebsd.org/bugzilla/>
References:  <bug-202020-28929@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202020

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

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

--- Comment #2 from Gary <freebsd-bugzilla@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-202020-28929-sTdw5k8pBT>