Added build fix

This commit is contained in:
Martin Stransky 2022-08-17 10:30:53 +02:00
parent babecc662f
commit a23c216427
2 changed files with 23 additions and 1 deletions

17
D154024.diff Normal file
View File

@ -0,0 +1,17 @@
diff --git a/toolkit/crashreporter/client/ping.cpp b/toolkit/crashreporter/client/ping.cpp
--- a/toolkit/crashreporter/client/ping.cpp
+++ b/toolkit/crashreporter/client/ping.cpp
@@ -51,11 +51,11 @@
CFUUIDBytes bytes = CFUUIDGetUUIDBytes(uuid);
memcpy(&id, &bytes, sizeof(UUID));
CFRelease(uuid);
#elif defined(HAVE_ARC4RANDOM_BUF) // Android, BSD, ...
- arc4random_buf(id, sizeof(UUID));
+ arc4random_buf(&id, sizeof(UUID));
#else // Linux
int fd = open("/dev/urandom", O_RDONLY);
if (fd == -1) {
return "";

View File

@ -181,7 +181,7 @@ ExcludeArch: aarch64
Summary: Mozilla Firefox Web browser Summary: Mozilla Firefox Web browser
Name: firefox Name: firefox
Version: 104.0 Version: 104.0
Release: 1%{?pre_tag}%{?dist} Release: 2%{?pre_tag}%{?dist}
URL: https://www.mozilla.org/firefox/ URL: https://www.mozilla.org/firefox/
License: MPLv1.1 or GPLv2+ or LGPLv2+ License: MPLv1.1 or GPLv2+ or LGPLv2+
Source0: https://archive.mozilla.org/pub/firefox/releases/%{version}%{?pre_version}/source/firefox-%{version}%{?pre_version}.source.tar.xz Source0: https://archive.mozilla.org/pub/firefox/releases/%{version}%{?pre_version}/source/firefox-%{version}%{?pre_version}.source.tar.xz
@ -236,6 +236,7 @@ Patch61: firefox-glibc-dynstack.patch
Patch62: build-python.patch Patch62: build-python.patch
Patch71: 0001-GLIBCXX-fix-for-GCC-12.patch Patch71: 0001-GLIBCXX-fix-for-GCC-12.patch
Patch77: build-python-3.11.patch Patch77: build-python-3.11.patch
Patch78: D154024.diff
# Test patches # Test patches
# Generate without context by # Generate without context by
@ -500,6 +501,7 @@ This package contains results of tests executed during build.
%patch54 -p1 -b .1669639 %patch54 -p1 -b .1669639
%patch71 -p1 -b .0001-GLIBCXX-fix-for-GCC-12 %patch71 -p1 -b .0001-GLIBCXX-fix-for-GCC-12
%patch77 -p1 -b .build-python-3.11 %patch77 -p1 -b .build-python-3.11
%patch78 -p1 -b .D154024
# Test patches # Test patches
#%patch100 -p1 -b .firefox-tests-xpcshell #%patch100 -p1 -b .firefox-tests-xpcshell
@ -1119,6 +1121,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
#--------------------------------------------------------------------- #---------------------------------------------------------------------
%changelog %changelog
* Wed Aug 17 2022 Martin Stransky <stransky@redhat.com>- 104.0-2
- Added build fixes
* Tue Aug 16 2022 Martin Stransky <stransky@redhat.com>- 104.0-1 * Tue Aug 16 2022 Martin Stransky <stransky@redhat.com>- 104.0-1
- Updated to 104.0 - Updated to 104.0