pkgsrc/textproc/py-enchant/patches/patch-ab
wiz 866e138fc8 py-enchant: update to 2.0.0.
Changes not found.
2019-07-20 22:56:54 +00:00

14 lines
580 B
Text

$NetBSD: patch-ab,v 1.5 2019/07/20 22:56:54 wiz Exp $
fix path of libenchant.
--- enchant/_enchant.py.orig 2017-07-18 04:39:34.000000000 +0000
+++ enchant/_enchant.py
@@ -64,6 +64,7 @@ e = None
def _e_path_possibilities():
"""Generator yielding possible locations of the enchant library."""
# Allow it to be overridden using an environment variable.
+ yield "@PYENCHANT_LIBRARY_PATH@"
yield os.environ.get("PYENCHANT_LIBRARY_PATH")
# For linuxish systems, allow default soname lookup a chance to succeed.
if sys.platform not in ("win32", "darwin"):