Created attachment 203723 [details] openbox-xdg-autostart.diff 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 attached 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.
A commit references this bug: Author: novel Date: Thu Apr 18 14:13:36 UTC 2019 New revision: 499266 URL: https://svnweb.freebsd.org/changeset/ports/499266 Log: 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 Changes: head/x11-wm/openbox/Makefile head/x11-wm/openbox/files/patch-data_autostart_openbox-xdg-autostart
Committed, thanks!