CVS: cvs.openbsd.org: ports

Theo Buehler <[email protected]>
Newsgroups gmane.os.openbsd.ports.cvs
Message-ID <[email protected]>
CVSROOT:	/cvs
Module name:	ports
Changes by:	[email protected]	2026/08/20 06:00:37

Modified files:
	www/seamonkey  : Makefile 
Added files:
	www/seamonkey/patches: 
	                       patch-extensions_spellcheck_hunspell_glue_hunspell_fopen_hooks_h 

Log message:
seamonkey: unbreak build with libcxx22, discussed with landry

hunspell_fopen_hooks.h contains a preprocessor hack to replace the standard
fopen() with one supporting readahead. This used to work because libcxx's
fstream header used a naked fopen() call. libcxx22 changed to std::fopen(),
so the build breaks because there is no std::hunspell_fopen_readahead():

/usr/include/c++/v1/fstream:716:20: error: no member named 'hunspell_fopen_readahead' in namespace 'std'; did you mean simply 'hunspell_fopen_readahead'?
716 |   return __do_open(std::fopen(__s, __mdstr), __mode);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.