From c2223eedca722d17820bd4f746735e5276bbc8e3 Mon Sep 17 00:00:00 2001 From: EWouters <6179932+EWouters@users.noreply.github.com> Date: Fri, 1 Sep 2023 20:22:38 +0200 Subject: [PATCH] Ports/libassuan: Update libassuan to version 2.5.6 This also sets the sysroot to to allow it to find libgpg-error and libiconv when building with Clang. --- Ports/AvailablePorts.md | 2 +- Ports/libassuan/package.sh | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Ports/AvailablePorts.md b/Ports/AvailablePorts.md index f1c87c3340d..0b558ffb49a 100644 --- a/Ports/AvailablePorts.md +++ b/Ports/AvailablePorts.md @@ -138,7 +138,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n | [`lcms2`](lcms2/) | Small-footprint color management engine | 2.15 | https://github.com/mm2/Little-CMS | | [`less`](less/) | less | 643 | https://www.greenwoodsoftware.com/less/ | | [`libarchive`](libarchive/) | libarchive | 3.7.1 | https://libarchive.org/ | -| [`libassuan`](libassuan/) | libassuan | 2.5.5 | https://gnupg.org/software/libassuan/index.html | +| [`libassuan`](libassuan/) | libassuan | 2.5.6 | https://gnupg.org/software/libassuan/index.html | | [`libatomic_ops`](libatomic_ops/) | libatomic\_ops | 7.6.12 | https://www.hboehm.info/gc/ | | [`libenet`](libenet/) | libenet | 1.3.17 | http://sauerbraten.org/enet/ | | [`libexpat`](libexpat/) | Expat | 2.4.8 | https://libexpat.github.io/ | diff --git a/Ports/libassuan/package.sh b/Ports/libassuan/package.sh index 668bac960f3..b46f2b3ad19 100755 --- a/Ports/libassuan/package.sh +++ b/Ports/libassuan/package.sh @@ -1,6 +1,6 @@ #!/usr/bin/env -S bash ../.port_include.sh port='libassuan' -version='2.5.5' +version='2.5.6' useconfigure='true' use_fresh_config_sub='true' config_sub_paths=( @@ -10,7 +10,7 @@ depends=( 'libgpg-error' ) files=( - "https://gnupg.org/ftp/gcrypt/libassuan/libassuan-${version}.tar.bz2#8e8c2fcc982f9ca67dcbb1d95e2dc746b1739a4668bc20b3a3c5be632edb34e4" + "https://gnupg.org/ftp/gcrypt/libassuan/libassuan-${version}.tar.bz2#e9fd27218d5394904e4e39788f9b1742711c3e6b41689a31aa3380bd5aa4f426" ) pre_configure() { @@ -23,5 +23,6 @@ configure() { --build="$("${workdir}/build-aux/config.guess")" \ --disable-static \ --enable-shared \ - --with-libgpg-error-prefix="${SERENITY_INSTALL_ROOT}/usr/local" + --with-libgpg-error-prefix="${SERENITY_INSTALL_ROOT}/usr/local" \ + --with-sysroot="${SERENITY_INSTALL_ROOT}" }