Summary: | There is no HW_AVAILCPU on FreeBSD, NetBSD, and OpenBSD | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Ting-Wei Lan <lantw44> | ||||||
Component: | Web Template Framework | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | benjamin, berto, cmarcelo, commit-queue, kwm, landry, zan | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | PC | ||||||||
OS: | Other | ||||||||
Attachments: |
|
Description
Ting-Wei Lan
2014-05-03 23:09:58 PDT
Created attachment 230810 [details] Patch It looks like it should be done using sysconf() as well, like we do in Linux: http://www.freebsd.org/cgi/man.cgi?query=sysconf&sektion=3&n=1 http://www.openbsd.org/cgi-bin/man.cgi?query=sysconf&sektion=3&format=html http://netbsd.gw.com/cgi-bin/man-cgi?sysconf++NetBSD-current Can someone try this patch? (In reply to comment #1) > Created an attachment (id=230810) [details] > Patch > > It looks like it should be done using sysconf() as well, like we do in Linux: > > http://www.freebsd.org/cgi/man.cgi?query=sysconf&sektion=3&n=1 > http://www.openbsd.org/cgi-bin/man.cgi?query=sysconf&sektion=3&format=html > http://netbsd.gw.com/cgi-bin/man-cgi?sysconf++NetBSD-current > > Can someone try this patch? #include <unistd.h> is needed to use this patch on FreeBSD. Created attachment 230819 [details] Patch > #include <unistd.h> is needed to use this patch on FreeBSD. Right, here's the updated version. Comment on attachment 230819 [details]
Patch
r=me
This patch fixes the build problem on FreeBSD. Committed r168353: <http://trac.webkit.org/changeset/168353> |