ports/emulators/playonbsd/files/patch-python_mainwindow.py
Stefan Eßer 7e79a1267e Fix problem with desktop shortcuts reported by iluxa (at) ex.ua.
Upgrade to latest stable version 4.2.10 on that occasion.

PR:		209418
Reported by:	iluxa (at) ex.ua
Approved by:	antoine (mentor, implicit)
2016-05-10 17:05:33 +00:00

13 lines
640 B
Python

--- python/mainwindow.py.orig 2016-01-03 22:16:17 UTC
+++ python/mainwindow.py
@@ -63,8 +63,8 @@ class POLWeb(threading.Thread):
def LastVersion(self):
if(os.environ["POL_OS"] == "Mac"):
fichier_online="version_mac"
- elif(os.environ["POL_OS"] == "FreeBSD"):
- fichier_online="version_freebsd"
+# elif(os.environ["POL_OS"] == "FreeBSD"):
+# fichier_online="version_freebsd"
else:
fichier_online="version2"
return os.popen(os.environ["POL_WGET"]+' "'+os.environ["SITE"]+'/'+fichier_online+'.php?v='+os.environ["VERSION"]+'" -T 30 -O-','r').read()