pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/opensp Add patch to make this build with gcc3...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c912338a3c9d
branches:  trunk
changeset: 461879:c912338a3c9d
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Sep 23 08:10:14 2003 +0000

description:
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:

 textproc/opensp/distinfo         |   3 +-
 textproc/opensp/patches/patch-ab |  60 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 62 insertions(+), 1 deletions(-)

diffs (75 lines):

diff -r 675a0fab0f08 -r c912338a3c9d textproc/opensp/distinfo
--- a/textproc/opensp/distinfo  Tue Sep 23 07:49:37 2003 +0000
+++ b/textproc/opensp/distinfo  Tue Sep 23 08:10:14 2003 +0000
@@ -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 -r 675a0fab0f08 -r c912338a3c9d textproc/opensp/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/opensp/patches/patch-ab  Tue Sep 23 08:10:14 2003 +0000
@@ -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();



Home | Main Index | Thread Index | Old Index