diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 2012-10-06 05:08:03 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 2012-10-06 05:08:03 +0000 |
commit | d83d7a8c00c1b4d51f83a1dd081a121009991313 (patch) | |
tree | 6b91502f673cb3bfc6dc829dddd7e188b4c81a9f /textproc/jade | |
parent | 5196a97a855648e5738b89392103f9f5d56e5e32 (diff) | |
download | ports-d83d7a8c00c1b4d51f83a1dd081a121009991313.tar.gz ports-d83d7a8c00c1b4d51f83a1dd081a121009991313.zip |
- Fix build with clang.
PR: ports/171547
Submitted by: Pawel Worach <pawel.worach@gmail.com>
Notes
Notes:
svn path=/head/; revision=305337
Diffstat (limited to 'textproc/jade')
-rw-r--r-- | textproc/jade/files/patch-TeXFOTBuilder.cxx | 22 | ||||
-rw-r--r-- | textproc/jade/files/patch-TransformFOTBuilder.cxx | 56 |
2 files changed, 78 insertions, 0 deletions
diff --git a/textproc/jade/files/patch-TeXFOTBuilder.cxx b/textproc/jade/files/patch-TeXFOTBuilder.cxx new file mode 100644 index 000000000000..9f38afd00096 --- /dev/null +++ b/textproc/jade/files/patch-TeXFOTBuilder.cxx @@ -0,0 +1,22 @@ +$FreeBSD$ + +--- jade/TeXFOTBuilder.cxx.orig 2011-09-24 14:17:02.000000000 +0000 ++++ jade/TeXFOTBuilder.cxx 2011-09-24 14:19:42.000000000 +0000 +@@ -83,6 +83,8 @@ + value.convertString(nic_.placement); + } + ExtensionFlowObj *copy() const { return new PageFloatFlowObj(*this); } ++ public: ++ PageFloatFlowObj() {} + private: + PageFloatNIC nic_; + StringC name_; +@@ -96,6 +98,8 @@ + fotb.endPageFootnote(); + } + ExtensionFlowObj *copy() const { return new PageFootnoteFlowObj(*this); } ++ public: ++ PageFootnoteFlowObj() {} + private: + }; + ////////////////////////////////////////////////////////////////////// diff --git a/textproc/jade/files/patch-TransformFOTBuilder.cxx b/textproc/jade/files/patch-TransformFOTBuilder.cxx new file mode 100644 index 000000000000..ce357bdcf6c2 --- /dev/null +++ b/textproc/jade/files/patch-TransformFOTBuilder.cxx @@ -0,0 +1,56 @@ +$FreeBSD$ + +--- jade/TransformFOTBuilder.cxx.orig 2011-09-24 14:20:28.000000000 +0000 ++++ jade/TransformFOTBuilder.cxx 2011-09-24 14:22:32.000000000 +0000 +@@ -41,6 +41,7 @@ + }; + class EntityRefFlowObj : public TransformExtensionFlowObj { + public: ++ EntityRefFlowObj() {} + void atomic(TransformFOTBuilder &fotb, const NodePtr &) const { + fotb.entityRef(name_); + } +@@ -56,6 +57,7 @@ + }; + class ProcessingInstructionFlowObj : public TransformExtensionFlowObj { + public: ++ ProcessingInstructionFlowObj() {} + void atomic(TransformFOTBuilder &fotb, const NodePtr &) const { + fotb.processingInstruction(data_); + } +@@ -98,6 +100,8 @@ + } + } + ExtensionFlowObj *copy() const { return new EmptyElementFlowObj(*this); } ++ public: ++ EmptyElementFlowObj() {} + private: + ElementNIC nic_; + }; +@@ -133,6 +137,8 @@ + } + } + ExtensionFlowObj *copy() const { return new ElementFlowObj(*this); } ++ public: ++ ElementFlowObj() {} + private: + ElementNIC nic_; + }; +@@ -150,6 +156,8 @@ + value.convertString(systemId_); + } + ExtensionFlowObj *copy() const { return new EntityFlowObj(*this); } ++ public: ++ EntityFlowObj() {}; + private: + StringC systemId_; + }; +@@ -174,6 +182,8 @@ + } + } + ExtensionFlowObj *copy() const { return new DocumentTypeFlowObj(*this); } ++ public: ++ DocumentTypeFlowObj() {} + private: + DocumentTypeNIC nic_; + }; |