commit: f497a7ea4495d150d7cb6bd8999d35e781c915a3 Author: Justin Lecher <jlec <AT> gentoo <DOT> org> AuthorDate: Mon Feb 22 10:58:22 2016 +0000 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> CommitDate: Mon Feb 22 10:58:22 2016 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=f497a7ea
app-text/dgs: Bump to EAPI=6 * Amend patches for -p1 Package-Manager: portage-2.2.27 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> app-text/dgs/dgs-0.5.10-r2.ebuild | 12 ++++++++---- app-text/dgs/files/dgs-0.5.10-gcc-3.4.diff | 8 ++++---- app-text/dgs/files/dgs-0.5.10-gs-time_.h-gentoo.diff | 4 ++-- app-text/dgs/files/dgs-fix-as-needed.patch | 4 ++-- 4 files changed, 16 insertions(+), 12 deletions(-) diff --git a/app-text/dgs/dgs-0.5.10-r2.ebuild b/app-text/dgs/dgs-0.5.10-r2.ebuild index e94540b..35de192 100644 --- a/app-text/dgs/dgs-0.5.10-r2.ebuild +++ b/app-text/dgs/dgs-0.5.10-r2.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ # Upstream is dead. -EAPI=5 +EAPI=6 WANT_AUTOCONF="2.1" @@ -13,10 +13,12 @@ inherit autotools eutils DESCRIPTION="A Ghostscript based Display Postscript (DPS) server" HOMEPAGE="http://www.gnustep.org/developers/DGS.html" SRC_URI="ftp://ftp.gnustep.org/pub/gnustep/old/dgs/${P}.tar.gz" + LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~ppc ~sparc ~alpha ~amd64 ~hppa ~mips ~ppc64 ~ia64" IUSE="tcpd" + RDEPEND=" dev-libs/glib:1 !<x11-base/xorg-x11-7" @@ -26,15 +28,17 @@ DEPEND="${RDEPEND} DOCS=( ANNOUNCE ChangeLog FAQ NEWS NOTES README STATUS TODO Version ) -src_prepare() { - epatch \ +PATCHES=( "${FILESDIR}"/${P}-gs-time_.h-gentoo.diff \ "${FILESDIR}"/${P}-tcpd-gentoo.diff \ "${FILESDIR}"/${P}-gcc-3.4.diff \ "${FILESDIR}"/${P}-fix-table-bullet.diff \ "${FILESDIR}"/${PV}-workaround-include-in-comments.patch \ "${FILESDIR}"/${PN}-fix-as-needed.patch +) +src_prepare() { + default eautoconf export MAKEOPTS+=" -j1" } diff --git a/app-text/dgs/files/dgs-0.5.10-gcc-3.4.diff b/app-text/dgs/files/dgs-0.5.10-gcc-3.4.diff index e66ab47..ec6492e 100644 --- a/app-text/dgs/files/dgs-0.5.10-gcc-3.4.diff +++ b/app-text/dgs/files/dgs-0.5.10-gcc-3.4.diff @@ -1,5 +1,5 @@ ---- DPS/clients/makepsres/makepsres.c.old 2004-04-22 19:48:50.568331512 +0100 -+++ DPS/clients/makepsres/makepsres.c 2004-04-22 19:50:34.076595864 +0100 +--- a/DPS/clients/makepsres/makepsres.c.old 2004-04-22 19:48:50.568331512 +0100 ++++ b/DPS/clients/makepsres/makepsres.c 2004-04-22 19:50:34.076595864 +0100 @@ -124,8 +124,6 @@ char *program; @@ -9,8 +9,8 @@ #if !defined(__NetBSD__) && !defined(__FreeBSD__) # if !defined(__GLIBC__) extern char *sys_errlist[]; ---- DPS/clients/pswrap/psw.c.old 2004-04-22 19:54:13.609221832 +0100 -+++ DPS/clients/pswrap/psw.c 2004-04-22 19:54:39.149339144 +0100 +--- a/DPS/clients/pswrap/psw.c.old 2004-04-22 19:54:13.609221832 +0100 ++++ b/DPS/clients/pswrap/psw.c 2004-04-22 19:54:39.149339144 +0100 @@ -1906,7 +1906,6 @@ char *psw_malloc(s) int s; { diff --git a/app-text/dgs/files/dgs-0.5.10-gs-time_.h-gentoo.diff b/app-text/dgs/files/dgs-0.5.10-gs-time_.h-gentoo.diff index d02bcf3..488eaf0 100644 --- a/app-text/dgs/files/dgs-0.5.10-gs-time_.h-gentoo.diff +++ b/app-text/dgs/files/dgs-0.5.10-gs-time_.h-gentoo.diff @@ -1,5 +1,5 @@ ---- gs/time_.h~ Thu Apr 1 07:31:53 1999 -+++ gs/time_.h Wed Mar 14 17:11:12 2001 +--- a/gs/time_.h Thu Apr 1 07:31:53 1999 ++++ b/gs/time_.h Wed Mar 14 17:11:12 2001 @@ -43,9 +43,7 @@ */ #ifdef HAVE_SYS_TIME_H diff --git a/app-text/dgs/files/dgs-fix-as-needed.patch b/app-text/dgs/files/dgs-fix-as-needed.patch index 69e432c..ac13cb7 100644 --- a/app-text/dgs/files/dgs-fix-as-needed.patch +++ b/app-text/dgs/files/dgs-fix-as-needed.patch @@ -1,5 +1,5 @@ ---- DPS/lib/dpstk/Makefile.in~ 2000-06-16 05:54:36.000000000 +0200 -+++ DPS/lib/dpstk/Makefile.in 2009-09-17 22:18:34.417953240 +0200 +--- a/DPS/lib/dpstk/Makefile.in~ 2000-06-16 05:54:36.000000000 +0200 ++++ b/DPS/lib/dpstk/Makefile.in 2009-09-17 22:18:34.417953240 +0200 @@ -96,7 +96,7 @@ libdpstk_la_SOURCES = $(dps_sources) XDPSshare.c XDPSpreview.c XDPSuserpath.c FontSBI.h dpsXcommonI.h
