void-packages/srcpkgs/openjade/patches/patch-jade_TransformFOTBuil...

26 lines
1.2 KiB
C++
Raw Normal View History

$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",