diff options
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 \ |