diff options
author | 2025-01-23 22:12:46 +0400 | |
---|---|---|
committer | 2025-02-10 08:58:56 +0000 | |
commit | 7c9b09b9a09d9036c68a806457fb9badc5a182da (patch) | |
tree | 3a1a5bf16aaedbb272b889f63b50f2779677f70d /net-p2p | |
parent | sys-auth/pam_mysql: update EAPI 7 -> 8, Skip QA warning for Solaris function (diff) | |
download | gentoo-7c9b09b9a09d9036c68a806457fb9badc5a182da.tar.gz gentoo-7c9b09b9a09d9036c68a806457fb9badc5a182da.tar.bz2 gentoo-7c9b09b9a09d9036c68a806457fb9badc5a182da.zip |
net-p2p/gtk-gnutella: pin C version to gnu17
This package freely casts between pointers to gbooleans and internally
defined bools (in this case, ints). Defining off internal definition of
bool for C23 and then casting everywhere may cause serious problems in
interoperability over the network. I feel the best would be to pin
language version.
Closes: https://bugs.gentoo.org/944982
Bug: https://bugs.gentoo.org/879745
Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
Closes: https://github.com/gentoo/gentoo/pull/40277
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/gtk-gnutella/gtk-gnutella-1.2.2-r1.ebuild | 8 | ||||
-rw-r--r-- | net-p2p/gtk-gnutella/gtk-gnutella-1.2.3.ebuild | 8 |
2 files changed, 12 insertions, 4 deletions
diff --git a/net-p2p/gtk-gnutella/gtk-gnutella-1.2.2-r1.ebuild b/net-p2p/gtk-gnutella/gtk-gnutella-1.2.2-r1.ebuild index a5d6dc676a6f..bb326c940958 100644 --- a/net-p2p/gtk-gnutella/gtk-gnutella-1.2.2-r1.ebuild +++ b/net-p2p/gtk-gnutella/gtk-gnutella-1.2.2-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -9,8 +9,8 @@ DESCRIPTION="GTK+ Gnutella client" HOMEPAGE="https://gtk-gnutella.sourceforge.net/" SRC_URI="https://github.com/gtk-gnutella/gtk-gnutella/archive/v${PV}.tar.gz -> ${P}.tar.gz" -SLOT="0" LICENSE="CC-BY-SA-4.0 GPL-2" +SLOT="0" KEYWORDS="amd64 ppc ppc64 x86" IUSE="nls dbus ssl +gtk" @@ -28,6 +28,10 @@ BDEPEND="virtual/pkgconfig" src_prepare() { filter-lto + # bug https://bugs.gentoo.org/944982 + # we have custom bool we interoperate with gboolean + append-cflags -std=gnu17 + strip-linguas -i po echo "# Gentoo-selected LINGUAS" > po/LINGUAS diff --git a/net-p2p/gtk-gnutella/gtk-gnutella-1.2.3.ebuild b/net-p2p/gtk-gnutella/gtk-gnutella-1.2.3.ebuild index 5b8114f35cac..d7644e1c7a42 100644 --- a/net-p2p/gtk-gnutella/gtk-gnutella-1.2.3.ebuild +++ b/net-p2p/gtk-gnutella/gtk-gnutella-1.2.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -9,8 +9,8 @@ DESCRIPTION="GTK+ Gnutella client" HOMEPAGE="https://gtk-gnutella.sourceforge.io/" SRC_URI="https://github.com/gtk-gnutella/gtk-gnutella/archive/v${PV}.tar.gz -> ${P}.tar.gz" -SLOT="0" LICENSE="CC-BY-SA-4.0 GPL-2" +SLOT="0" KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" IUSE="nls dbus ssl +gtk" @@ -28,6 +28,10 @@ BDEPEND="virtual/pkgconfig" src_prepare() { filter-lto + # bug https://bugs.gentoo.org/944982 + # we have custom bool we interoperate with gboolean + append-cflags -std=gnu17 + strip-linguas -i po echo "# Gentoo-selected LINGUAS" > po/LINGUAS |