plasma-browser-integration: update to 6.3.0

This commit is contained in:
John 2025-01-13 22:41:18 +01:00 committed by John Zimmermann
parent 8bc19f6aa8
commit 611853a451
2 changed files with 19 additions and 2 deletions

View file

@ -0,0 +1,17 @@
--- a/flatpak-integrator/plugin.cpp
+++ b/flatpak-integrator/plugin.cpp
@@ -143,7 +143,14 @@ private:
{
constexpr auto maxBufferSize = 1024;
thread_local std::array<char, maxBufferSize> buffer;
+#ifdef STRERROR_R_CHAR_P
return strerror_r(error, buffer.data(), buffer.size());
+#else
+ // Won't be changed by strerror_r but not const so compiler doesn't throw an error
+ static char unknown[] = "unknown error";
+
+ return strerror_r(error, buffer.data(), buffer.size()) ? unknown : buffer.data();
+#endif
}
int openNoSymlinks(const std::filesystem::path &path, int flags, mode_t mode = 0)

View file

@ -1,6 +1,6 @@
# Template file for 'plasma-browser-integration'
pkgname=plasma-browser-integration
version=6.2.5
version=6.3.2
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF
@ -15,4 +15,4 @@ maintainer="John <me@johnnynator.dev>"
license="GPL-3.0-or-later"
homepage="https://invent.kde.org/plasma/plasma-browser-integration"
distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz"
checksum=25da9051669f20a1bf9bd8987d95621b2e664131a3c38701a3c5e2f86d9b5dce
checksum=151474e9cce936282d8412483f99e526c5f199a30488515c61a22612777578ef