commit: 748fc25d0e2d4c2f05d888bce4ade841383202e0
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 24 16:07:10 2018 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Jun 24 16:21:25 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=748fc25d
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(-)
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 00000000000..f020e1815be
--- /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<stdint.h>
++
+ #include <xpap.h>
+
+ #if HAVE_TCL
diff --git a/x11-libs/xpa/xpa-2.1.18.ebuild b/x11-libs/xpa/xpa-2.1.18.ebuild
index 45e6b4b73df..7a48a43e10e 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