summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-board/pysolfc/files/pysolfc-2.6.4-python38.patch')
-rw-r--r--games-board/pysolfc/files/pysolfc-2.6.4-python38.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/games-board/pysolfc/files/pysolfc-2.6.4-python38.patch b/games-board/pysolfc/files/pysolfc-2.6.4-python38.patch
new file mode 100644
index 000000000000..9a857f3b266b
--- /dev/null
+++ b/games-board/pysolfc/files/pysolfc-2.6.4-python38.patch
@@ -0,0 +1,13 @@
+diff --git a/pysollib/mfxutil.py b/pysollib/mfxutil.py
+index f461ed1..c71a61f 100644
+--- a/pysollib/mfxutil.py
++++ b/pysollib/mfxutil.py
+@@ -143,7 +143,7 @@ def getprefdir(package):
+
+
+ # high resolution clock() and sleep()
+-uclock = time.clock
++uclock = time.process_time
+ usleep = time.sleep
+ if os.name == "posix":
+ uclock = time.time