From 62b839e3d5f1efb00f2acbebe17ff239ab76aa56 Mon Sep 17 00:00:00 2001
From: Xavier Thompson <xavier.thompson@nexedi.com>
Date: Tue, 31 Jan 2023 21:23:15 +0000
Subject: [PATCH] component/readline: Fix config.guess for readline5

---
 component/readline/buildout.cfg | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/component/readline/buildout.cfg b/component/readline/buildout.cfg
index af9f5016c..8e6c79013 100644
--- a/component/readline/buildout.cfg
+++ b/component/readline/buildout.cfg
@@ -1,5 +1,6 @@
 [buildout]
 extends =
+  ../gnu-config/buildout.cfg
   ../ncurses/buildout.cfg
   ../patch/buildout.cfg
 
@@ -28,6 +29,7 @@ patches =
   http://ftp.gnu.org/gnu/readline/readline-5.2-patches/readline52-013#3e2e5f543ed268a68fd1fa839faade1a
   http://ftp.gnu.org/gnu/readline/readline-5.2-patches/readline52-014#a1be30e1c6f1099bb5fcef00a2631fb8
 md5sum = e39331f32ad14009b9ff49cc10c5e751
+pre-configure = cp -f ${gnu-config:location}/config.sub ${gnu-config:location}/config.guess support
 configure-options =
   --enable-multibyte
   --disable-static
-- 
2.30.9