openbsd-ports/x11/nagstamon/patches/patch-Nagstamon_GUI_py
ajacoutot c817c87b1c Update to nagstamon-0.9.7.1.
from new maintainer Nicolas P. M. Legrand, with some tweaks.
2011-10-06 10:05:37 +00:00

16 lines
566 B
Plaintext

$OpenBSD: patch-Nagstamon_GUI_py,v 1.1 2011/10/06 10:05:37 ajacoutot Exp $
Requires py-gnome-extras (from gnome2, not available).
--- Nagstamon/GUI.py.orig Thu Oct 6 08:28:51 2011
+++ Nagstamon/GUI.py Thu Oct 6 08:29:21 2011
@@ -17,7 +17,7 @@ import os
import platform
# module egg.trayicon doesnt exists on Windows
-if platform.system() != "Windows" and platform.system() != "Darwin":
+if platform.system() != "Windows" and platform.system() != "Darwin" and platform.system() != "OpenBSD":
try:
import egg.trayicon
except Exception, err: