c987560802
```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 ```
24 lines
680 B
Diff
24 lines
680 B
Diff
From 714092f336bb14d2fcc27396ec323b3d843bb962 Mon Sep 17 00:00:00 2001
|
|
From: Stephan Hartmann <stha09@googlemail.com>
|
|
Date: Thu, 4 Mar 2021 15:05:46 +0000
|
|
Subject: [PATCH] IWYU: include limits for std::numeric_limits
|
|
|
|
---
|
|
third_party/ruy/src/ruy/block_map.cc | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/third_party/ruy/src/ruy/block_map.cc b/third_party/ruy/src/ruy/block_map.cc
|
|
index 44e5039..a7a7559 100644
|
|
--- a/third_party/ruy/src/ruy/block_map.cc
|
|
+++ b/third_party/ruy/src/ruy/block_map.cc
|
|
@@ -17,6 +17,7 @@ limitations under the License.
|
|
|
|
#include <algorithm>
|
|
#include <cstdint>
|
|
+#include <limits>
|
|
|
|
#ifdef RUY_MAKEBLOCKMAP_DEBUG
|
|
#include <cstdio>
|
|
--
|
|
2.26.2
|
|
|