diff options
author | Kai Knoblich <kai@FreeBSD.org> | 2021-09-01 20:37:17 +0200 |
---|---|---|
committer | Kai Knoblich <kai@FreeBSD.org> | 2021-09-01 20:37:17 +0200 |
commit | f5fc27fb0878ad6c90a7f5e9936616b624e30783 (patch) | |
tree | 5ece48a0f23f8ee0ee401ef699c1d5e083705277 /games/pysolfc/files/patch-pysollib_mfxutil.py | |
parent | sysutils/fluent-bit: update to 1.8.6 (diff) |
games/pysolfc: Update to 2.12.0
* Make the port less restrictive and thus distributable again by using
a reduced collection of cardsets, which contains clearly defined
licenses. It's also bundled by upstream for the distributed binary
packages of PySolFC.
* Introduce PILLOW/SOUND options which enables sound and enhanced
graphics support.
Changelog since 2.6.2:
https://github.com/shlomif/PySolFC/blob/pysolfc-2.12.0/NEWS.asciidoc
Diffstat (limited to 'games/pysolfc/files/patch-pysollib_mfxutil.py')
-rw-r--r-- | games/pysolfc/files/patch-pysollib_mfxutil.py | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/games/pysolfc/files/patch-pysollib_mfxutil.py b/games/pysolfc/files/patch-pysollib_mfxutil.py deleted file mode 100644 index a76d320c68ae..000000000000 --- a/games/pysolfc/files/patch-pysollib_mfxutil.py +++ /dev/null @@ -1,21 +0,0 @@ -Fix runtime errors with Python 3.8+ because the function time.clock() has been -removed in Python 3.8, after having been deprecated since Python 3.3. - -Obtained from: -https://github.com/shlomif/PySolFC/commit/0961401105850a18ff129e2c25cfffae45a81752 - ---- pysollib/mfxutil.py.orig 2021-06-09 18:23:28 UTC -+++ pysollib/mfxutil.py -@@ -143,7 +143,11 @@ def getprefdir(package): - - - # high resolution clock() and sleep() --uclock = time.clock -+try: -+ uclock = time.perf_counter -+except Exception: -+ uclock = time.clock -+ - usleep = time.sleep - if os.name == "posix": - uclock = time.time |