diff options
author | Gilles Dartiguelongue <eva@gentoo.org> | 2018-11-17 16:41:56 +0100 |
---|---|---|
committer | Gilles Dartiguelongue <eva@gentoo.org> | 2018-11-17 18:20:30 +0100 |
commit | 19fe0fb2dd2923d24caeee5d5e3b0d921b3360a0 (patch) | |
tree | bfbbb60b376cfb646e975398336d33a85c3c1821 /x11-libs/goffice | |
parent | x11-libs/goffice: fix minor issues from user contrib (diff) | |
download | gentoo-19fe0fb2dd2923d24caeee5d5e3b0d921b3360a0.tar.gz gentoo-19fe0fb2dd2923d24caeee5d5e3b0d921b3360a0.tar.bz2 gentoo-19fe0fb2dd2923d24caeee5d5e3b0d921b3360a0.zip |
x11-libs/goffice: fix unittest build failure
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Signed-off-by: Gilles Dartiguelongue <eva@gentoo.org>
Diffstat (limited to 'x11-libs/goffice')
-rw-r--r-- | x11-libs/goffice/files/0.10.43-unittest-build-failure.patch | 21 | ||||
-rw-r--r-- | x11-libs/goffice/goffice-0.10.43.ebuild | 5 |
2 files changed, 26 insertions, 0 deletions
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 new file mode 100644 index 000000000000..8b9e89c3cf13 --- /dev/null +++ b/x11-libs/goffice/files/0.10.43-unittest-build-failure.patch @@ -0,0 +1,21 @@ +From 54098b6cd7dddc573b937f45048dd8a434f581af Mon Sep 17 00:00:00 2001 +From: Gilles Dartiguelongue <eva@gentoo.org> +Date: Sat, 17 Nov 2018 16:30:30 +0100 +Subject: [PATCH] Add missing string.h include + +--- + tests/test-quad.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/tests/test-quad.c b/tests/test-quad.c +index 49d751e8..379d91ed 100644 +--- a/tests/test-quad.c ++++ b/tests/test-quad.c +@@ -1,3 +1,4 @@ ++#include <string.h> + #include <goffice/goffice.h> + + // A rather expensive way of forcing the compiler to drop any excess +-- +2.19.1 + diff --git a/x11-libs/goffice/goffice-0.10.43.ebuild b/x11-libs/goffice/goffice-0.10.43.ebuild index 33e79cd91532..690248f0287f 100644 --- a/x11-libs/goffice/goffice-0.10.43.ebuild +++ b/x11-libs/goffice/goffice-0.10.43.ebuild @@ -43,6 +43,11 @@ DEPEND="${RDEPEND} virtual/pkgconfig " +PATCHES=( + # https://gitlab.gnome.org/GNOME/goffice/merge_requests/2 + "${FILESDIR}"/${PV}-unittest-build-failure.patch +) + src_configure() { gnome2_src_configure \ --without-lasem \ |