From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0AE87138334 for ; Thu, 8 Aug 2019 19:37:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3D71DE07FA; Thu, 8 Aug 2019 19:37:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1F93EE07FA for ; Thu, 8 Aug 2019 19:37:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7AF5B3496B5 for ; Thu, 8 Aug 2019 19:37:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 96C5C2A5 for ; Thu, 8 Aug 2019 19:37:17 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1565292994.c6e0e902966bbf67aed4887343e38cc5a778db9e.ulm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/jove/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-editors/jove/jove-4.16.0.73-r1.ebuild X-VCS-Directories: app-editors/jove/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: c6e0e902966bbf67aed4887343e38cc5a778db9e X-VCS-Branch: master Date: Thu, 8 Aug 2019 19:37:17 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5a24e708-a8f1-4660-a0f8-21fb91328908 X-Archives-Hash: 58ec872ad4e0a6cf5a9a8d3d80f2136c commit: c6e0e902966bbf67aed4887343e38cc5a778db9e Author: Ulrich Müller gentoo org> AuthorDate: Thu Aug 8 19:35:24 2019 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Thu Aug 8 19:36:34 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6e0e902 app-editors/jove: Fix compilation with glibc-2.30. glibc-2.30 no longer provides stropts.h, which shouldn't have been included in the first place. Suppress its loading (in iproc.c) by defining _XOPEN_STREAMS=-1. Bump EAPI to 7. Closes: https://bugs.gentoo.org/691760 Package-Manager: Portage-2.3.71, Repoman-2.3.17 Signed-off-by: Ulrich Müller gentoo.org> app-editors/jove/jove-4.16.0.73-r1.ebuild | 51 +++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/app-editors/jove/jove-4.16.0.73-r1.ebuild b/app-editors/jove/jove-4.16.0.73-r1.ebuild new file mode 100644 index 00000000000..3ff695ea5c7 --- /dev/null +++ b/app-editors/jove/jove-4.16.0.73-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="Jonathan's Own Version of Emacs, a light emacs-like editor without LISP bindings" +HOMEPAGE="ftp://ftp.cs.toronto.edu/cs/ftp/pub/hugh/jove-dev/" +SRC_URI="ftp://ftp.cs.toronto.edu/cs/ftp/pub/hugh/jove-dev/${PN}${PV}.tgz" + +LICENSE="JOVE" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="doc" + +RDEPEND="sys-libs/ncurses:0=" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +S="${WORKDIR}/${PN}${PV}" + +PATCHES=( + "${FILESDIR}"/${PN}-4.16.0.70.3.1-getline.patch + "${FILESDIR}"/${P}-build.patch + "${FILESDIR}"/${P}-sendmail.patch + "${FILESDIR}"/${P}-doc.patch +) + +src_compile() { + tc-export CC + + emake OPTFLAGS="${CFLAGS}" \ + SYSDEFS="-DSYSVR4 -D_XOPEN_SOURCE=500 -D_XOPEN_STREAMS=-1" \ + TERMCAPLIB="$("$(tc-getPKG_CONFIG)" --libs ncurses)" + + if use doc; then + # Full manual (*not* man page) + emake doc/jove.man + fi +} + +src_install() { + emake DESTDIR="${D}" install + keepdir /var/lib/jove/preserve + + dodoc README + if use doc; then + dodoc doc/jove.man + fi +}