MantisBT - NetSurf
View Issue Details
0002718NetSurfCore-specificpublic2019-11-12 21:462020-05-27 09:14
ReporterNiclas Rosenvik 
Assigned ToVincent Sanders 
PrioritynormalSeveritytrivialReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSNetBSDOS Version7 and 8
Product Version 
Target VersionFixed in Version3.10 
Fixed in CI build #4899
Reported in CI build #
URL of problem page
Summary0002718: NetBSD has strcasestr and NetBSD 8 or later has strchrnul
DescriptionNetBSD has strcasestr and strchrnul but netsurf does not see this.
Steps To ReproduceBuild on NetBSD and watch the messages about redundant declaration of strcasestr and strchrnul
Additional InformationAttached it a patch that fixes this. It is based on the patch at
http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/www/netsurf/patches/patch-netsurf_utils_config.h?only_with_tag=MAIN
made by me and Leonardo Taccari (leot@) .
TagsNo tags attached.
Attached Files? config.h.gitdiff (1,132) 2019-11-12 21:46
https://bugs.netsurf-browser.org/mantis/file_download.php?file_id=633&type=bug

Notes
(0002125)
Vincent Sanders   
2019-11-13 19:44   
applied a slightly altered version of the patch so it works when not on net bsd

http://source.netsurf-browser.org/netsurf.git/commit/?id=2d57934be8a46dadd5b149e66acc0477bea8b975

(0002233)
Vincent Sanders   
2020-05-27 09:14   
Thankyou for reporting this issue.
We believe this is fixed in the 3.10 release.
If this is not the case please feel free to reopen the issue with additional details.

Issue History
2019-11-12 21:46Niclas RosenvikNew Issue
2019-11-12 21:46Niclas RosenvikFile Added: config.h.gitdiff
2019-11-13 19:44Vincent SandersAssigned To => Vincent Sanders
2019-11-13 19:44Vincent SandersStatusnew => resolved
2019-11-13 19:44Vincent SandersResolutionopen => fixed
2019-11-13 19:44Vincent SandersFixed in Version => 3.10
2019-11-13 19:44Vincent SandersAdditional Information Updatedbug_revision_view_page.php?rev_id=2152#r2152
2019-11-13 19:44Vincent SandersFixed in CI build # => 4899
2019-11-13 19:44Vincent SandersNote Added: 0002125
2020-05-27 09:14Vincent SandersStatusresolved => closed
2020-05-27 09:14Vincent SandersNote Added: 0002233