Ports: Update editline to 2.1.0

This commit is contained in:
Linus Groh authored and Nico Weber committed 2026-09-02 16:43:14 -04:00
1 parent 78054c22ac
commit 4f53292555
4 files changed
+3 -39

No files matched your search

+1 -1
View File
@@ -69,7 +69,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n
| [`e2fsprogs`](e2fsprogs/) | e2fsprogs | 1.47.4 | http://e2fsprogs.sourceforge.net/ |
| [`ed`](ed/) | GNU ed | 1.22 | https://www.gnu.org/software/ed/ |
| [`edid-decode`](edid-decode/) | edid-decode | 20220315.cb74358c2896 | https://git.linuxtv.org/edid-decode |
| [`editline`](editline/) | editline | 1.17.1 | https://github.com/troglobit/editline |
| [`editline`](editline/) | editline | 2.1.0 | https://github.com/troglobit/editline |
| [`emu2`](emu2/) | emu2 DOS emulator | 4948d1e | https://github.com/dmsc/emu2 |
| [`epsilon`](epsilon/) | graphical calculator simulator | 15.5.0 | https://github.com/numworks/epsilon |
| [`expat`](expat/) | Expat XML parser | 2.8.4 | https://libexpat.github.io/ |
+2 -4
View File
@@ -1,12 +1,10 @@
#!/usr/bin/env -S bash ../.port_include.sh
port='editline'
version='1.17.1'
version='2.1.0'
useconfigure='true'
use_fresh_config_sub='true'
config_sub_paths=('aux/config.sub')
files=(
"https://github.com/troglobit/editline/releases/download/${version}/editline-${version}.tar.gz#781e03b6a935df75d99fb963551e2e9f09a714a8c49fc53280c716c90bf44d26"
"https://github.com/troglobit/editline/releases/download/${version}/editline-${version}.tar.gz#189e179253c0932d15ce94f53e8cde7a0c38383f39f11f3b92d40cd18839678f"
)
configopts=(
'CFLAGS=-std=c17'
@@ -1,24 +0,0 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Stephen Gregoratto <[email protected]>
Date: Tue, 9 Jun 2020 00:21:11 +1000
Subject: [PATCH] include <sys/select.h> in excallback
Fixes an build issue when cross-compiling for SerenityOS[1]
[1] https://github.com/SerenityOS/serenity
---
examples/excallback.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/examples/excallback.c b/examples/excallback.c
index 015132a992da46ba23c66649e7f12a0041133cf9..5a5efb327b64243ad85486392841c338fe498633 100644
--- a/examples/excallback.c
+++ b/examples/excallback.c
@@ -39,6 +39,7 @@ Jeff
#include <stdio.h>
#include <sys/types.h>
+#include <sys/select.h>
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
-10
View File
@@ -1,10 +0,0 @@
# Patches for editline on SerenityOS
## `0001-include-sys-select.h-in-excallback.patch`
include <sys/select.h> in excallback
Fixes an build issue when cross-compiling for SerenityOS[1]
[1] https://github.com/SerenityOS/serenity