mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 14:43:52 +02:00
ranger: compat with ncurses 20231125
Fix: #53543
This commit is contained in:
parent
c3ae49f6aa
commit
f5ba14434f
2 changed files with 14 additions and 1 deletions
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'
|
# Template file for 'ranger'
|
||||||
pkgname=ranger
|
pkgname=ranger
|
||||||
version=1.9.4
|
version=1.9.4
|
||||||
revision=2
|
revision=3
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
hostmakedepends="python3 python3-setuptools"
|
hostmakedepends="python3 python3-setuptools"
|
||||||
makedepends="python3-devel"
|
makedepends="python3-devel"
|
||||||
|
|
Loading…
Add table
Reference in a new issue