The interix patch no longer seems to apply, and IRIX MIPSpro CC can't make use of c99 header files, so the ebuild changes required are: --- gnutls-2.9.1.ebuild +++ gnutls-2.9.1.ebuild @@ -26,7 +26,7 @@ # GPL-3 for the gnutls-extras library and LGPL for the gnutls library. LICENSE="LGPL-2.1 GPL-3" SLOT="0" -KEYWORDS="~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris" +KEYWORDS="~mips-irix ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris" IUSE="bindist +cxx doc examples guile lzo nls zlib" RDEPEND="dev-libs/libgpg-error @@ -54,7 +54,8 @@ src_prepare() { sed -e 's/imagesdir = $(infodir)/imagesdir = $(htmldir)/' -i doc/Makefile.am - epatch "${FILESDIR}"/${PN}-2.5.3-interix.patch + #epatch "${FILESDIR}"/${PN}-2.5.3-interix.patch + [[ ${CHOST} == *-irix* ]] && epatch "${FILESDIR}"/${PN}-2.9.0-irix.patch local dir for dir in m4 lib/m4 libextra/m4; do @@ -72,6 +73,9 @@ src_configure() { local myconf + + use cxx && [[ ${CHOST} == *-irix* ]] && export ac_cv_header_stdint_h=no + use bindist && myconf="--without-lzo" || myconf="$(use_with lzo)" econf --htmldir="${EPREFIX}"/usr/share/doc/${P}/html \ $(use_enable cxx) \
Created attachment 195820 [details, diff] Patch to allow gnutls to build with MIPSpro compilers MIPSpro doesn't like much of the pointer-arithmetic that GCC will accept... (This patch should be 64-bit safe)
in the tree, thanks