From 737362e566b2e4492e8e0764ff0cc3031cdd3868 Mon Sep 17 00:00:00 2001 From: EWouters <6179932+EWouters@users.noreply.github.com> Date: Sat, 2 Sep 2023 00:43:07 +0200 Subject: [PATCH] Ports/readline: Update readline to version 8.2 --- Ports/AvailablePorts.md | 2 +- Ports/readline/package.sh | 4 ++-- ...SerenityOS-support-to-the-shared-library-scripts.patch | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Ports/AvailablePorts.md b/Ports/AvailablePorts.md index 73ab6857484..e49b9ccc118 100644 --- a/Ports/AvailablePorts.md +++ b/Ports/AvailablePorts.md @@ -273,7 +273,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n | [`quake3`](quake3/) | QuakeIII | 1.34 | https://github.com/ioquake/ioq3 | | [`r0`](r0/) | r0 (minimalistic commandline hexadecimal editor) | 0.9 | https://github.com/radareorg/r0 | | [`radare2`](radare2/) | radare2 reverse engineering framework | 5.7.6 | https://github.com/radareorg/radare2 | -| [`readline`](readline/) | GNU Readline Library | 8.1.2 | https://tiswww.case.edu/php/chet/readline/rltop.html | +| [`readline`](readline/) | GNU Readline Library | 8.2 | https://tiswww.case.edu/php/chet/readline/rltop.html | | [`RetroArch`](RetroArch/) | RetroArch | 1.12.0 | https://www.retroarch.com | | [`RISCVEmu`](RISCVEmu/) | A Basic C++ RISC-V Emulator | ad8ad6a | https://github.com/IdanHo/RISCVEmu | | [`rsync`](rsync/) | rsync | 3.1.3 | https://rsync.samba.org/ | diff --git a/Ports/readline/package.sh b/Ports/readline/package.sh index 3f45512eb2f..6c8cc99453d 100755 --- a/Ports/readline/package.sh +++ b/Ports/readline/package.sh @@ -1,13 +1,13 @@ #!/usr/bin/env -S bash ../.port_include.sh port='readline' -version='8.1.2' +version='8.2' useconfigure='true' use_fresh_config_sub='true' config_sub_paths=( 'support/config.sub' ) files=( - "https://ftpmirror.gnu.org/gnu/readline/readline-${version}.tar.gz#7589a2381a8419e68654a47623ce7dfcb756815c8fee726b98f90bf668af7bc6" + "https://ftpmirror.gnu.org/gnu/readline/readline-${version}.tar.gz#3feb7171f16a84ee82ca18a36d7b9be109a52c04f492a053331d7d1095007c35" ) configopts=( '--disable-static' diff --git a/Ports/readline/patches/0001-Add-SerenityOS-support-to-the-shared-library-scripts.patch b/Ports/readline/patches/0001-Add-SerenityOS-support-to-the-shared-library-scripts.patch index f6d3f7e875c..611b480550b 100644 --- a/Ports/readline/patches/0001-Add-SerenityOS-support-to-the-shared-library-scripts.patch +++ b/Ports/readline/patches/0001-Add-SerenityOS-support-to-the-shared-library-scripts.patch @@ -10,7 +10,7 @@ This allows us to have properly named library symlinks. 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/support/shlib-install b/support/shlib-install -index 661355d..f15ec01 100755 +index 661355d32b2db3a535c87032152df602eb515404..f15ec01a6980107183256eedcc19cad7857cf438 100644 --- a/support/shlib-install +++ b/support/shlib-install @@ -71,7 +71,7 @@ fi @@ -32,15 +32,15 @@ index 661355d..f15ec01 100755 ${echo} ${RM} ${INSTALLDIR}/$LINK2 if [ -z "$uninstall" ]; then diff --git a/support/shobj-conf b/support/shobj-conf -index 5a3f977..f6978ea 100644 +index cd7634dfa6247f021a640e2df74f7ed843ff66ad..50ad6ee8d81cebda15c9fafef826a591b9318e52 100644 --- a/support/shobj-conf +++ b/support/shobj-conf @@ -123,7 +123,7 @@ sunos5*|solaris2*) ;; # All versions of Linux (including Gentoo/FreeBSD) or the semi-mythical GNU Hurd. --linux*-*|gnu*-*|k*bsd*-gnu-*|freebsd*|dragonfly*) -+linux*-*|gnu*-*|k*bsd*-gnu-*|freebsd*|dragonfly*|serenity*) +-linux*-*|gnu*-*|k*bsd*-gnu-*|midnightbsd*|freebsd*|dragonfly*) ++linux*-*|gnu*-*|k*bsd*-gnu-*|midnightbsd*|freebsd*|dragonfly*|serenity*) SHOBJ_CFLAGS=-fPIC SHOBJ_LD='${CC}' SHOBJ_LDFLAGS='-shared -Wl,-soname,$@'