From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Sep 11 16:10:04 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 67439106564A for ; Tue, 11 Sep 2012 16:10:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 402C98FC14 for ; Tue, 11 Sep 2012 16:10:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q8BGA4x0040868 for ; Tue, 11 Sep 2012 16:10:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q8BGA44w040861; Tue, 11 Sep 2012 16:10:04 GMT (envelope-from gnats) Resent-Date: Tue, 11 Sep 2012 16:10:04 GMT Resent-Message-Id: <201209111610.q8BGA44w040861@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Pawel Worach Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4C97D106566B for ; Tue, 11 Sep 2012 16:01:20 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 2D5AC8FC1A for ; Tue, 11 Sep 2012 16:01:20 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id q8BG1JgN053322 for ; Tue, 11 Sep 2012 16:01:19 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id q8BG1JBl053321; Tue, 11 Sep 2012 16:01:19 GMT (envelope-from nobody) Message-Id: <201209111601.q8BG1JBl053321@red.freebsd.org> Date: Tue, 11 Sep 2012 16:01:19 GMT From: Pawel Worach To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/171547: [patch] fix build of textproc/jade with clang X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Sep 2012 16:10:04 -0000 >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: