ranger: compat with ncurses 20231125
Fix: #53543
This commit is contained in:
parent
c3ae49f6aa
commit
f5ba14434f
13
srcpkgs/ranger/patches/ncurse-202311.patch
Normal file
13
srcpkgs/ranger/patches/ncurse-202311.patch
Normal file
@ -0,0 +1,13 @@
|
||||
| 20231111
|
||||
| + modify endwin() to return an error if it is called again without an
|
||||
| intervening screen update (report by Rajeev Pillai, NetBSD #57592).
|
||||
--- a/ranger/gui/ui.py
|
||||
+++ b/ranger/gui/ui.py
|
||||
@@ -147,6 +147,7 @@ class UI( # pylint: disable=too-many-in
|
||||
pass
|
||||
if self.settings.mouse_enabled:
|
||||
_setup_mouse(dict(value=False))
|
||||
+ self.win.refresh()
|
||||
curses.endwin()
|
||||
self.is_on = False
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Template file for 'ranger'
|
||||
pkgname=ranger
|
||||
version=1.9.4
|
||||
revision=2
|
||||
revision=3
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3 python3-setuptools"
|
||||
makedepends="python3-devel"
|
||||
|
Loading…
Reference in New Issue
Block a user