* daemontools and dmraid 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 ```
30 lines
967 B
Diff
30 lines
967 B
Diff
Description: kill compiler warnings
|
|
Author: Roberto Lumbreras <rover@debian.org>
|
|
|
|
Index: dmtx-utils-0.7.6/dmtxread/dmtxread.c
|
|
===================================================================
|
|
--- a/dmtxread/dmtxread.c 2018-08-09 08:08:03.657379018 +0200
|
|
+++ b/dmtxread/dmtxread.c 2018-08-09 08:08:03.649378973 +0200
|
|
@@ -724,7 +724,7 @@
|
|
int i, idx;
|
|
int row, rowCount;
|
|
int col, colCount;
|
|
- unsigned long totalCount;
|
|
+ size_t totalCount;
|
|
char **list;
|
|
|
|
list = MagickQueryFormats("*", &totalCount);
|
|
Index: dmtx-utils-0.7.6/dmtxwrite/dmtxwrite.c
|
|
===================================================================
|
|
--- a/dmtxwrite/dmtxwrite.c 2018-08-09 08:08:03.657379018 +0200
|
|
+++ b/dmtxwrite/dmtxwrite.c 2018-08-09 08:08:03.649378973 +0200
|
|
@@ -455,7 +455,7 @@
|
|
int i, idx;
|
|
int row, rowCount;
|
|
int col, colCount;
|
|
- unsigned long totalCount;
|
|
+ size_t totalCount;
|
|
char **list;
|
|
|
|
list = MagickQueryFormats("*", &totalCount);
|
|
|