diff --git a/D154024.diff b/D154024.diff new file mode 100644 index 0000000..776f40b --- /dev/null +++ b/D154024.diff @@ -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 ""; + diff --git a/thunderbird.spec b/thunderbird.spec index 837066d..bb4952e 100644 --- a/thunderbird.spec +++ b/thunderbird.spec @@ -127,6 +127,7 @@ Patch415: Bug-1238661---fix-mozillaSignalTrampoline-to-work-.patch #Patch416: firefox-SIOCGSTAMP.patch Patch418: mozilla-1512162.patch Patch419: cbindgen-already-covers.patch +Patch420: D154024.diff #Patch419: bindgen-d0dfc52706f23db9dc9d74642eeebd89d73cb8d0.patch Patch103: rhbz-1219542-s390-build.patch # gcc 12 build fix patches @@ -304,6 +305,8 @@ debug %{name}, you want to install %{name}-debuginfo instead. #FIXME %patch416 -p1 -b .SIOCGSTAMP %patch418 -p1 -b .mozbz-1512162 %patch419 -p1 -b .cbindgen-already-covers +#arc4random failures +%patch420 -p1 -b .D154024.diff # most likely fixed #%patch419 -p1 -b .bindgen