Skip to content

Commit

Permalink
#17954 Fix breakpad compilation with gcc-13
Browse files Browse the repository at this point in the history
  • Loading branch information
artem-ogre committed Jan 30, 2025
1 parent a9b270f commit 4bb258e
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
1 change: 1 addition & 0 deletions recipes/breakpad/all/conandata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ patches:
- patch_file: "patches/0001-Use_conans_lss.patch"
- patch_file: "patches/0002-Remove-hardcoded-fpic.patch"
- patch_file: "patches/0003-Fix-gcc11-compilation.patch"
- patch_file: "patches/0004-Fix-gcc13-compilation.patch"
20 changes: 20 additions & 0 deletions recipes/breakpad/all/patches/0004-Fix-gcc13-compilation.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
--- a/src/client/linux/handler/minidump_descriptor.h
+++ b/src/client/linux/handler/minidump_descriptor.h
@@ -30,6 +30,7 @@
#ifndef CLIENT_LINUX_HANDLER_MINIDUMP_DESCRIPTOR_H_
#define CLIENT_LINUX_HANDLER_MINIDUMP_DESCRIPTOR_H_

+#include <cstdint>
#include <assert.h>
#include <sys/types.h>

--- a/configure
+++ b/configure
@@ -7476,7 +7476,6 @@

done

-as_fn_append WARN_CXXFLAGS " -Werror"
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'

0 comments on commit 4bb258e

Please sign in to comment.