diff options
author | Scott Garman <scott.a.garman@intel.com> | 2011-01-26 11:16:42 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-02-01 23:59:36 +0000 |
commit | edca98225b0359eb29f3d3056bd2c59b3bab4475 (patch) | |
tree | ad1c0448067fdac26ae2c5f98e8e0cdeb43c6908 /meta/recipes-devtools/opensp/opensp/attributevalue.patch | |
parent | 60450eb353c17faac98e12837507430e968e9d02 (diff) | |
download | openembedded-core-contrib-edca98225b0359eb29f3d3056bd2c59b3bab4475.tar.gz |
opensp: new recipe v1.5
Recipe derived from OpenEmbedded. Removed old-style staging
and converted to BBCLASSEXTEND.
Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Diffstat (limited to 'meta/recipes-devtools/opensp/opensp/attributevalue.patch')
-rw-r--r-- | meta/recipes-devtools/opensp/opensp/attributevalue.patch | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/meta/recipes-devtools/opensp/opensp/attributevalue.patch b/meta/recipes-devtools/opensp/opensp/attributevalue.patch new file mode 100644 index 0000000000..4f3507e19b --- /dev/null +++ b/meta/recipes-devtools/opensp/opensp/attributevalue.patch @@ -0,0 +1,62 @@ +Patch obtained from OpenEmbedded. + +Signed-off-by: Scott Garman <scott.a.garman@intel.com> +--- OpenSP-1.5/include/Attribute.h~attributevalue 2000-03-09 13:30:56.000000000 -0500 ++++ OpenSP-1.5/include/Attribute.h 2004-01-20 14:11:36.000000000 -0500 +@@ -31,6 +31,28 @@ + 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 +402,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(); |