void-packages/srcpkgs/openjade/patches/patch-jade_TeXFOTBuilder.cxx

18 lines
748 B
C++

$NetBSD: patch-jade_TeXFOTBuilder.cxx,v 1.1 2011/04/22 07:27:45 adam Exp $
Fix building with Clang.
--- jade/TeXFOTBuilder.cxx.orig 2011-04-22 07:00:24.000000000 +0000
+++ jade/TeXFOTBuilder.cxx
@@ -1873,8 +1873,8 @@ static OutputByteStream &operator<<(Outp
FOTBuilder *makeTeXFOTBuilder(OutputByteStream *os, Messenger *mgr,
const FOTBuilder::Extension *&ext)
{
- static const TeXFOTBuilder::PageFloatFlowObj pageFloat;
- static const TeXFOTBuilder::PageFootnoteFlowObj pageFootnote;
+ static TeXFOTBuilder::PageFloatFlowObj pageFloat;
+ static TeXFOTBuilder::PageFootnoteFlowObj pageFootnote;
static const FOTBuilder::Extension extensions[] = {
{
"UNREGISTERED::Sebastian Rahtz//Flow Object Class::page-float",