
* 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 ```
23 lines
582 B
Diff
23 lines
582 B
Diff
--- a/src/core/sipe-utils.c 2019-10-11 17:28:48.000000000 +0200
|
|
+++ b/src/core/sipe-utils.c 2021-02-17 12:21:58.906079796 +0100
|
|
@@ -25,6 +25,8 @@
|
|
#include <string.h>
|
|
#include <ctype.h>
|
|
#include <time.h>
|
|
+#include <stdint.h>
|
|
+#include <inttypes.h>
|
|
|
|
#include <glib.h>
|
|
|
|
@@ -414,8 +415,8 @@
|
|
if (result)
|
|
return(result);
|
|
|
|
- SIPE_DEBUG_ERROR("sipe_utils_time_to_str: failed to convert %lu to ISO8601 string",
|
|
- timestamp);
|
|
+ SIPE_DEBUG_ERROR("sipe_utils_time_to_str: failed to convert %" PRIu64 " to ISO8601 string",
|
|
+ (uint64_t) timestamp);
|
|
return(g_strdup(""));
|
|
}
|
|
|