Closed
Bug 1248228
Opened 9 years ago
Closed 9 years ago
Bug 1246756 broke BSD builds
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
FIXED
mozilla47
Tracking | Status | |
---|---|---|
firefox47 | --- | fixed |
People
(Reporter: gaston, Assigned: lsalzman)
References
Details
Attachments
(1 file)
5.46 KB,
patch
|
jrmuizel
:
review+
|
Details | Diff | Splinter Review |
14:37.24 In file included from /home/obj/buildslave/mozilla-central/gfx/skia/Unified_cpp_gfx_skia16.cpp:101:
14:37.24 /home/dusk/home/buildslave-amd64/mozilla-central-amd64/build/gfx/skia/skia/src/ports/SkOSFile_stdio.cpp:149:16: error: expected unqualified-id
14:37.26 int fd = ::fileno(f);
14:37.26 ^
14:37.26 /usr/include/stdio.h:426:20: note: expanded from macro 'fileno'
14:37.26 #define fileno(p) (!__isthreaded ? __sfileno(p) : (fileno)(p))
14:37.26 ^
14:37.28 In file included from /home/obj/buildslave/mozilla-central/gfx/skia/Unified_cpp_gfx_skia16.cpp:101:
14:37.30 /home/dusk/home/buildslave-amd64/mozilla-central-amd64/build/gfx/skia/skia/src/ports/SkOSFile_stdio.cpp:149:16: error: extraneous ')' before ';'
14:37.30 /usr/include/stdio.h:426:62: note: expanded from macro 'fileno'
14:37.32 #define fileno(p) (!__isthreaded ? __sfileno(p) : (fileno)(p))
From http://buildbot.rhaalovely.net/builders/mozilla-central-amd64/builds/1637/steps/build/logs/stdio
Reporter | ||
Comment 1•9 years ago
|
||
Martin, jan, do you also see this ?
Reporter | ||
Comment 2•9 years ago
|
||
(I wont comment on the need of skia to reimplement/rewrap stdio functions.. sigh)
Skia itself builds fine on FreeBSD 10+ but the headers maybe not safe to use, see bug 1248228.
OpenBSD (and DragonFly) issue in comment 0 is mainly lack of |#ifndef __cplusplus| guards around macros. Other BSD descendants have them.
https://github.com/android/platform_bionic/commit/f2cea021ab2c6d7d7feeb40cca098aa132605876
https://github.com/bitrig/bitrig/commit/1abd6adb31462edf8f2875e3d03ba8cd2af713df
https://github.com/jsonn/src/commit/d782c95120fdb70f3b8d74e5a183bfb0f98fc770
https://github.com/freebsd/freebsd/commit/dd1ce6fd6c2c0f0c70f3c78a4959185bb93eb1c3
https://github.com/unofficial-opensource-apple/Libc/tree/569b0a5190c89f8729c22e09fb15f6252feadcfc/include/stdio.h
(In reply to Jan Beich from comment #3)
> Skia itself builds fine on FreeBSD 10+ but the headers maybe not safe to
> use, see bug 1248228.
Bug 1248416 of course.
Assignee | ||
Comment 5•9 years ago
|
||
Upstream bug report: https://bugs.chromium.org/p/skia/issues/detail?id=4953
Assignee | ||
Comment 6•9 years ago
|
||
This is just a backport of an already upstreamed fix: https://skia.googlesource.com/skia.git/+/944c2d901c5118abae2262f38414ccb939111355%5E!/
Updated•9 years ago
|
Attachment #8719812 -
Flags: review?(jmuizelaar) → review+
Assignee | ||
Comment 7•9 years ago
|
||
Keywords: checkin-needed
Keywords: checkin-needed
Reporter | ||
Comment 9•9 years ago
|
||
Great, thanks lee ! m-i builds fine here now without any patches.
Comment 10•9 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox47:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
You need to log in
before you can comment on or make changes to this bug.
Description
•