File enchant2.patch of Package python-pyenchant

From ed02ae493ade4ca749462d041ce83261783fa1a1 Mon Sep 17 00:00:00 2001
From: Raphael Michel <mail@raphaelmichel.de>
Date: Thu, 8 Mar 2018 10:40:00 +0100
Subject: [PATCH] Auto-detect enchant2

After support for enchant2 is already merged, the only thing missing is to detect the library :)
---
 enchant/_enchant.py | 1 +
 1 file changed, 1 insertion(+)

Index: pyenchant-2.0.0/enchant/_enchant.py
===================================================================
--- pyenchant-2.0.0.orig/enchant/_enchant.py
+++ pyenchant-2.0.0/enchant/_enchant.py
@@ -71,6 +71,7 @@ def _e_path_possibilities():
         yield "libenchant.so.1"
         yield "libenchant.so"
     # See if ctypes can find the library for us, under various names.
+    yield find_library("enchant-2")
     yield find_library("enchant")
     yield find_library("libenchant")
     yield find_library("libenchant-1")