diff options
author | Pacho Ramos <pacho@gentoo.org> | 2018-06-24 18:07:10 +0200 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2018-06-24 18:21:25 +0200 |
commit | 748fc25d0e2d4c2f05d888bce4ade841383202e0 (patch) | |
tree | cf25fab4b73891d877259a419d0e3bc02172d92d /x11-libs/xpa | |
parent | dev-python/pyds9: Support python3.6 (diff) | |
download | gentoo-748fc25d0e2d4c2f05d888bce4ade841383202e0.tar.gz gentoo-748fc25d0e2d4c2f05d888bce4ade841383202e0.tar.bz2 gentoo-748fc25d0e2d4c2f05d888bce4ade841383202e0.zip |
x11-libs/xpa: Fix building (#637346 by Matt Hartley)
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'x11-libs/xpa')
-rw-r--r-- | x11-libs/xpa/files/xpa-2.1.18-include.patch | 14 | ||||
-rw-r--r-- | 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 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<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 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 |