ports/171548: [patch] fix build of textproc/openjade with clang
Pawel Worach
pawel.worach at gmail.com
Tue Sep 11 16:10:05 UTC 2012
>Number: 171548
>Category: ports
>Synopsis: [patch] fix build of textproc/openjade 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:04 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/openjade build with clang.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff -urN -x distfiles ports.orig/textproc/openjade/files/patch-TeXFOTBuilder.cxx ports/textproc/openjade/files/patch-TeXFOTBuilder.cxx
--- ports.orig/textproc/openjade/files/patch-TeXFOTBuilder.cxx 1970-01-01 00:00:00.000000000 +0000
+++ ports/textproc/openjade/files/patch-TeXFOTBuilder.cxx 2011-09-24 14:27:34.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/openjade/files/patch-TransformFOTBuilder.cxx ports/textproc/openjade/files/patch-TransformFOTBuilder.cxx
--- ports.orig/textproc/openjade/files/patch-TransformFOTBuilder.cxx 1970-01-01 00:00:00.000000000 +0000
+++ ports/textproc/openjade/files/patch-TransformFOTBuilder.cxx 2011-09-24 14:27:34.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:
More information about the freebsd-ports-bugs
mailing list