From: Pacho Ramos Date: Sun, 24 Jun 2018 16:07:10 +0000 (+0200) Subject: x11-libs/xpa: Fix building (#637346 by Matt Hartley) X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=748fc25d0e2d4c2f05d888bce4ade841383202e0;p=gentoo.git x11-libs/xpa: Fix building (#637346 by Matt Hartley) Package-Manager: Portage-2.3.40, Repoman-2.3.9 --- diff --git a/x11-libs/xpa/files/xpa-2.1.18-include.patch b/x11-libs/xpa/files/xpa-2.1.18-include.patch new file mode 100644 index 000000000000..f020e1815bec --- /dev/null +++ b/x11-libs/xpa/files/xpa-2.1.18-include.patch @@ -0,0 +1,14 @@ +diff --git a/tcl.c b/tcl.c +index 1dbdad4..acc8d45 100644 +--- a/tcl.c ++++ b/tcl.c +@@ -2,6 +2,9 @@ + * Copyright (c) 1999-2003 Smithsonian Astrophysical Observatory + */ + ++//declares uintptr_t ++#include ++ + #include + + #if HAVE_TCL diff --git a/x11-libs/xpa/xpa-2.1.18.ebuild b/x11-libs/xpa/xpa-2.1.18.ebuild index 45e6b4b73df2..7a48a43e10e7 100644 --- a/x11-libs/xpa/xpa-2.1.18.ebuild +++ b/x11-libs/xpa/xpa-2.1.18.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -19,7 +19,10 @@ RDEPEND=" x11-libs/libXt:0" DEPEND="${RDEPEND}" -PATCHES=( "${FILESDIR}"/${PN}-2.1.18-makefile.patch ) +PATCHES=( + "${FILESDIR}"/${PN}-2.1.18-makefile.patch + "${FILESDIR}"/${PN}-2.1.18-include.patch #637346 +) src_prepare() { default