MantisBT - NetSurf
View Issue Details
0002468NetSurfFramebuffer-specificpublic2016-09-12 07:322019-07-19 09:33
ReporterAnthony J. Bentley 
Assigned ToVincent Sanders 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOpenBSDOS Version
Product Version3.7 
Target VersionFixed in Version3.9 
Fixed in CI build #4531
Reported in CI build #
URL of problem page
Summary0002468: Patch to build netsurf-fb on OpenBSD
DescriptionThe attached patch allows netsurf-fb to build on OpenBSD.

Issue #1: strndup is not detected properly, and combining _BSD_SOURCE/_DEFAULT_SOURCE/_XOPEN_SOURCE with _POSIX_C_SOURCE with an up-to-date _POSIX_C_SOURCE=200809L leads to an implicit strndup declaration resulting in a runtime crash.

Issue 0000002: POSIX doesn't specify a -v flag for cp, and OpenBSD doesn't implement it.
TagsNo tags attached.
Attached Filesdiff netsurf-fb.diff (1,378) 2016-09-12 07:32
https://bugs.netsurf-browser.org/mantis/file_download.php?file_id=443&type=bug
? patch-frontends_framebuffer_Makefile (1,357) 2017-02-07 08:28
https://bugs.netsurf-browser.org/mantis/file_download.php?file_id=482&type=bug

Notes
(0001471)
Vincent Sanders   
2016-12-31 12:44   
did i apply this (or equivalent) already for 3.6?
(0001515)
Anthony J. Bentley   
2017-02-07 08:29   
It hasn't been fixed for 3.6. I've attached the patch I use against 3.6.
(0001873)
Vincent Sanders   
2019-02-15 17:58   
Makefile updated appropriately for flags and changed to using install instead of cp
(0002023)
Vincent Sanders   
2019-07-19 09:33   
we believe this issue has been resolved in NetSurf 3.9

Issue History
2016-09-12 07:32Anthony J. BentleyNew Issue
2016-09-12 07:32Anthony J. BentleyFile Added: netsurf-fb.diff
2016-12-31 12:44Vincent SandersNote Added: 0001471
2016-12-31 12:44Vincent SandersStatusnew => feedback
2017-02-07 08:28Anthony J. BentleyFile Added: patch-frontends_framebuffer_Makefile
2017-02-07 08:29Anthony J. BentleyNote Added: 0001515
2017-02-07 08:29Anthony J. BentleyStatusfeedback => new
2017-04-23 10:32Vincent SandersAssigned To => Vincent Sanders
2017-04-23 10:32Vincent SandersStatusnew => assigned
2017-04-23 10:32Vincent SandersProduct Version => 3.7
2019-02-15 17:58Vincent SandersStatusassigned => resolved
2019-02-15 17:58Vincent SandersResolutionopen => fixed
2019-02-15 17:58Vincent SandersFixed in Version => 3.9
2019-02-15 17:58Vincent SandersFixed in CI build # => 4531
2019-02-15 17:58Vincent SandersNote Added: 0001873
2019-07-19 09:33Vincent SandersStatusresolved => closed
2019-07-19 09:33Vincent SandersNote Added: 0002023