diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
commit | 0f558761aa2dee1017b4751e4017205e015a9560 (patch) | |
tree | 037df795519468a25d9362b4e95cdaeb84eb1cf9 /dev-util/breakpad/files | |
parent | 752d6256e5204b958b0ef7905675a940b5e9172f (diff) |
gentoo resync : 29.12.2022
Diffstat (limited to 'dev-util/breakpad/files')
-rw-r--r-- | dev-util/breakpad/files/breakpad-2022.06.04-gentoo.patch | 119 | ||||
-rw-r--r-- | dev-util/breakpad/files/breakpad-2022.06.04-test.patch | 49 |
2 files changed, 168 insertions, 0 deletions
diff --git a/dev-util/breakpad/files/breakpad-2022.06.04-gentoo.patch b/dev-util/breakpad/files/breakpad-2022.06.04-gentoo.patch new file mode 100644 index 000000000000..e39190bfa5b9 --- /dev/null +++ b/dev-util/breakpad/files/breakpad-2022.06.04-gentoo.patch @@ -0,0 +1,119 @@ +--- a/src/common/linux/libcurl_wrapper.h 2022-06-07 21:55:00.387396660 +0200 ++++ b/src/common/linux/libcurl_wrapper.h 2022-06-07 21:55:18.450145751 +0200 +@@ -37,7 +37,7 @@ + #include <map> + + #include "common/using_std_string.h" +-#include "third_party/curl/curl.h" ++#include <curl/curl.h> + + namespace google_breakpad { + class LibcurlWrapper { +--- a/src/common/linux/http_upload.cc 2022-06-07 21:53:55.505298529 +0200 ++++ b/src/common/linux/http_upload.cc 2022-06-07 21:54:17.944986506 +0200 +@@ -31,7 +31,7 @@ + + #include <assert.h> + #include <dlfcn.h> +-#include "third_party/curl/curl.h" ++#include <curl/curl.h> + + namespace { + +--- a/src/processor/disassembler_x86.h 2022-06-08 08:41:45.569686249 +0200 ++++ b/src/processor/disassembler_x86.h 2022-06-08 08:42:09.049377873 +0200 +@@ -42,7 +42,7 @@ + #include "google_breakpad/common/breakpad_types.h" + + namespace libdis { +-#include "third_party/libdisasm/libdis.h" ++#include <libdis.h> + } + + namespace google_breakpad { +--- a/Makefile.am 2022-06-08 08:51:35.221948155 +0200 ++++ b/Makefile.am 2022-06-08 08:53:21.679551745 +0200 +@@ -142,7 +142,6 @@ + if !DISABLE_PROCESSOR + lib_LIBRARIES += src/libbreakpad.a + pkgconfig_DATA += breakpad.pc +-noinst_LIBRARIES += src/third_party/libdisasm/libdisasm.a + endif + + if LINUX_HOST +@@ -885,7 +885,7 @@ + src/processor/stackwalker_x86.o \ + src/processor/symbolic_constants_win.o \ + src/processor/tokenize.o \ +- src/third_party/libdisasm/libdisasm.a \ ++ -ldisasm \ + $(TEST_LIBS) \ + $(PTHREAD_CFLAGS) $(PTHREAD_LIBS) + +@@ -895,7 +895,7 @@ + $(AM_CPPFLAGS) $(TEST_CFLAGS) + src_processor_disassembler_x86_unittest_LDADD = \ + src/processor/disassembler_x86.o \ +- src/third_party/libdisasm/libdisasm.a \ ++ -ldisasm \ + $(TEST_LIBS) \ + $(PTHREAD_CFLAGS) $(PTHREAD_LIBS) + +@@ -997,7 +997,7 @@ + src/processor/stackwalker_x86.o \ + src/processor/symbolic_constants_win.o \ + src/processor/tokenize.o \ +- src/third_party/libdisasm/libdisasm.a \ ++ -ldisasm \ + $(TEST_LIBS) \ + $(PTHREAD_CFLAGS) $(PTHREAD_LIBS) + +@@ -1027,7 +1027,7 @@ + src_processor_proc_maps_linux_unittest_LDADD = \ + src/processor/logging.o \ + src/processor/pathname_stripper.o \ +- src/third_party/libdisasm/libdisasm.a \ ++ -ldisasm \ + $(TEST_LIBS) \ + $(PTHREAD_CFLAGS) $(PTHREAD_LIBS) + +@@ -1307,7 +1307,7 @@ + src/processor/stackwalker_sparc.o \ + src/processor/stackwalker_x86.o \ + src/processor/tokenize.o \ +- src/third_party/libdisasm/libdisasm.a ++ -ldisasm + + src_processor_minidump_stackwalk_SOURCES = \ + src/processor/minidump_stackwalk.cc +@@ -1347,7 +1347,7 @@ + src/processor/stackwalker_x86.o \ + src/processor/symbolic_constants_win.o \ + src/processor/tokenize.o \ +- src/third_party/libdisasm/libdisasm.a ++ -ldisasm + + endif !DISABLE_PROCESSOR + +--- a/src/processor/exploitability_win.cc 2022-06-08 08:59:44.437471336 +0200 ++++ b/src/processor/exploitability_win.cc 2022-06-08 09:00:04.061210421 +0200 +@@ -44,7 +44,7 @@ + #include "processor/disassembler_x86.h" + #include "processor/logging.h" + +-#include "third_party/libdisasm/libdis.h" ++#include <libdis.h> + + namespace google_breakpad { + +--- a/src/processor/disassembler_x86_unittest.cc 2022-06-08 10:30:23.370615114 +0200 ++++ b/src/processor/disassembler_x86_unittest.cc 2022-06-08 10:30:44.003341412 +0200 +@@ -31,7 +31,7 @@ + + #include "breakpad_googletest_includes.h" + #include "processor/disassembler_x86.h" +-#include "third_party/libdisasm/libdis.h" ++#include <libdis.h> + + namespace { + diff --git a/dev-util/breakpad/files/breakpad-2022.06.04-test.patch b/dev-util/breakpad/files/breakpad-2022.06.04-test.patch new file mode 100644 index 000000000000..7bf1d78290ab --- /dev/null +++ b/dev-util/breakpad/files/breakpad-2022.06.04-test.patch @@ -0,0 +1,49 @@ +--- a/src/common/dwarf_cu_to_module_unittest.cc 2022-06-06 21:31:46.537946012 +0200 ++++ b/src/common/dwarf_cu_to_module_unittest.cc 2022-06-06 21:33:27.299716909 +0200 +@@ -780,7 +780,7 @@ + 0x2805c4531be6ca0eULL, 0x686b52155a8d4d2cULL); + } + +-TEST_F(SimpleCU, UnknownAbstractOrigin) { ++TEST_F(SimpleCU, DISABLED_UnknownAbstractOrigin) { + EXPECT_CALL(reporter_, UnknownAbstractOrigin(_, 1ULL)).WillOnce(Return()); + EXPECT_CALL(reporter_, UnnamedFunction(0x11c70f94c6e87ccdLL)) + .WillOnce(Return()); +@@ -798,7 +798,7 @@ + 0x1758a0f941b71efbULL, 0x1cf154f1f545e146ULL); + } + +-TEST_F(SimpleCU, UnnamedFunction) { ++TEST_F(SimpleCU, DISABLED_UnnamedFunction) { + EXPECT_CALL(reporter_, UnnamedFunction(0xe34797c7e68590a8LL)) + .WillOnce(Return()); + PushLine(0x72b80e41a0ac1d40ULL, 0x537174f231ee181cULL, "line-file", 14044850); +@@ -1573,7 +1573,7 @@ + EXPECT_STREQ("class_A::member_func_B", functions[0]->name.str().c_str()); + } + +-TEST_F(Specifications, UnhandledInterCU) { ++TEST_F(Specifications, DISABLED_UnhandledInterCU) { + Module m("module-name", "module-os", "module-arch", "module-id"); + DwarfCUToModule::FileContext fc("dwarf-filename", &m, false); + EXPECT_CALL(reporter_, UncoveredFunction(_)).WillOnce(Return()); +@@ -1630,7 +1630,7 @@ + } + } + +-TEST_F(Specifications, BadOffset) { ++TEST_F(Specifications, DISABLED_BadOffset) { + PushLine(0xa0277efd7ce83771ULL, 0x149554a184c730c1ULL, "line-file", 56636272); + EXPECT_CALL(reporter_, UnknownSpecification(_, 0x2be953efa6f9a996ULL)) + .WillOnce(Return()); +--- a/src/common/module_unittest.cc 2022-06-06 21:33:46.167486242 +0200 ++++ b/src/common/module_unittest.cc 2022-06-06 21:34:02.480286684 +0200 +@@ -427,7 +427,7 @@ + contents.c_str()); + } + +-TEST(Construct, FunctionsWithSameAddress) { ++TEST(Construct, DISABLED_FunctionsWithSameAddress) { + stringstream s; + Module m(MODULE_NAME, MODULE_OS, MODULE_ARCH, MODULE_ID); + |