git: cb8a650b356b - main - x11/arandr: fix broken port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 17 Jul 2024 12:13:32 UTC
The branch main has been updated by rodrigo: URL: https://cgit.FreeBSD.org/ports/commit/?id=cb8a650b356b0e9458da36e06b99a5fe6a1f1206 commit cb8a650b356b0e9458da36e06b99a5fe6a1f1206 Author: Rodrigo Osorio <rodrigo@FreeBSD.org> AuthorDate: 2024-07-17 12:03:56 +0000 Commit: Rodrigo Osorio <rodrigo@FreeBSD.org> CommitDate: 2024-07-17 12:10:41 +0000 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 --- x11/arandr/Makefile | 2 +- x11/arandr/files/patch-screenlayout_gui.py | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/x11/arandr/Makefile b/x11/arandr/Makefile index 529a75c55f8b..f07cc047cf71 100644 --- a/x11/arandr/Makefile +++ b/x11/arandr/Makefile @@ -1,6 +1,6 @@ PORTNAME= arandr PORTVERSION= 0.1.10 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= x11 deskutils MAINTAINER= sbz@FreeBSD.org diff --git a/x11/arandr/files/patch-screenlayout_gui.py b/x11/arandr/files/patch-screenlayout_gui.py new file mode 100644 index 000000000000..2beb555f5513 --- /dev/null +++ b/x11/arandr/files/patch-screenlayout_gui.py @@ -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)