Backport the patch that enables linking the readline
module to libedit on OSX 10.5 or later. (Issue 6877)
diff --git a/Misc/NEWS b/Misc/NEWS
index ab9f558..ac7230b 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -203,6 +203,9 @@
 Extension Modules
 -----------------
 
+- Issue #6877: Make it possible to link the readline extension to libedit
+  on OSX.
+
 - Expat: Fix DoS via XML document with malformed UTF-8 sequences
   (CVE_2009_3560).