1 |
commit: 733f7602278ced39413767a3a3d95d3f86abc633 |
2 |
Author: Christoph Junghans <junghans <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 21 15:54:44 2022 +0000 |
4 |
Commit: Christoph Junghans <junghans <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 21 15:55:07 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=733f7602 |
7 |
|
8 |
net-misc/grive: fix gcc-12 build |
9 |
|
10 |
Closes: https://bugs.gentoo.org/840547 |
11 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
12 |
Signed-off-by: Christoph Junghans <junghans <AT> gentoo.org> |
13 |
|
14 |
net-misc/grive/files/363.patch | 21 ++++++++++++++ |
15 |
net-misc/grive/grive-0.5.2_pre20211128-r1.ebuild | 37 ++++++++++++++++++++++++ |
16 |
2 files changed, 58 insertions(+) |
17 |
|
18 |
diff --git a/net-misc/grive/files/363.patch b/net-misc/grive/files/363.patch |
19 |
new file mode 100644 |
20 |
index 000000000000..c3e57460f386 |
21 |
--- /dev/null |
22 |
+++ b/net-misc/grive/files/363.patch |
23 |
@@ -0,0 +1,21 @@ |
24 |
+From 3cf1c058a3e61deb370dde36024a106a213ab2c6 Mon Sep 17 00:00:00 2001 |
25 |
+From: Christoph Junghans <junghans@g.o> |
26 |
+Date: Sat, 21 May 2022 09:36:52 -0600 |
27 |
+Subject: [PATCH] Syncer.hh: fix build with gcc-12 |
28 |
+ |
29 |
+--- |
30 |
+ libgrive/src/base/Syncer.hh | 1 + |
31 |
+ 1 file changed, 1 insertion(+) |
32 |
+ |
33 |
+diff --git a/libgrive/src/base/Syncer.hh b/libgrive/src/base/Syncer.hh |
34 |
+index 237b8949..9b6ae4f7 100644 |
35 |
+--- a/libgrive/src/base/Syncer.hh |
36 |
++++ b/libgrive/src/base/Syncer.hh |
37 |
+@@ -21,6 +21,7 @@ |
38 |
+ |
39 |
+ #include "util/FileSystem.hh" |
40 |
+ |
41 |
++#include <memory> |
42 |
+ #include <string> |
43 |
+ #include <vector> |
44 |
+ #include <iosfwd> |
45 |
|
46 |
diff --git a/net-misc/grive/grive-0.5.2_pre20211128-r1.ebuild b/net-misc/grive/grive-0.5.2_pre20211128-r1.ebuild |
47 |
new file mode 100644 |
48 |
index 000000000000..c656088b952d |
49 |
--- /dev/null |
50 |
+++ b/net-misc/grive/grive-0.5.2_pre20211128-r1.ebuild |
51 |
@@ -0,0 +1,37 @@ |
52 |
+# Copyright 1999-2022 Gentoo Authors |
53 |
+# Distributed under the terms of the GNU General Public License v2 |
54 |
+ |
55 |
+EAPI=7 |
56 |
+ |
57 |
+inherit cmake |
58 |
+ |
59 |
+if [[ ${PV} = *9999 ]]; then |
60 |
+ inherit git-r3 |
61 |
+ EGIT_REPO_URI="https://github.com/vitalif/${PN}2.git" |
62 |
+else |
63 |
+ inherit vcs-snapshot |
64 |
+ COMMIT="6901fbb169eaae51acb61778760ba2ac019675ae" |
65 |
+ SRC_URI="https://github.com/vitalif/${PN}2/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" |
66 |
+fi |
67 |
+ |
68 |
+DESCRIPTION="An open source Linux client for Google Drive" |
69 |
+HOMEPAGE="https://github.com/vitalif/grive2" |
70 |
+ |
71 |
+LICENSE="GPL-2" |
72 |
+SLOT="0" |
73 |
+KEYWORDS="~amd64 ~x86" |
74 |
+IUSE="" |
75 |
+ |
76 |
+RDEPEND=" |
77 |
+ dev-libs/boost:= |
78 |
+ dev-libs/expat |
79 |
+ >=dev-libs/json-c-0.11-r1:= |
80 |
+ dev-libs/libgcrypt:0= |
81 |
+ dev-libs/yajl |
82 |
+ || ( net-misc/curl[curl_ssl_openssl] net-misc/curl[curl_ssl_gnutls] ) |
83 |
+ sys-libs/binutils-libs:0= |
84 |
+ sys-libs/glibc |
85 |
+" |
86 |
+DEPEND="${RDEPEND}" |
87 |
+ |
88 |
+PATCHES=( "${FILESDIR}/363.patch" ) |