summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2003-06-02 11:06:36 +0000
committerAlastair Tse <liquidx@gentoo.org>2003-06-02 11:06:36 +0000
commit4e8e325eff55ca938fc4fa71efbd1751bdf27516 (patch)
tree9ef2b8aaa1d010f5c890d426e7682721793a3b32 /app-text/opensp
parentversion bump (diff)
downloadgentoo-2-4e8e325eff55ca938fc4fa71efbd1751bdf27516.tar.gz
gentoo-2-4e8e325eff55ca938fc4fa71efbd1751bdf27516.tar.bz2
gentoo-2-4e8e325eff55ca938fc4fa71efbd1751bdf27516.zip
added gcc 3.3 patch
Diffstat (limited to 'app-text/opensp')
-rw-r--r--app-text/opensp/ChangeLog6
-rw-r--r--app-text/opensp/Manifest5
-rw-r--r--app-text/opensp/files/opensp-1.5-gcc33.patch64
-rw-r--r--app-text/opensp/opensp-1.5-r1.ebuild9
4 files changed, 80 insertions, 4 deletions
diff --git a/app-text/opensp/ChangeLog b/app-text/opensp/ChangeLog
index 4d163bc4d3e5..befd7d38dd9e 100644
--- a/app-text/opensp/ChangeLog
+++ b/app-text/opensp/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-text/opensp
# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/opensp/ChangeLog,v 1.2 2003/05/07 20:38:49 liquidx Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/opensp/ChangeLog,v 1.3 2003/06/02 11:06:28 liquidx Exp $
+
+ 02 Jun 2003; Alastair Tse <liquidx@gentoo.org> opensp-1.5-r1.ebuild,
+ files/opensp-1.5-gcc33.patch:
+ added gcc3.3 patch. thanks to Andreas Wege <awege@cs.tu-berlin.de>. (#21631)
*opensp-1.5-r1 (07 May 2003)
diff --git a/app-text/opensp/Manifest b/app-text/opensp/Manifest
index 2b31d9b57aac..d1f4564386bf 100644
--- a/app-text/opensp/Manifest
+++ b/app-text/opensp/Manifest
@@ -1,5 +1,6 @@
MD5 dc42dfa2c104c4ae2af4856cd0ac2571 opensp-1.5.ebuild 1193
-MD5 a1db68108f9ff3f7ddfd33dbf5ae02b6 ChangeLog 513
-MD5 390b644770928df4af91496ce1aa2a77 opensp-1.5-r1.ebuild 1184
+MD5 86463a1158b59c3044ecfb08bf0e9750 ChangeLog 696
+MD5 22f10d6a459619e7089312ac0615baca opensp-1.5-r1.ebuild 1376
MD5 d13d9dd0ed8278bf6f63f6178ea795af files/digest-opensp-1.5 63
MD5 d13d9dd0ed8278bf6f63f6178ea795af files/digest-opensp-1.5-r1 63
+MD5 6a55f227523ae31a4f1ad4d883453c84 files/opensp-1.5-gcc33.patch 1879
diff --git a/app-text/opensp/files/opensp-1.5-gcc33.patch b/app-text/opensp/files/opensp-1.5-gcc33.patch
new file mode 100644
index 000000000000..ada468fe2458
--- /dev/null
+++ b/app-text/opensp/files/opensp-1.5-gcc33.patch
@@ -0,0 +1,64 @@
+--- OpenSP-1.5/include/Attribute.h.gcc33 2003-05-22 17:04:20.000000000 +0100
++++ OpenSP-1.5/include/Attribute.h 2003-05-22 17:04:48.000000000 +0100
+@@ -25,12 +25,32 @@
+ class Entity;
+ class Notation;
+ class DeclaredValue;
+-class AttributeValue;
+ class TokenizedAttributeValue;
+ 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 +400,6 @@
+ 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();
diff --git a/app-text/opensp/opensp-1.5-r1.ebuild b/app-text/opensp/opensp-1.5-r1.ebuild
index 20d9a62cba48..965b4499ebfc 100644
--- a/app-text/opensp/opensp-1.5-r1.ebuild
+++ b/app-text/opensp/opensp-1.5-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/opensp/opensp-1.5-r1.ebuild,v 1.1 2003/05/07 20:38:49 liquidx Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/opensp/opensp-1.5-r1.ebuild,v 1.2 2003/06/02 11:06:28 liquidx Exp $
MY_P=${P/opensp/OpenSP}
S=${WORKDIR}/${MY_P}
@@ -19,6 +19,13 @@ PDEPEND=">=app-text/openjade-1.3.2"
# has been SPLIT from openjade into its own package. Hence if you
# install this, you need to upgrade to a new openjade as well.
+src_unpack() {
+ unpack ${A}
+ # from gentoo bug #21631 and
+ # http://sourceforge.net/tracker/index.php?func=detail&aid=742214&group_id=2115&atid=302115
+ epatch ${FILESDIR}/${P}-gcc33.patch
+}
+
src_compile() {
local myconf