summaryrefslogtreecommitdiff
path: root/textproc/opensp
diff options
context:
space:
mode:
authorwiz <wiz>2003-09-23 08:10:14 +0000
committerwiz <wiz>2003-09-23 08:10:14 +0000
commita7e59e3f30f03f64fd34151d6d72572f655dc2c9 (patch)
tree2ea9d39dd466a6117a72e98374222bc8f8f58f4f /textproc/opensp
parentcd88f6fd6a2d674b9c1adea602bf9bedebb6b859 (diff)
downloadpkgsrc-a7e59e3f30f03f64fd34151d6d72572f655dc2c9.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/opensp')
-rw-r--r--textproc/opensp/distinfo3
-rw-r--r--textproc/opensp/patches/patch-ab60
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();