49cb564d14
* par is kept at -Np0 ```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 ```
13 lines
532 B
Diff
13 lines
532 B
Diff
--- a/Plugins/Datamine/Readers/dmfile.cxx 2020-08-04 22:12:01.000000000 +0200
|
|
+++ b/Plugins/Datamine/Readers/dmfile.cxx 2020-08-30 13:22:12.387889301 +0200
|
|
@@ -421,8 +421,8 @@
|
|
|
|
// number of records per page
|
|
// There is only 508 bytes per page ( table is 512 with 4 reserved )
|
|
- const int PAGE_SIZE = 508;
|
|
- int numRecsPerPage = PAGE_SIZE / recordLength;
|
|
+ const int DM_PAGE_SIZE = 508;
|
|
+ int numRecsPerPage = DM_PAGE_SIZE / recordLength;
|
|
|
|
// number of record on last page
|
|
int numRecsLastPage = GetNLastPageRecs();
|