summaryrefslogtreecommitdiff
path: root/textproc/openjade/patches/patch-jade_TransformFOTBuilder.cxx
blob: 2b13e2cc5f1c890b839980bfa90e307fe7ba8067 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
$NetBSD: patch-jade_TransformFOTBuilder.cxx,v 1.1 2011/04/22 07:27:45 adam Exp $

Fix building with Clang.

--- jade/TransformFOTBuilder.cxx.orig	2011-04-22 07:04:25.000000000 +0000
+++ jade/TransformFOTBuilder.cxx
@@ -248,12 +248,12 @@ FOTBuilder *makeTransformFOTBuilder(CmdL
 				    const Vector<StringC> &options,
 				    const FOTBuilder::Extension *&ext)
 {
-  static const TransformFOTBuilder::ProcessingInstructionFlowObj pi;
-  static const TransformFOTBuilder::ElementFlowObj element;
-  static const TransformFOTBuilder::EmptyElementFlowObj emptyElement;
-  static const TransformFOTBuilder::EntityFlowObj entity;
-  static const TransformFOTBuilder::EntityRefFlowObj entityRef;
-  static const TransformFOTBuilder::DocumentTypeFlowObj documentType;
+  static TransformFOTBuilder::ProcessingInstructionFlowObj pi;
+  static TransformFOTBuilder::ElementFlowObj element;
+  static TransformFOTBuilder::EmptyElementFlowObj emptyElement;
+  static TransformFOTBuilder::EntityFlowObj entity;
+  static TransformFOTBuilder::EntityRefFlowObj entityRef;
+  static TransformFOTBuilder::DocumentTypeFlowObj documentType;
   static const FOTBuilder::Extension extensions[] = {
     {
       "UNREGISTERED::James Clark//Flow Object Class::processing-instruction",