* [gentoo-commits] repo/gentoo:master commit in: net-misc/netevent/, net-misc/netevent/files/
@ 2023-04-18 6:51 Sam James
0 siblings, 0 replies; only message in thread
From: Sam James @ 2023-04-18 6:51 UTC (permalink / raw
To: gentoo-commits
commit: 25fad460924d199a4487043199c25a12cfb7d721
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 18 06:41:31 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Apr 18 06:50:48 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25fad460
net-misc/netevent: fix build w/ gcc 13
Closes: https://bugs.gentoo.org/895142
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-misc/netevent/files/netevent-2.2.1-gcc13.patch | 24 ++++++++++++++++++++++
net-misc/netevent/netevent-2.2.1.ebuild | 6 +++++-
2 files changed, 29 insertions(+), 1 deletion(-)
diff --git a/net-misc/netevent/files/netevent-2.2.1-gcc13.patch b/net-misc/netevent/files/netevent-2.2.1-gcc13.patch
new file mode 100644
index 000000000000..89a7ba359b38
--- /dev/null
+++ b/net-misc/netevent/files/netevent-2.2.1-gcc13.patch
@@ -0,0 +1,24 @@
+https://github.com/Blub/netevent/pull/29
+
+From 85f5db586dac20b69de1345c197e24be6123439d Mon Sep 17 00:00:00 2001
+From: Sam James <sam@gentoo.org>
+Date: Tue, 18 Apr 2023 07:40:05 +0100
+Subject: [PATCH] Fix build with GCC 13
+
+GCC 13 (as usual for new compiler releases) shuffles around some internal includes so some
+are no longer transitively included.
+
+See https://gnu.org/software/gcc/gcc-13/porting_to.html.
+
+Bug: https://bugs.gentoo.org/895142
+--- a/src/socket.cpp
++++ b/src/socket.cpp
+@@ -6,6 +6,7 @@
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ */
+ #include "socket.h"
++#include <cstdint>
+ #include <sys/socket.h>
+ #include <sys/un.h>
+
+
diff --git a/net-misc/netevent/netevent-2.2.1.ebuild b/net-misc/netevent/netevent-2.2.1.ebuild
index 139ae8ae9348..01deb12b4c43 100644
--- a/net-misc/netevent/netevent-2.2.1.ebuild
+++ b/net-misc/netevent/netevent-2.2.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -17,6 +17,10 @@ BDEPEND="
doc? ( dev-python/docutils )
"
+PATCHES=(
+ "${FILESDIR}"/${PN}-2.2.1-gcc13.patch
+)
+
src_configure() {
tc-export CXX
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2023-04-18 6:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-18 6:51 [gentoo-commits] repo/gentoo:master commit in: net-misc/netevent/, net-misc/netevent/files/ Sam James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox