From 748fc25d0e2d4c2f05d888bce4ade841383202e0 Mon Sep 17 00:00:00 2001 From: Pacho Ramos Date: Sun, 24 Jun 2018 18:07:10 +0200 Subject: [PATCH] x11-libs/xpa: Fix building (#637346 by Matt Hartley) Package-Manager: Portage-2.3.40, Repoman-2.3.9 --- x11-libs/xpa/files/xpa-2.1.18-include.patch | 14 ++++++++++++++ x11-libs/xpa/xpa-2.1.18.ebuild | 7 +++++-- 2 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 x11-libs/xpa/files/xpa-2.1.18-include.patch 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 -- 2.26.2