diff --git a/x11/arandr/Makefile b/x11/arandr/Makefile index 529a75c55f8b..f07cc047cf71 100644 --- a/x11/arandr/Makefile +++ b/x11/arandr/Makefile @@ -1,32 +1,32 @@ PORTNAME= arandr PORTVERSION= 0.1.10 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= x11 deskutils MAINTAINER= sbz@FreeBSD.org COMMENT= Another XRandR GUI WWW= https://christian.amsuess.com/tools/arandr/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}docutils>0.6:textproc/py-docutils@${PY_FLAVOR} RUN_DEPENDS= xrandr>0:x11/xrandr USES= gettext gnome python USE_GITLAB= yes GL_TAGNAME= 43faec00c0feca3f00b0acbae048de14f02c6d21 USE_GNOME= gtk30 pygobject3 USE_PYTHON= distutils noflavors py3kplist NO_ARCH= yes PORTDOCS= ChangeLog NEWS README TODO OPTIONS_DEFINE= DOCS post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include 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)