summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-21 07:27:54 +0100
committerSam James <sam@gentoo.org>2021-04-21 19:49:28 +0100
commitf18298f720f565331c1d6910130f7e13343da3a6 (patch)
tree78a4692071f775814ee8678f5a3d63b03131ea3b /games-util
parentgames-util/gslist: update EAPI 6 -> 7, respect CC (diff)
downloadgentoo-f18298f720f565331c1d6910130f7e13343da3a6.tar.gz
gentoo-f18298f720f565331c1d6910130f7e13343da3a6.tar.bz2
gentoo-f18298f720f565331c1d6910130f7e13343da3a6.zip
games-util/qstat: port to EAPI 7
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-util')
-rw-r--r--games-util/qstat/files/qstat-2.14-gcc-10.patch8
-rw-r--r--games-util/qstat/qstat-2.14.ebuild3
2 files changed, 2 insertions, 9 deletions
diff --git a/games-util/qstat/files/qstat-2.14-gcc-10.patch b/games-util/qstat/files/qstat-2.14-gcc-10.patch
index e16e701330a0..9900ccdbaa85 100644
--- a/games-util/qstat/files/qstat-2.14-gcc-10.patch
+++ b/games-util/qstat/files/qstat-2.14-gcc-10.patch
@@ -1,10 +1,6 @@
-From 878fa5fd6475685c3465a6e71a10c2fc61c1a09c Mon Sep 17 00:00:00 2001
From: Sergei Trofimovich <slyfox@gentoo.org>
Date: Sun, 26 Jan 2020 11:15:10 +0000
Subject: [PATCH] qstat: fix build failure against gcc-10
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
On gcc-10 (and gcc-9 -fno-common) build fails as:
@@ -24,10 +20,6 @@ The error also happens if CFLAGS=-fno-common passed explicitly.
Reported-by: Toralf Förster
Bug: https://bugs.gentoo.org/706390
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
----
- debug.c | 2 +-
- debug.h | 2 +-
-
--- a/debug.c
+++ b/debug.c
@@ -114,6 +114,7 @@ static void _dump_packet(const char* tag, const char* buf, int buflen)
diff --git a/games-util/qstat/qstat-2.14.ebuild b/games-util/qstat/qstat-2.14.ebuild
index c93323374a6e..d7a0d38b8c34 100644
--- a/games-util/qstat/qstat-2.14.ebuild
+++ b/games-util/qstat/qstat-2.14.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
inherit autotools
@@ -37,6 +37,7 @@ src_configure() {
src_install() {
default
dosym qstat /usr/bin/quakestat
+
docinto html
dodoc template/*.html qstatdoc.html
}