861ac185a6
```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 ```
11 lines
598 B
Diff
11 lines
598 B
Diff
--- a/src/lib/FHCollector.cpp 2017-09-16 12:28:50.000000000 +0200
|
|
+++ b/src/lib/FHCollector.cpp 2018-08-09 11:05:32.164697936 +0200
|
|
@@ -1907,7 +1907,7 @@
|
|
textObjectProps.insert("svg:width", width);
|
|
for (int i=0; i<4; ++i) // osnola: let assume that there is no padding
|
|
{
|
|
- char const *(padding[])= {"fo:padding-left","fo:padding-right","fo:padding-top","fo:padding-bottom"};
|
|
+ char const *padding[] = {"fo:padding-left","fo:padding-right","fo:padding-top","fo:padding-bottom"};
|
|
textObjectProps.insert(padding[i],0,librevenge::RVNG_POINT);
|
|
}
|
|
if (!FH_ALMOST_ZERO(rotation))
|