botan: update to 3.11.0.

This commit is contained in:
Komeil Parseh
2026-04-29 21:57:39 +02:00
committed by Duncan Overbruck
parent 07bffacd4d
commit 34ee803fd6
3 changed files with 43 additions and 6 deletions
+1 -1
View File
@@ -2957,7 +2957,7 @@ libKDb3.so.4 kdb-3.1.0_1
libKPropertyWidgets3.so.4 kproperty-3.1.0_1
libKPropertyCore3.so.4 kproperty-3.1.0_1
libKReport3.so.4 kreport-3.1.0_1
libbotan-3.so.9 botan-3.9.0_1
libbotan-3.so.11 botan-3.11.0_1
libswipl.so.10 swi-prolog-10.0.0_1
libpcre2-16.so.0 libpcre2-10.22_1
libpcre2-32.so.0 libpcre2-10.22_1
+39 -2
View File
@@ -1,7 +1,7 @@
From 8c4769e27b71ead73863c896ef9702add73cba8e Mon Sep 17 00:00:00 2001
From: Luca Matei Pintilie <luca@lucamatei.com>
Date: Tue, 29 Jul 2025 15:52:16 +0200
Subject: [PATCH 1/2] Revert "Replace a useless shared_ptr by a unique_ptr"
Subject: [PATCH 1/3] Revert "Replace a useless shared_ptr by a unique_ptr"
This reverts commit 248e25c22fc15105d2a9db695ddb93ed5a8e0802.
@@ -86,7 +86,7 @@ index a7aef3d..e9e5473 100644
From e4d32f939240ed726e9981e42c0dc251cd9879da Mon Sep 17 00:00:00 2001
From: Luca Matei Pintilie <luca@lucamatei.com>
Date: Mon, 28 Jul 2025 12:10:58 +0200
Subject: [PATCH 2/2] biboumi: Update botan to version 3
Subject: [PATCH 2/3] biboumi: Update botan to version 3
The botan dependency has introduced a number of breaking changes with
version 3, a couple of which impact biboumi as well
@@ -622,3 +622,40 @@ index e915646..052dd9c 100644
#endif
--
2.47.3
From 2c9d56ed9cef75d487ae233458767f75d4079dd3 Mon Sep 17 00:00:00 2001
From: Komeil Parseh <komeilparseh@disroot.org>
Date: Tue, 28 Apr 2026 13:11:06 +0330
Subject: [PATCH 3/3] bridge: add <cstring> include to fix missing declarations for
C string functions
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
The build fails when compiling bridge.cpp because several C string
functions (such `strlen()`, `memcpy()`, etc)
are used without including <cstring>. Newer compilers (GCC 14)
no longer implicitly include these symbols through unrelated headers.
Error seen during build:
error: strlen was not declared in this scope
Adding <cstring> restores the expected declarations and fixes the build
on modern toolchains.
---
src/bridge/bridge.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/bridge/bridge.cpp b/src/bridge/bridge.cpp
index 8577e22..1804e86 100644
--- a/src/bridge/bridge.cpp
+++ b/src/bridge/bridge.cpp
@@ -8,6 +8,7 @@
#include <utils/uuid.hpp>
#include <logger/logger.hpp>
#include <utils/revstr.hpp>
+#include <cstring>
#include <utils/split.hpp>
#include <xmpp/jid.hpp>
#include <database/database.hpp>
--
2.53.0
+3 -3
View File
@@ -1,7 +1,7 @@
# Template file for 'botan'
pkgname=botan
version=3.9.0
revision=2
version=3.11.0
revision=1
build_style=gnu-makefile
hostmakedepends="doxygen python3 python3-packaging-bootstrap"
makedepends="bzip2-devel liblzma-devel sqlite-devel zlib-devel"
@@ -11,7 +11,7 @@ license="BSD-2-Clause"
homepage="https://botan.randombit.net/"
changelog="https://botan.randombit.net/news.html"
distfiles="https://botan.randombit.net/releases/Botan-${version}.tar.xz"
checksum=8c3f284b58ddd42e8e43e9fa86a7129d87ea7c3f776a80d3da63ec20722b0883
checksum=e8dd48556818da2c03a9a30932ad05db9e50b12fec90809301ecc64ea51bd11e
python_version=3
LDFLAGS="-pthread"