freebsd-ports/www/chromium/files/patch-content__plugin__plugin_main_linux.cc
Rene Ladan bf75679390 Update to 24.0.1312.52, which add support for MathML.
FreeBSD-specific improvements:
- working WiFi geolocation [1] (can be turned off in preferences)
- fix build with clang (use external libvpx)
- use SysV SHM model and where possible OS_BSD, which saves some patches
- no need to use ZygoteProcess switch

HTML5 audio is currently broken.

PR:		ports/174402 [1]
Submitted by:	J.R. Oldroyd <fbsd@opal.com> [1]
Security:	http://www.vuxml.org/freebsd/46bd747b-5b84-11e2-b06d-00262d5ed8ee.html
2013-01-11 01:14:52 +00:00

18 lines
506 B
C++

--- content/plugin/plugin_main_linux.cc.orig 2012-11-28 04:01:26.000000000 +0200
+++ content/plugin/plugin_main_linux.cc 2012-12-04 22:14:32.000000000 +0200
@@ -5,13 +5,13 @@
#include <signal.h>
#include <string.h>
#include <sys/types.h>
-#include <syscall.h>
+#include <sys/syscall.h>
#include <unistd.h>
#include "build/build_config.h"
// This whole file is only useful on 64-bit architectures.
-#if defined(ARCH_CPU_64_BITS)
+#if defined(ARCH_CPU_64_BITS) && !defined(OS_BSD)
namespace {