void-packages/srcpkgs/aqemu/patches/stdexcept.patch
Đoàn Trần Công Danh ae69000001 srcpkgs/a*: convert patches to -Np1
* arduino and antiword 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
```
2021-06-20 13:17:29 +07:00

25 lines
635 B
Diff

From fe1fd5c856a79d9f0704ad2b973caf786272dbd4 Mon Sep 17 00:00:00 2001
From: Nathan Owens <ndowens@artixlinux.org>
Date: Sat, 21 Nov 2020 19:08:35 -0600
Subject: [PATCH] stdexcept
---
src/docopt/docopt_value.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git src/docopt/docopt_value.h src/docopt/docopt_value.h
index ddb8a8e..99aa545 100644
--- a/src/docopt/docopt_value.h
+++ b/src/docopt/docopt_value.h
@@ -13,7 +13,7 @@
#include <iosfwd>
#include <string>
#include <vector>
-
+#include <stdexcept>
namespace docopt {
/// A generic type to hold the various types that can be produced by docopt.
--
2.29.2