Gentoo Archives: gentoo-commits

From: Gilles Dartiguelongue <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-libs/goffice/, x11-libs/goffice/files/
Date: Sat, 17 Nov 2018 17:22:16
Message-Id: 1542475230.19fe0fb2dd2923d24caeee5d5e3b0d921b3360a0.eva@gentoo
1 commit: 19fe0fb2dd2923d24caeee5d5e3b0d921b3360a0
2 Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
3 AuthorDate: Sat Nov 17 15:41:56 2018 +0000
4 Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
5 CommitDate: Sat Nov 17 17:20:30 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19fe0fb2
7
8 x11-libs/goffice: fix unittest build failure
9
10 Package-Manager: Portage-2.3.51, Repoman-2.3.11
11 Signed-off-by: Gilles Dartiguelongue <eva <AT> gentoo.org>
12
13 .../files/0.10.43-unittest-build-failure.patch | 21 +++++++++++++++++++++
14 x11-libs/goffice/goffice-0.10.43.ebuild | 5 +++++
15 2 files changed, 26 insertions(+)
16
17 diff --git a/x11-libs/goffice/files/0.10.43-unittest-build-failure.patch b/x11-libs/goffice/files/0.10.43-unittest-build-failure.patch
18 new file mode 100644
19 index 00000000000..8b9e89c3cf1
20 --- /dev/null
21 +++ b/x11-libs/goffice/files/0.10.43-unittest-build-failure.patch
22 @@ -0,0 +1,21 @@
23 +From 54098b6cd7dddc573b937f45048dd8a434f581af Mon Sep 17 00:00:00 2001
24 +From: Gilles Dartiguelongue <eva@g.o>
25 +Date: Sat, 17 Nov 2018 16:30:30 +0100
26 +Subject: [PATCH] Add missing string.h include
27 +
28 +---
29 + tests/test-quad.c | 1 +
30 + 1 file changed, 1 insertion(+)
31 +
32 +diff --git a/tests/test-quad.c b/tests/test-quad.c
33 +index 49d751e8..379d91ed 100644
34 +--- a/tests/test-quad.c
35 ++++ b/tests/test-quad.c
36 +@@ -1,3 +1,4 @@
37 ++#include <string.h>
38 + #include <goffice/goffice.h>
39 +
40 + // A rather expensive way of forcing the compiler to drop any excess
41 +--
42 +2.19.1
43 +
44
45 diff --git a/x11-libs/goffice/goffice-0.10.43.ebuild b/x11-libs/goffice/goffice-0.10.43.ebuild
46 index 33e79cd9153..690248f0287 100644
47 --- a/x11-libs/goffice/goffice-0.10.43.ebuild
48 +++ b/x11-libs/goffice/goffice-0.10.43.ebuild
49 @@ -43,6 +43,11 @@ DEPEND="${RDEPEND}
50 virtual/pkgconfig
51 "
52
53 +PATCHES=(
54 + # https://gitlab.gnome.org/GNOME/goffice/merge_requests/2
55 + "${FILESDIR}"/${PV}-unittest-build-failure.patch
56 +)
57 +
58 src_configure() {
59 gnome2_src_configure \
60 --without-lasem \