HomeFreeBSD

x11-wm/openbox: fix openbox-xdg-autostart for Python 3

Description

x11-wm/openbox: fix openbox-xdg-autostart for Python 3

Openbox includes a Python script (openbox-xdg-autostart)
which implements the XDG autostart spec
(https://www.freedesktop.org/wiki/Specifications/autostart-spec/).
The switch of the default Python to 3.6 in ports r498529 broke the script.
The added patch makes the script work again with both Python 2 and 3.
Luckily the only problem was "print" being changed from a keyword
to a regular function.

PR: 237319
Submitted by: Sebastian Schwarz

Details

Provenance
novelAuthored on
Parents
rP499265: mail/exim: Rename LMDB_LIBS to _LMDB_LIBS
Branches
Unknown
Tags
Unknown