1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/textproc/opensp/files/patch-lib_Parser.h
Guido Falsi ee08fc60e5 - Fix opensp build with clang 6
- While here convert to USES=localbase

PR:		225307
Submitted by:	me
Approved by:	Maintainer timeout
2018-02-03 13:36:44 +00:00

30 lines
1.0 KiB
C++

--- lib/Parser.h.orig 2005-07-21 14:05:17 UTC
+++ lib/Parser.h
@@ -62,16 +62,16 @@ class Parser : private ParserState { (public)
Parser(const SgmlParser::Params &);
Event *nextEvent();
void parseAll(EventHandler &, const volatile sig_atomic_t *cancelPtr);
- ParserState::sdPointer;
- ParserState::instanceSyntaxPointer;
- ParserState::prologSyntaxPointer;
- ParserState::activateLinkType;
- ParserState::allLinkTypesActivated;
- ParserState::entityManager;
- ParserState::entityCatalog;
- ParserState::baseDtd;
- ParserState::options;
- ParserState::instantiateDtd;
+ using ParserState::sdPointer;
+ using ParserState::instanceSyntaxPointer;
+ using ParserState::prologSyntaxPointer;
+ using ParserState::activateLinkType;
+ using ParserState::allLinkTypesActivated;
+ using ParserState::entityManager;
+ using ParserState::entityCatalog;
+ using ParserState::baseDtd;
+ using ParserState::options;
+ using ParserState::instantiateDtd;
friend class PiAttspecParser;
private:
Parser(const Parser &); // undefined