From e0dc73637fca7bca8a75feabdfdbdb7603e8ba09 Mon Sep 17 00:00:00 2001 From: EWouters <6179932+EWouters@users.noreply.github.com> Date: Fri, 1 Sep 2023 21:06:11 +0200 Subject: [PATCH] Ports/libunistring: Update libunistring to version 1.1 This also fixes the Clang build of gettext by setting the sysroot. --- Ports/AvailablePorts.md | 2 +- Ports/libunistring/package.sh | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Ports/AvailablePorts.md b/Ports/AvailablePorts.md index 83e23c5971c..11e6c1cfb98 100644 --- a/Ports/AvailablePorts.md +++ b/Ports/AvailablePorts.md @@ -177,7 +177,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n | [`libtheora`](libtheora/) | libtheora | 1.1.1 | https://www.theora.org/ | | [`libtiff`](libtiff/) | libtiff | 4.5.1 | http://www.libtiff.org/ | | [`libtool`](libtool/) | libtool | 2.4.7 | https://www.gnu.org/software/libtool/ | -| [`libunistring`](libunistring/) | libunistring | 1.0 | https://www.gnu.org/software/libunistring/ | +| [`libunistring`](libunistring/) | libunistring | 1.1 | https://www.gnu.org/software/libunistring/ | | [`libuuid`](libuuid/) | libuuid (from util-linux) | 2.38 | https://github.com/karelzak/util-linux/tree/master/libuuid | | [`libuv`](libuv/) | libuv | 1.44.1 | https://github.com/libuv/libuv | | [`libvorbis`](libvorbis/) | libvorbis | 1.3.7 | https://github.com/xiph/vorbis | diff --git a/Ports/libunistring/package.sh b/Ports/libunistring/package.sh index cdd03416287..4147fefa14e 100755 --- a/Ports/libunistring/package.sh +++ b/Ports/libunistring/package.sh @@ -1,7 +1,10 @@ #!/usr/bin/env -S bash ../.port_include.sh port='libunistring' -version='1.0' +version='1.1' files=( - "https://ftpmirror.gnu.org/gnu/libunistring/libunistring-${version}.tar.gz#3c0184c0e492d7c208ce31d25dd1d2c58f0c3ed6cbbe032c5b248cddad318544" + "https://ftpmirror.gnu.org/gnu/libunistring/libunistring-${version}.tar.gz#a2252beeec830ac444b9f68d6b38ad883db19919db35b52222cf827c385bdb6a" ) useconfigure='true' +configopts=( + "--with-sysroot=${SERENITY_INSTALL_ROOT}" +)