diff options
author | Rene Ladan <rene@FreeBSD.org> | 2013-11-19 07:34:49 +0800 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2013-11-19 07:34:49 +0800 |
commit | 04a1ea06f1e219683dbe8c300b042dd256215479 (patch) | |
tree | 357498d5b46f5b86b63181137adfdd789fff02db /www/chromium | |
parent | 410b568baf5bf52cc1a789a4ab01aebb69907783 (diff) | |
download | freebsd-ports-gnome-04a1ea06f1e219683dbe8c300b042dd256215479.tar.gz freebsd-ports-gnome-04a1ea06f1e219683dbe8c300b042dd256215479.tar.zst freebsd-ports-gnome-04a1ea06f1e219683dbe8c300b042dd256215479.zip |
Fix build when GCC is selected.
Submitted by: private mail
Discussed with: cognet / gahr
Diffstat (limited to 'www/chromium')
-rw-r--r-- | www/chromium/files/extra-patch-gcc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/www/chromium/files/extra-patch-gcc b/www/chromium/files/extra-patch-gcc index af7a34a48349..421c0f83e9ac 100644 --- a/www/chromium/files/extra-patch-gcc +++ b/www/chromium/files/extra-patch-gcc @@ -38,3 +38,15 @@ #include "content/common/content_export.h" +--- third_party/ffmpeg/libavutil/cpu.c.orig 2013-11-16 01:26:14.000000000 +0100 ++++ third_party/ffmpeg/libavutil/cpu.c 2013-11-19 00:24:53.000000000 +0100 +@@ -21,6 +21,9 @@ + #include "opt.h" + #include "common.h" + ++/* TODO(rene) work around a compile error with GCC 4.6.4 on FreeBSD */ ++#define __BSD_VISIBLE 1 ++ + #if HAVE_SCHED_GETAFFINITY + #ifndef _GNU_SOURCE + # define _GNU_SOURCE |