From f6c5e3e64026078936d233e265101b677dccf3f8 Mon Sep 17 00:00:00 2001 From: Bananymous Date: Sun, 5 Jul 2026 13:11:36 +0300 Subject: [PATCH] ports: Update and dont build static expat --- ports/expat/build.sh | 8 ++++++-- .../patches/0001-add-shared-library-support.patch | 12 ++++++------ 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/ports/expat/build.sh b/ports/expat/build.sh index a58d285c..45f83cdb 100755 --- a/ports/expat/build.sh +++ b/ports/expat/build.sh @@ -1,6 +1,10 @@ #!/bin/bash ../install.sh NAME='expat' -VERSION='2.7.1' -DOWNLOAD_URL="https://github.com/libexpat/libexpat/releases/download/R_2_7_1/expat-$VERSION.tar.gz#0cce2e6e69b327fc607b8ff264f4b66bdf71ead55a87ffd5f3143f535f15cfa2" +VERSION='2.8.2' +DOWNLOAD_URL="https://github.com/libexpat/libexpat/releases/download/R_${VERSION//./_}/expat-$VERSION.tar.gz#ef7d1994f533c9e7343d6c19f31064fc8ebbcbcaa144be3812b4f43052a05f4c" CONFIG_SUB=('conftools/config.sub') +CONFIGURE_OPTIONS=( + '--disable-static' + '--with-dev-urandom' +) diff --git a/ports/expat/patches/0001-add-shared-library-support.patch b/ports/expat/patches/0001-add-shared-library-support.patch index 355b11eb..8e117a98 100644 --- a/ports/expat/patches/0001-add-shared-library-support.patch +++ b/ports/expat/patches/0001-add-shared-library-support.patch @@ -1,7 +1,7 @@ -diff -ruN expat-2.7.1/configure expat-2.7.1-banan_os/configure ---- expat-2.7.1/configure 2025-03-27 21:46:37.000000000 +0200 -+++ expat-2.7.1-banan_os/configure 2025-08-10 00:50:27.773898797 +0300 -@@ -6679,6 +6679,10 @@ +diff -ruN expat-2.8.2/configure expat-2.8.2-banan_os/configure +--- expat-2.8.2/configure 2026-06-25 17:12:55.000000000 +0300 ++++ expat-2.8.2-banan_os/configure 2026-07-05 13:20:15.494500768 +0300 +@@ -7086,6 +7086,10 @@ lt_cv_deplibs_check_method=pass_all ;; @@ -12,7 +12,7 @@ diff -ruN expat-2.7.1/configure expat-2.7.1-banan_os/configure beos*) lt_cv_deplibs_check_method=pass_all ;; -@@ -12479,6 +12483,16 @@ +@@ -12951,6 +12955,16 @@ esac ;; @@ -29,7 +29,7 @@ diff -ruN expat-2.7.1/configure expat-2.7.1-banan_os/configure beos*) library_names_spec='$libname$shared_ext' dynamic_linker="$host_os ld.so" -@@ -18079,6 +18093,16 @@ +@@ -18711,6 +18725,16 @@ esac ;;