- C++ fixes for gcc3

- no regression tests available
This commit is contained in:
naddy 2002-10-16 01:33:58 +00:00
parent 8e69bbe93d
commit 8eb36e2381
4 changed files with 38 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.11 2002/07/28 05:22:23 brad Exp $
# $OpenBSD: Makefile,v 1.12 2002/10/16 01:33:58 naddy Exp $
COMMENT= "object-oriented SGML/XML parser toolkit and DSSSL engine"
@ -27,6 +27,7 @@ SGMLFILES= fot.dtd catalog dsssl.dtd style-sheet.dtd builtins.dsl \
demo.sgm demo.dsl
VMEM_WARNING= Yes
NO_REGRESS= Yes
post-install:
${INSTALL_DATA_DIR} ${DOCDIR}/sp

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-include_config_h,v 1.1 2002/10/16 01:33:58 naddy Exp $
--- include/config.h.orig Fri Jul 23 17:50:17 1999
+++ include/config.h Wed Oct 16 02:54:16 2002
@@ -26,7 +26,7 @@
#endif
#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 8)
#define SP_ANSI_LIB
-#define SP_NO_STD_NAMESPACE
+// #define SP_NO_STD_NAMESPACE
#undef SP_NEW_H_MISSING
#endif

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-nsgmls_RastEventHandler_h,v 1.1 2002/10/16 01:33:58 naddy Exp $
--- nsgmls/RastEventHandler.h.orig Sun May 2 14:50:44 1999
+++ nsgmls/RastEventHandler.h Wed Oct 16 03:06:13 2002
@@ -102,7 +102,7 @@ private:
class RastEventHandler : public ErrorCountEventHandler,
private RastSubdocState,
- private Messenger {
+ protected Messenger {
public:
RastEventHandler(SgmlParser *, Messenger *);
void data(DataEvent *);

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-spgrove_GroveBuilder_cxx,v 1.1 2002/10/16 01:33:58 naddy Exp $
--- spgrove/GroveBuilder.cxx.orig Wed Oct 16 03:00:26 2002
+++ spgrove/GroveBuilder.cxx Wed Oct 16 03:02:38 2002
@@ -640,7 +640,7 @@ DataNode::DataNode(const GroveImpl *grov
{
}
-class PiChunk : private CharsChunk {
+class PiChunk : protected CharsChunk {
friend class PiNode;
AccessResult setNodePtrFirst(NodePtr &ptr, const BaseNode *node) const;
};