mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
x11-terms/zutty: Fix build with gcc 11
Closes: https://bugs.gentoo.org/786906 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Matt Smith <matt@offtopica.uk> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
committed by
Joonas Niilola
parent
e62e038dac
commit
97eb5cc4fa
24
x11-terms/zutty/files/zutty-0.8-gcc11.patch
Normal file
24
x11-terms/zutty/files/zutty-0.8-gcc11.patch
Normal file
@@ -0,0 +1,24 @@
|
||||
From 75bffab09e842bfff56a6cf111360421a5ee9e15 Mon Sep 17 00:00:00 2001
|
||||
From: Matt Smith <matt@offtopica.uk>
|
||||
Date: Thu, 29 Apr 2021 19:23:00 +0100
|
||||
Subject: [PATCH] Add missing include to fix GCC 11 build
|
||||
|
||||
---
|
||||
src/font.cc | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/src/font.cc b/src/font.cc
|
||||
index 0dd2166..f8da582 100644
|
||||
--- a/src/font.cc
|
||||
+++ b/src/font.cc
|
||||
@@ -15,6 +15,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <cmath>
|
||||
+#include <limits>
|
||||
#include <sstream>
|
||||
#include <stdexcept>
|
||||
#include <string>
|
||||
--
|
||||
2.31.1
|
||||
|
||||
@@ -26,4 +26,6 @@ DEPEND="
|
||||
RDEPEND="${COMMON_DEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-0.8-gcc11.patch )
|
||||
|
||||
DOCS=( doc/KEYS.org doc/USAGE.org )
|
||||
|
||||
Reference in New Issue
Block a user