forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app-office/libreoffice: Fix build with GCC-11
Reported-by: Geoff Leach <[email protected]> Closes: https://bugs.gentoo.org/766656 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner <[email protected]>
- Loading branch information
Showing
2 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
31 changes: 31 additions & 0 deletions
31
app-office/libreoffice/files/libreoffice-7.0.4.2-gcc11.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
From 8830cf86b146b1252ac37f351a23246088d569b0 Mon Sep 17 00:00:00 2001 | ||
From: Jeff Law <[email protected]> | ||
Date: Tue, 3 Nov 2020 08:05:03 -0700 | ||
Subject: include cstddef for gcc11 | ||
MIME-Version: 1.0 | ||
Content-Type: text/plain; charset=UTF-8 | ||
Content-Transfer-Encoding: 8bit | ||
|
||
Change-Id: I2f845ce9bb660ad6c1eea80ea81dd71add2c0db1 | ||
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107191 | ||
Tested-by: Jenkins | ||
Reviewed-by: Caolán McNamara <[email protected]> | ||
--- | ||
include/o3tl/lru_map.hxx | 1 + | ||
1 file changed, 1 insertion(+) | ||
|
||
diff --git a/include/o3tl/lru_map.hxx b/include/o3tl/lru_map.hxx | ||
index c7132fd079c4..96fb3161782d 100644 | ||
--- a/include/o3tl/lru_map.hxx | ||
+++ b/include/o3tl/lru_map.hxx | ||
@@ -14,6 +14,7 @@ | ||
#include <cassert> | ||
#include <list> | ||
#include <unordered_map> | ||
+#include <cstddef> | ||
|
||
namespace o3tl | ||
{ | ||
-- | ||
cgit v1.2.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters