x11/arandr: fix broken port
Fix the issue with deprecate call to inspect getargspec. The change was done by upstream in the master branch, but wasn't released yet. PR: 279551 Approved by: maintainer timeout
This commit is contained in:
parent
11f8d796db
commit
cb8a650b35
@ -1,6 +1,6 @@
|
|||||||
PORTNAME= arandr
|
PORTNAME= arandr
|
||||||
PORTVERSION= 0.1.10
|
PORTVERSION= 0.1.10
|
||||||
PORTREVISION= 3
|
PORTREVISION= 4
|
||||||
CATEGORIES= x11 deskutils
|
CATEGORIES= x11 deskutils
|
||||||
|
|
||||||
MAINTAINER= sbz@FreeBSD.org
|
MAINTAINER= sbz@FreeBSD.org
|
||||||
|
|||||||
11
x11/arandr/files/patch-screenlayout_gui.py
Normal file
11
x11/arandr/files/patch-screenlayout_gui.py
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- screenlayout/gui.py.orig 2024-06-06 09:08:21 UTC
|
||||||
|
+++ screenlayout/gui.py
|
||||||
|
@@ -45,7 +45,7 @@
|
||||||
|
|
||||||
|
A first argument called 'self' is passed through.
|
||||||
|
"""
|
||||||
|
- argnames = inspect.getargspec(function)[0]
|
||||||
|
+ argnames = inspect.getfullargspec(function)[0]
|
||||||
|
if argnames[0] == 'self':
|
||||||
|
has_self = True
|
||||||
|
argnames.pop(0)
|
||||||
Loading…
x
Reference in New Issue
Block a user