[gentoo-commits] repo/gentoo:master commit in: dev-util/breakpad/files/

2023-11-08 Thread Alfredo Tupone
commit: a16045415529a42c4d748fbfb581b1e5df2fa80b
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Thu Nov  9 06:02:33 2023 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Thu Nov  9 06:03:31 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1604541

dev-util/breakpad: build with gcc:14

Closes: https://bugs.gentoo.org/917036
Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-util/breakpad/files/breakpad-2023.01.27-gentoo.patch | 10 ++
 1 file changed, 10 insertions(+)

diff --git a/dev-util/breakpad/files/breakpad-2023.01.27-gentoo.patch 
b/dev-util/breakpad/files/breakpad-2023.01.27-gentoo.patch
index 83a4e824c970..79d50e288989 100644
--- a/dev-util/breakpad/files/breakpad-2023.01.27-gentoo.patch
+++ b/dev-util/breakpad/files/breakpad-2023.01.27-gentoo.patch
@@ -117,3 +117,13 @@
  
  namespace {
  
+--- a/src/common/module.cc 2023-11-09 06:57:57.891443802 +0100
 b/src/common/module.cc 2023-11-09 06:58:16.688120866 +0100
+@@ -42,6 +42,7 @@
+ #include 
+ #include 
+ #include 
++#include 
+ 
+ namespace google_breakpad {
+ 



[gentoo-commits] repo/gentoo:master commit in: dev-util/breakpad/files/, dev-util/breakpad/

2022-06-08 Thread Alfredo Tupone
commit: 3d684962034c1477ea4d52c6d54266539aa7ecd3
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Wed Jun  8 17:26:35 2022 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Wed Jun  8 17:26:35 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d684962

dev-util/breakpad: add to tree

Closes: https://bugs.gentoo.org/428024
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-util/breakpad/Manifest |   1 +
 dev-util/breakpad/breakpad-2022.06.04.ebuild   |  58 ++
 .../files/breakpad-2022.06.04-gentoo.patch | 119 +
 .../breakpad/files/breakpad-2022.06.04-test.patch  |  49 +
 dev-util/breakpad/metadata.xml |  11 ++
 5 files changed, 238 insertions(+)

diff --git a/dev-util/breakpad/Manifest b/dev-util/breakpad/Manifest
new file mode 100644
index ..90aef3b97f99
--- /dev/null
+++ b/dev-util/breakpad/Manifest
@@ -0,0 +1 @@
+DIST breakpad-2022.06.04.tar.gz 5365322 BLAKE2B 
eec33092a9a75161d16554af22276195945f3e1c7ce9590f89010a4d11484fe4327849c1717e159a9e019ca44d437b601b7080c68bba8c95111b97d6662dfc3f
 SHA512 
150e5e955dc9de55d5cb4c726ae6f1a2e79e9f7bb283bae2ba835b684e7fd7532a7070e9ba982b66b68c936592bc48550a22ed8ac40e829b11aa80530f338749

diff --git a/dev-util/breakpad/breakpad-2022.06.04.ebuild 
b/dev-util/breakpad/breakpad-2022.06.04.ebuild
new file mode 100644
index ..5ece68f46de2
--- /dev/null
+++ b/dev-util/breakpad/breakpad-2022.06.04.ebuild
@@ -0,0 +1,58 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+CommitId=41a11409d6ba04e308adc66f5a33115e2d7c9174
+DESCRIPTION="implement a crash-reporting system."
+HOMEPAGE="https://https://chromium.googlesource.com/breakpad/breakpad/;
+SRC_URI="https://github.com/google/${PN}/archive/${CommitId}.tar.gz
+   -> ${P}.tar.gz"
+
+LICENSE="BSD BSD-4"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+RDEPEND="
+   net-misc/curl
+"
+DEPEND="${RDEPEND}
+   dev-libs/linux-syscall-support
+   dev-embedded/libdisasm
+"
+BDEPEND="test? ( dev-cpp/gtest )"
+RESTRICT="!test? ( test )"
+
+S="${WORKDIR}"/${PN}-${CommitId}
+
+PATCHES=(
+   "${FILESDIR}"/${P}-test.patch
+   "${FILESDIR}"/${P}-gentoo.patch
+)
+
+src_prepare() {
+   default
+   sed -i \
+   -e 's|"third_party/lss\(.*\)"||' \
+   $(find src -name '*.cc' -o -name '*.h') \
+   || die
+   sed -i \
+   -e '/includelss/d' \
+   -e '/third_party\/curl/d' \
+   Makefile.am \
+   || die
+   sed -i \
+   -e "/AC_INIT/s:0.1:${PVR}:" \
+   configure.ac \
+   || die
+   eautoreconf
+}
+
+src_configure() {
+   econf \
+   --enable-system-test-libs \
+   || die
+}

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 ..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 
+ 
+ #include "common/using_std_string.h"
+-#include "third_party/curl/curl.h"
++#include 
+ 
+ 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 
+ #include 
+-#include "third_party/curl/curl.h"
++#include 
+ 
+ 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 
+ }
+ 
+ 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 \
++