1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/textproc/py-readchar/files/patch-readchar_readchar.py
2021-04-15 16:24:33 +02:00

12 lines
389 B
Python

--- readchar/readchar.py.orig 2021-04-15 14:19:54 UTC
+++ readchar/readchar.py
@@ -6,6 +6,8 @@ import sys
if sys.platform.startswith("linux"):
from .readchar_linux import readchar
+elif sys.platform.startswith("freebsd"):
+ from .readchar_linux import readchar
elif sys.platform == "darwin":
from .readchar_linux import readchar
elif sys.platform in ("win32", "cygwin"):