freebsd-ports/www/chromium/files/patch-base__sys_info_posix.cc
Rene Ladan f3285ad410 Update to 10.0.648.204, which is the latest release from the Stable series.
There are still some problems with it on 8.X (and presumably 7.X), see
pkg-message for a possible workaround.

This would not have been possible without:
- portmgr@ for drawing me into this in October last year
- beat@ for providing a development repository
- dhw@ for creating the freebsd-chromium list
- all the patch contributors and testers on the freebsd-chromium list
2011-04-01 16:45:01 +00:00

11 lines
438 B
C++

--- base/sys_info_posix.cc.orig 2011-02-07 00:36:57.000000000 +0100
+++ base/sys_info_posix.cc 2011-02-07 00:21:53.000000000 +0100
@@ -23,7 +23,7 @@
namespace base {
-#if !defined(OS_OPENBSD)
+#if !defined(OS_OPENBSD) && !defined(OS_FREEBSD)
int SysInfo::NumberOfProcessors() {
// It seems that sysconf returns the number of "logical" processors on both
// Mac and Linux. So we get the number of "online logical" processors.