diff options
author | wiz <wiz@pkgsrc.org> | 2003-09-23 08:10:14 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2003-09-23 08:10:14 +0000 |
commit | 46127051d0d6b399325ab38e17e674cb2494b593 (patch) | |
tree | 2ea9d39dd466a6117a72e98374222bc8f8f58f4f /textproc | |
parent | 5fc81990363f1f3937aa96c3e393ee9e3ad9c6e1 (diff) | |
download | pkgsrc-46127051d0d6b399325ab38e17e674cb2494b593.tar.gz |
Add patch to make this build with gcc3. Patch from
Submitter: Jim Gifford
Origin: Debian OpenSP Maintainer
forwarded by Peter Seebs via PR 22901.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/opensp/distinfo | 3 | ||||
-rw-r--r-- | textproc/opensp/patches/patch-ab | 60 |
2 files changed, 62 insertions, 1 deletions
diff --git a/textproc/opensp/distinfo b/textproc/opensp/distinfo index fcc496bb39a..120954c138f 100644 --- a/textproc/opensp/distinfo +++ b/textproc/opensp/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.3 2003/02/15 00:26:19 salo Exp $ +$NetBSD: distinfo,v 1.4 2003/09/23 08:10:14 wiz Exp $ SHA1 (OpenSP-1.5.tar.gz) = f971bcef7157941396ab385d40357de72534454e Size (OpenSP-1.5.tar.gz) = 1288057 bytes SHA1 (patch-aa) = 5160bcd6f9150385ad927d33a2c567f78ca623cb +SHA1 (patch-ab) = 500bdc361da4a913fd3e62b255919442f2856305 diff --git a/textproc/opensp/patches/patch-ab b/textproc/opensp/patches/patch-ab new file mode 100644 index 00000000000..b2cc6013c32 --- /dev/null +++ b/textproc/opensp/patches/patch-ab @@ -0,0 +1,60 @@ +$NetBSD: patch-ab,v 1.3 2003/09/23 08:10:14 wiz Exp $ + +--- include/Attribute.h.orig 2000-03-09 19:30:56.000000000 +0100 ++++ include/Attribute.h +@@ -31,6 +31,27 @@ class AttributeSemantics; + class AttributeContext; + class Syntax; + ++class SP_API AttributeValue : public Resource { ++public: ++ enum Type { ++ implied, ++ cdata, ++ tokenized ++ }; ++ AttributeValue(); ++ virtual ~AttributeValue(); ++ virtual AttributeSemantics *makeSemantics(const DeclaredValue *, ++ AttributeContext &, ++ const StringC &, ++ unsigned &, ++ unsigned &) const; ++ virtual Type info(const Text *&, const StringC *&) const = 0; ++ virtual const Text *text() const; ++ virtual Boolean recoverUnquoted(const StringC &, const Location &, ++ AttributeContext &, const StringC &); ++ static Boolean handleAsUnterminated(const Text &, AttributeContext &); ++}; ++ + class SP_API AttributeDefinitionDesc { + public: + AttributeDefinitionDesc() { } +@@ -380,27 +401,6 @@ private: + ConstPtr<Notation> notation_; + }; + +-class SP_API AttributeValue : public Resource { +-public: +- enum Type { +- implied, +- cdata, +- tokenized +- }; +- AttributeValue(); +- virtual ~AttributeValue(); +- virtual AttributeSemantics *makeSemantics(const DeclaredValue *, +- AttributeContext &, +- const StringC &, +- unsigned &, +- unsigned &) const; +- virtual Type info(const Text *&, const StringC *&) const = 0; +- virtual const Text *text() const; +- virtual Boolean recoverUnquoted(const StringC &, const Location &, +- AttributeContext &, const StringC &); +- static Boolean handleAsUnterminated(const Text &, AttributeContext &); +-}; +- + class SP_API ImpliedAttributeValue : public AttributeValue { + public: + ImpliedAttributeValue(); |