From 0e59ef1112829c578deb197307e62f40a19e70a9 Mon Sep 17 00:00:00 2001 From: Hecklezz Date: Wed, 22 Oct 2025 19:20:04 +1000 Subject: [PATCH] Updated APR library and removed hotfix patch in APR cmake --- autobuild.xml | 14 +++++++------- indra/cmake/APR.cmake | 9 --------- 2 files changed, 7 insertions(+), 16 deletions(-) diff --git a/autobuild.xml b/autobuild.xml index d4ebe848cb..5e5e295c63 100644 --- a/autobuild.xml +++ b/autobuild.xml @@ -396,11 +396,11 @@ archive hash - a21487f4e3a68721fd97edef117795a1b7212a77 + 3f8e58fe74e144b771858e89a5514bf354964c76 hash_algorithm sha1 url - https://github.com/secondlife/3p-apr_suite/releases/download/v1.7.5-r1/apr_suite-1.7.5-12259255574-darwin64-12259255574.tar.zst + https://github.com/secondlife/3p-apr_suite/releases/download/v1.7.5-r2/apr_suite-1.7.5-18696779749-darwin64-18696779749.tar.zst name darwin64 @@ -410,11 +410,11 @@ archive hash - 45baf82d3366734e542a2a3749f495b64f5513b4 + df36114eb8fb66fdcbb190011222a7d336791d98 hash_algorithm sha1 url - https://github.com/secondlife/3p-apr_suite/releases/download/v1.7.5-r1/apr_suite-1.7.5-12259255574-linux64-12259255574.tar.zst + https://github.com/secondlife/3p-apr_suite/releases/download/v1.7.5-r2/apr_suite-1.7.5-18696779749-linux64-18696779749.tar.zst name linux64 @@ -424,11 +424,11 @@ archive hash - bdd35d3b9580d3cdcb98afae639936aaa40e24c4 + 164705831819d247753c9fd608c2c1ac8dca1883 hash_algorithm sha1 url - https://github.com/secondlife/3p-apr_suite/releases/download/v1.7.5-r1/apr_suite-1.7.5-12259255574-windows64-12259255574.tar.zst + https://github.com/secondlife/3p-apr_suite/releases/download/v1.7.5-r2/apr_suite-1.7.5-18696779749-windows64-18696779749.tar.zst name windows64 @@ -441,7 +441,7 @@ copyright Copyright © 2012 The Apache Software Foundation, Licensed under the Apache License, Version 2.0. version - 1.7.5-12259255574 + 1.7.5-18696779749 name apr_suite description diff --git a/indra/cmake/APR.cmake b/indra/cmake/APR.cmake index ed5a651b61..e0807a7d19 100644 --- a/indra/cmake/APR.cmake +++ b/indra/cmake/APR.cmake @@ -31,12 +31,3 @@ if(DARWIN) endif() target_include_directories(ll::apr SYSTEM INTERFACE ${LIBS_PREBUILT_DIR}/include/apr-1) - -# Hotfix incorrect check in APR header -file(READ ${LIBS_PREBUILT_DIR}/include/apr-1/apr.h APR_HEADER_CONTENTS) -string(FIND "${APR_HEADER_CONTENTS}" "#if !(defined(__attribute__) || defined(__has_attribute))" ATTRIBUTE_TYPEDEF_POS) -if (${ATTRIBUTE_TYPEDEF_POS} GREATER -1) - string(REPLACE "#if !(defined(__attribute__) || defined(__has_attribute))" "#if !defined(__attribute__)" APR_HEADER_CONTENTS "${APR_HEADER_CONTENTS}") - file(WRITE ${LIBS_PREBUILT_DIR}/include/apr-1/apr.h "${APR_HEADER_CONTENTS}") -endif() -#