Date: Tue, 11 Sep 2012 16:01:19 GMT From: Pawel Worach <pawel.worach@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/171547: [patch] fix build of textproc/jade with clang Message-ID: <201209111601.q8BG1JBl053321@red.freebsd.org> Resent-Message-ID: <201209111610.q8BGA44w040861@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 171547 >Category: ports >Synopsis: [patch] fix build of textproc/jade with clang >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Sep 11 16:10:03 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Pawel Worach >Release: FreeBSD 10.0-CURRENT >Organization: >Environment: >Description: Attached is a patch to fix the textproc/jade build with clang. >How-To-Repeat: >Fix: Patch attached with submission follows: diff -urN -x distfiles ports.orig/textproc/jade/files/patch-TeXFOTBuilder.cxx ports/textproc/jade/files/patch-TeXFOTBuilder.cxx --- ports.orig/textproc/jade/files/patch-TeXFOTBuilder.cxx 1970-01-01 00:00:00.000000000 +0000 +++ ports/textproc/jade/files/patch-TeXFOTBuilder.cxx 2011-09-24 14:23:57.000000000 +0000 @@ -0,0 +1,20 @@ +--- 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 -urN -x distfiles ports.orig/textproc/jade/files/patch-TransformFOTBuilder.cxx ports/textproc/jade/files/patch-TransformFOTBuilder.cxx --- ports.orig/textproc/jade/files/patch-TransformFOTBuilder.cxx 1970-01-01 00:00:00.000000000 +0000 +++ ports/textproc/jade/files/patch-TransformFOTBuilder.cxx 2011-09-24 14:24:07.000000000 +0000 @@ -0,0 +1,54 @@ +--- 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_; + }; >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209111601.q8BG1JBl053321>