void-packages/srcpkgs/voltron/patches/fix-py3.8.patch
Đoàn Trần Công Danh 76acfa2dd2 srcpkgs/v*: convert patches to -Np1
```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
785 B
Diff

https://github.com/snare/voltron/commit/09d1d75b4d158faef17c8aca22f258c60157550a.patch
From 09d1d75b4d158faef17c8aca22f258c60157550a Mon Sep 17 00:00:00 2001
From: malet <malet@invalid>
Date: Sat, 6 Oct 2018 15:55:09 +0200
Subject: [PATCH] Renaming the async variable
---
voltron/plugins/view/memory.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/voltron/plugins/view/memory.py b/voltron/plugins/view/memory.py
index 09e4d65..b18abed 100644
--- a/voltron/plugins/view/memory.py
+++ b/voltron/plugins/view/memory.py
@@ -13,7 +13,7 @@
class MemoryView(TerminalView):
printable_filter = ''.join([(len(repr(chr(x))) == 3) and chr(x) or '.' for x in range(256)])
- async = True
+ asynchronous = True
last_memory = None
last_address = 0