mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-25 11:57:36 -08:00
sys-apps/xdg-dbus-proxy: drop 0.1.6
Bug: https://bugs.gentoo.org/972494 Signed-off-by: Brett A C Sheffield <bacs@librecast.net> Part-of: https://codeberg.org/gentoo/gentoo/pulls/858 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST xdg-dbus-proxy-0.1.6.tar.xz 48920 BLAKE2B be5b59e3b9e59a52e0ad1a59d69eab5baa56d484b80413fd763556ad1da33c5d720afb3a61dec2e41c9a6ffcfbd974ec44999872dd724315ec97cfe01c651e7b SHA512 9aeb3c00c8507b583954ba928171d7b373159a614eb9df15a4352d4b929d0c76d836b522cdc031e2f38a076ab5ec363441208e403a899aa9f0e58d703791ed2d
|
||||
DIST xdg-dbus-proxy-0.1.7.tar.xz 42764 BLAKE2B 1f29fd5dbc33c3a85dab066eed02c65281e5b25a2d24428f5292d02a2a3910326cf99cae92b58fabf72508df55257222a5199daadfc2ed982d77623321a6be7c SHA512 be5e6b375e8dfaf1295b182cbce2a2dc12ebccb7fa52336c599241cc7114782241ebb3fa4613d0cbc9b1750719c5cb69ca699558f3732b33d8f0815180cd9b0f
|
||||
|
||||
@@ -1,34 +0,0 @@
|
||||
https://bugs.gentoo.org/970592
|
||||
https://github.com/flatpak/xdg-dbus-proxy/pull/72
|
||||
|
||||
From 4ba6f23eaf4026165b28fe029de8ebc79715a7ce Mon Sep 17 00:00:00 2001
|
||||
From: Brahmajit Das <listout@listout.xyz>
|
||||
Date: Wed, 4 Mar 2026 06:27:54 +0530
|
||||
Subject: [PATCH] dbus-proxy: fix build with glibc >= 2.43
|
||||
|
||||
memchr() returns const void * when passed const input, but the result
|
||||
was assigned to guchar *. This triggers
|
||||
-Wincompatible-pointer-types-discards-qualifiers when building with
|
||||
clang and -Werror.
|
||||
|
||||
Make the pointer const to preserve const correctness.
|
||||
|
||||
Closes: https://github.com/flatpak/xdg-dbus-proxy/issues/70
|
||||
Signed-off-by: Brahmajit Das <listout@listout.xyz>
|
||||
---
|
||||
dbus-proxy.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/dbus-proxy.c b/dbus-proxy.c
|
||||
index 53d5c01..b32df34 100644
|
||||
--- a/dbus-proxy.c
|
||||
+++ b/dbus-proxy.c
|
||||
@@ -133,7 +133,7 @@ add_args (GBytes *bytes,
|
||||
{
|
||||
gsize data_len, remainder_len;
|
||||
const guchar *data = g_bytes_get_data (bytes, &data_len);
|
||||
- guchar *s;
|
||||
+ const guchar *s;
|
||||
const guchar *remainder;
|
||||
|
||||
remainder = data;
|
||||
@@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit meson
|
||||
|
||||
DESCRIPTION="Filtering proxy for D-Bus connections"
|
||||
HOMEPAGE="https://github.com/flatpak/xdg-dbus-proxy"
|
||||
SRC_URI="https://github.com/flatpak/${PN}/releases/download/${PV}/${P}.tar.xz"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.40:2
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( sys-apps/dbus )
|
||||
"
|
||||
BDEPEND="
|
||||
app-text/docbook-xsl-stylesheets
|
||||
dev-libs/libxslt
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-glibc-2.43.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
-Dinstalled_tests=false
|
||||
-Dman=enabled
|
||||
$(meson_use test tests)
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
Reference in New Issue
Block a user