2fd8d4df94
```sh git grep -l '^patch_args=-Np0' "srcpkgs/$1*/template" | while read template; do for p in ${template%/template}/patches/*; do sed -i ' \,^[+-][+-][+-] /dev/null,b /^[*-]\+ [0-9]\+\(,[0-9]\+\)\? [*-]\+$/b s,^[*][*][*] ,&a/, /^--- /{ s,\(^--- \)\(./\)*,\1a/, s,[.-][Oo][Rr][Ii][Gg]\([ /]\),\1, s/[.-][Oo][Rr][Ii][Gg]$// s/[.]patched[.]\([^.]\)/.\1/ h } /^+++ -/{ g s/^--- a/+++ b/ b } s,\(^+++ \)\(./\)*,\1b/, ' "$p" done sed -i '/^patch_args=/d' $template done ```
17 lines
747 B
Diff
17 lines
747 B
Diff
$NetBSD: patch-jade_TeXFOTBuilder.cxx,v 1.1 2011/04/22 07:27:45 adam Exp $
|
|
|
|
Fix building with Clang.
|
|
|
|
--- a/jade/TeXFOTBuilder.cxx 2011-04-22 07:00:24.000000000 +0000
|
|
+++ b/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",
|