File 0001-Fix-libedit-name.patch of Package 86box

From a43571886471a3a0e7297d1b5b190297c5803994 Mon Sep 17 00:00:00 2001
From: Arachnos
Date: Thu, 16 Sep 2021 00:00:00 +0000
Subject: [PATCH] Fix libedit name

Change the name of libedit from "libedit.so" to "libedit.so.0".
---
 src/unix/unix.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/unix/unix.c b/src/unix/unix.c
index ca2866cb..677085e5 100644
--- a/src/unix/unix.c
+++ b/src/unix/unix.c
@@ -712,7 +712,7 @@ void (*f_rl_callback_handler_remove)(void) = NULL;
 #ifdef __APPLE__
 #define LIBEDIT_LIBRARY "libedit.dylib"
 #else
-#define LIBEDIT_LIBRARY "libedit.so"
+#define LIBEDIT_LIBRARY "libedit.so.0"
 #endif
 uint32_t timer_onesec(uint32_t interval, void* param)
 {
-- 
2.33.0

openSUSE Build Service is sponsored by