Fix FTBFS gcc13 header dependencies

This commit is contained in:
Eike Rathke 2023-01-26 00:55:22 +01:00
parent 7db2eec382
commit 61504da9fc
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,30 @@
--- thunderbird-102.7.1/dom/media/webrtc/sdp/RsdparsaSdpGlue.cpp.gcc13-header-dependency 2023-01-24 04:23:43.000000000 +0100
+++ thunderbird-102.7.1/dom/media/webrtc/sdp/RsdparsaSdpGlue.cpp 2023-01-25 19:23:11.048662899 +0100
@@ -3,6 +3,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
+#include <cstdint>
#include <string>
#include "sdp/RsdparsaSdpInc.h"
--- thunderbird-102.7.1/gfx/2d/Rect.h.gcc13-header-dependency 2023-01-24 04:23:44.000000000 +0100
+++ thunderbird-102.7.1/gfx/2d/Rect.h 2023-01-25 19:23:11.049662897 +0100
@@ -15,6 +15,7 @@
#include "mozilla/Maybe.h"
#include <cmath>
+#include <cstdint>
namespace mozilla {
--- thunderbird-102.7.1/toolkit/components/telemetry/pingsender/pingsender.cpp.gcc13-header-dependency 2023-01-24 04:23:55.000000000 +0100
+++ thunderbird-102.7.1/toolkit/components/telemetry/pingsender/pingsender.cpp 2023-01-25 21:38:39.432188899 +0100
@@ -3,6 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+#include <cstdint>
#include <cstdlib>
#include <cstring>
#include <ctime>

View File

@ -134,6 +134,7 @@ Patch422: 0001-GLIBCXX-fix-for-GCC-12.patch
# Python 3.11 "Invalid regular expression for rule '...'. global flags not at the start of the expression at position ...
Patch424: python3.11-regex-inline-flags.patch
Patch425: build-disable-elfhack.patch
Patch426: gcc13-header-dependencies.patch
# PPC fix
Patch304: mozilla-1245783.patch
@ -326,6 +327,7 @@ popd
%patch422 -p1 -b .0001-GLIBCXX-fix-for-GCC-12
%patch424 -p1 -b .python3.11-regex-inline-flags
%patch426 -p1 -b .gcc13-header-dependencies
%patch501 -p1 -b .expat-CVE-2022-25235
%patch502 -p1 -b .expat-CVE-2022-25236
@ -763,6 +765,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%changelog
* Tue Jan 24 2023 Eike Rathke <erack@redhat.com> - 102.7.1-1
- Update to 102.7.1
- Fix FTBFS gcc13 header dependencies
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 102.6.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild