[gentoo-commits] repo/gentoo:master commit in: app-emulation/xtrs/

2022-12-27 Thread Andreas Sturmlechner
commit: 0298f3911008eb62b4bb11bdba84ee6de8d165f7
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Mon Dec 26 07:45:22 2022 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Tue Dec 27 12:03:47 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0298f391

app-emulation/xtrs: drop 4.9d-r5

Closes: https://bugs.gentoo.org/888439
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 app-emulation/xtrs/xtrs-4.9d-r5.ebuild | 80 --
 1 file changed, 80 deletions(-)

diff --git a/app-emulation/xtrs/xtrs-4.9d-r5.ebuild 
b/app-emulation/xtrs/xtrs-4.9d-r5.ebuild
deleted file mode 100644
index 4785a873f452..
--- a/app-emulation/xtrs/xtrs-4.9d-r5.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit flag-o-matic toolchain-funcs readme.gentoo-r1
-
-DESCRIPTION="Radio Shack TRS-80 emulator"
-HOMEPAGE="https://www.tim-mann.org/xtrs.html;
-SRC_URI="https://www.tim-mann.org/trs80/${P}.tar.gz
-   ls-dos? (
-   https://www.tim-mann.org/trs80/ld4-631.zip
-   https://dev.gentoo.org/~ulm/distfiles/ld4-631l.xd3
-   )"
-
-LICENSE="xtrs ls-dos? ( freedist )"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE="ls-dos"
-RESTRICT="ls-dos? ( bindist )"
-
-RDEPEND="sys-libs/ncurses:0=
-   sys-libs/readline:0=
-   x11-libs/libX11"
-DEPEND="${RDEPEND}
-   ls-dos? ( app-arch/unzip dev-util/xdelta:3 )"
-
-PATCHES=("${FILESDIR}"/${P}-lcmod.patch)
-
-src_prepare() {
-   default
-   sed -i -e 's/$(CC) -o/$(CC) $(LDFLAGS) -o/' Makefile || die
-   if use ls-dos; then
-   cd "${WORKDIR}" || die
-   xdelta3 -d -s ld4-631.dsk "${DISTDIR}"/ld4-631l.xd3 out.dsk || 
die
-   mv out.dsk ld4-631.dsk || die
-   fi
-}
-
-src_compile() {
-   case $(tc-endian) in
-   little) ;;
-   big) append-flags -Dbig_endian ;;
-   *) die ;;
-   esac
-   emake CC="$(tc-getCC)" DEBUG="${CFLAGS}" LDFLAGS="${LDFLAGS}"
-}
-
-src_install() {
-   dodir /usr/bin /usr/share/xtrs/disks /usr/share/man/man1
-   emake PREFIX="${D}"/usr install
-
-   insopts -m0444
-   insinto /usr/share/xtrs/disks
-   doins cpmutil.dsk utility.dsk
-
-   if use ls-dos; then
-   doins "${WORKDIR}"/ld4-631.dsk
-   dosym disks/ld4-631.dsk /usr/share/xtrs/disk4p-0
-   dosym disks/utility.dsk /usr/share/xtrs/disk4p-1
-   fi
-
-   dodoc ChangeLog README xtrsrom4p.README cpmutil.html dskspec.html
-
-   DOC_CONTENTS="For copyright reasons, xtrs does not include actual ROM
-   images. Because of this, unless you supply your own ROM, xtrs 
will
-   not function in any mode except 'Model 4p' mode (a minimal free 
ROM
-   is included for this), which can be run like this:
-   \n\nxtrs -model 4p -diskdir /usr/share/xtrs
-   \n\nIf you already own a copy of the ROM software (e.g., if you 
have
-   a TRS-80 with this ROM), then you can make yourself a copy of 
this
-   for use with xtrs, using utilities available on the web. To load
-   your own ROM, specify the '-romfile' option, or the 
'Xtrs.romfile'
-   X resource. ROM files can be in Intel hex or binary format."
-   readme.gentoo_create_doc
-}
-
-pkg_postinst() {
-   readme.gentoo_print_elog
-}



[gentoo-commits] repo/gentoo:master commit in: app-emulation/xtrs/

2022-12-25 Thread Sam James
commit: 3907a58f1d49fe8d79e3dd713bf4666a2f612b51
Author: Sam James  gentoo  org>
AuthorDate: Mon Dec 26 03:54:10 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Dec 26 03:54:10 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3907a58f

app-emulation/xtrs: Stabilize 4.9d-r6 x86, #888439

Signed-off-by: Sam James  gentoo.org>

 app-emulation/xtrs/xtrs-4.9d-r6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-emulation/xtrs/xtrs-4.9d-r6.ebuild 
b/app-emulation/xtrs/xtrs-4.9d-r6.ebuild
index 0d07d97f9ccf..0ed2d6293064 100644
--- a/app-emulation/xtrs/xtrs-4.9d-r6.ebuild
+++ b/app-emulation/xtrs/xtrs-4.9d-r6.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://www.tim-mann.org/trs80/${P}.tar.gz
 
 LICENSE="xtrs ls-dos? ( freedist )"
 SLOT="0"
-KEYWORDS="amd64 ppc ~x86"
+KEYWORDS="amd64 ppc x86"
 IUSE="ls-dos"
 RESTRICT="ls-dos? ( bindist )"
 



[gentoo-commits] repo/gentoo:master commit in: app-emulation/xtrs/

2022-12-25 Thread Sam James
commit: fa335798d7ff68abdad56e8ac96d3731c736bce9
Author: Sam James  gentoo  org>
AuthorDate: Mon Dec 26 03:19:33 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Dec 26 03:19:33 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa335798

app-emulation/xtrs: Stabilize 4.9d-r6 amd64, #888439

Signed-off-by: Sam James  gentoo.org>

 app-emulation/xtrs/xtrs-4.9d-r6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-emulation/xtrs/xtrs-4.9d-r6.ebuild 
b/app-emulation/xtrs/xtrs-4.9d-r6.ebuild
index 496dadcf63af..0d07d97f9ccf 100644
--- a/app-emulation/xtrs/xtrs-4.9d-r6.ebuild
+++ b/app-emulation/xtrs/xtrs-4.9d-r6.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://www.tim-mann.org/trs80/${P}.tar.gz
 
 LICENSE="xtrs ls-dos? ( freedist )"
 SLOT="0"
-KEYWORDS="~amd64 ppc ~x86"
+KEYWORDS="amd64 ppc ~x86"
 IUSE="ls-dos"
 RESTRICT="ls-dos? ( bindist )"
 



[gentoo-commits] repo/gentoo:master commit in: app-emulation/xtrs/

2022-12-25 Thread Sam James
commit: c47783b0f94813080cb5c59df676f14127ea248f
Author: Sam James  gentoo  org>
AuthorDate: Mon Dec 26 03:19:32 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Dec 26 03:19:32 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c47783b0

app-emulation/xtrs: Stabilize 4.9d-r6 ppc, #888439

Signed-off-by: Sam James  gentoo.org>

 app-emulation/xtrs/xtrs-4.9d-r6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-emulation/xtrs/xtrs-4.9d-r6.ebuild 
b/app-emulation/xtrs/xtrs-4.9d-r6.ebuild
index 21cc748c8465..496dadcf63af 100644
--- a/app-emulation/xtrs/xtrs-4.9d-r6.ebuild
+++ b/app-emulation/xtrs/xtrs-4.9d-r6.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://www.tim-mann.org/trs80/${P}.tar.gz
 
 LICENSE="xtrs ls-dos? ( freedist )"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
+KEYWORDS="~amd64 ppc ~x86"
 IUSE="ls-dos"
 RESTRICT="ls-dos? ( bindist )"
 



[gentoo-commits] repo/gentoo:master commit in: app-emulation/xtrs/files/, app-emulation/xtrs/

2022-10-07 Thread Ulrich Müller
commit: 05d74e303cc31b646efbb21db536371f38c42b58
Author: Ulrich Müller  gentoo  org>
AuthorDate: Fri Oct  7 07:57:07 2022 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Fri Oct  7 07:59:33 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05d74e30

app-emulation/xtrs: Add some type declarations to make the C99 gods happy

Closes: https://bugs.gentoo.org/875674
Signed-off-by: Ulrich Müller  gentoo.org>

 app-emulation/xtrs/files/xtrs-4.9d-implicit.patch | 35 ++
 app-emulation/xtrs/xtrs-4.9d-r6.ebuild| 83 +++
 2 files changed, 118 insertions(+)

diff --git a/app-emulation/xtrs/files/xtrs-4.9d-implicit.patch 
b/app-emulation/xtrs/files/xtrs-4.9d-implicit.patch
new file mode 100644
index ..959c3fb375a7
--- /dev/null
+++ b/app-emulation/xtrs/files/xtrs-4.9d-implicit.patch
@@ -0,0 +1,35 @@
+https://bugs.gentoo.org/875674
+
+--- xtrs-4.9d/trs_disk.c
 xtrs-4.9d/trs_disk.c
+@@ -3137,7 +3137,7 @@
+ }
+ 
+ void
+-real_restore(curdrive)
++real_restore(int curdrive)
+ {
+ #if __linux
+   DiskState *d = [curdrive];
+--- xtrs-4.9d/trs_memory.c
 xtrs-4.9d/trs_memory.c
+@@ -153,7 +153,7 @@
+ memory_map = which + (trs_model << 4) + (romin << 2);
+ }
+ 
+-void mem_romin(state)
++void mem_romin(int state)
+ {
+ romin = (state & 1);
+ memory_map = (memory_map & ~4) + (romin << 2);
+--- xtrs-4.9d/trs_printer.c
 xtrs-4.9d/trs_printer.c
+@@ -18,7 +18,7 @@
+ #include "z80.h"
+ #include "trs.h"
+ 
+-void trs_printer_write(value)
++void trs_printer_write(int value)
+ {
+ if(value == 0x0D)
+ {

diff --git a/app-emulation/xtrs/xtrs-4.9d-r6.ebuild 
b/app-emulation/xtrs/xtrs-4.9d-r6.ebuild
new file mode 100644
index ..21cc748c8465
--- /dev/null
+++ b/app-emulation/xtrs/xtrs-4.9d-r6.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic toolchain-funcs readme.gentoo-r1
+
+DESCRIPTION="Radio Shack TRS-80 emulator"
+HOMEPAGE="https://www.tim-mann.org/xtrs.html;
+SRC_URI="https://www.tim-mann.org/trs80/${P}.tar.gz
+   ls-dos? (
+   https://www.tim-mann.org/trs80/ld4-631.zip
+   https://dev.gentoo.org/~ulm/distfiles/ld4-631l.xd3
+   )"
+
+LICENSE="xtrs ls-dos? ( freedist )"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="ls-dos"
+RESTRICT="ls-dos? ( bindist )"
+
+RDEPEND="sys-libs/ncurses:0=
+   sys-libs/readline:0=
+   x11-libs/libX11"
+DEPEND="${RDEPEND}
+   ls-dos? ( app-arch/unzip dev-util/xdelta:3 )"
+
+PATCHES=(
+   "${FILESDIR}"/${P}-lcmod.patch
+   "${FILESDIR}"/${P}-implicit.patch
+)
+
+src_prepare() {
+   default
+   sed -i -e 's/$(CC) -o/$(CC) $(LDFLAGS) -o/' Makefile || die
+   if use ls-dos; then
+   cd "${WORKDIR}" || die
+   xdelta3 -d -s ld4-631.dsk "${DISTDIR}"/ld4-631l.xd3 out.dsk || 
die
+   mv out.dsk ld4-631.dsk || die
+   fi
+}
+
+src_compile() {
+   case $(tc-endian) in
+   little) ;;
+   big) append-flags -Dbig_endian ;;
+   *) die ;;
+   esac
+   emake CC="$(tc-getCC)" DEBUG="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+   dodir /usr/bin /usr/share/xtrs/disks /usr/share/man/man1
+   emake PREFIX="${D}"/usr install
+
+   insopts -m0444
+   insinto /usr/share/xtrs/disks
+   doins cpmutil.dsk utility.dsk
+
+   if use ls-dos; then
+   doins "${WORKDIR}"/ld4-631.dsk
+   dosym disks/ld4-631.dsk /usr/share/xtrs/disk4p-0
+   dosym disks/utility.dsk /usr/share/xtrs/disk4p-1
+   fi
+
+   dodoc ChangeLog README xtrsrom4p.README cpmutil.html dskspec.html
+
+   local DOC_CONTENTS="For copyright reasons, xtrs does not include actual
+   ROM images. Because of this, unless you supply your own ROM, 
xtrs
+   will not function in any mode except 'Model 4p' mode (a minimal
+   free ROM is included for this), which can be run like this:
+   \n\nxtrs -model 4p -diskdir /usr/share/xtrs
+   \n\nIf you already own a copy of the ROM software (e.g., if you 
have
+   a TRS-80 with this ROM), then you can make yourself a copy of 
this
+   for use with xtrs, using utilities available on the web. To load
+   your own ROM, specify the '-romfile' option, or the 
'Xtrs.romfile'
+   X resource. ROM files can be in Intel hex or binary format."
+   readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+   readme.gentoo_print_elog
+}



[gentoo-commits] repo/gentoo:master commit in: app-emulation/xtrs/

2019-11-28 Thread Ulrich Müller
commit: 0a8ab601a302e59c26e21b9a9f6405f234f7ddd4
Author: Ulrich Müller  gentoo  org>
AuthorDate: Thu Nov 28 14:47:31 2019 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Thu Nov 28 14:47:31 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a8ab601

app-emulation/xtrs: Remove old.

Package-Manager: Portage-2.3.80, Repoman-2.3.19
Signed-off-by: Ulrich Müller  gentoo.org>

 app-emulation/xtrs/xtrs-4.9d-r4.ebuild | 78 --
 1 file changed, 78 deletions(-)

diff --git a/app-emulation/xtrs/xtrs-4.9d-r4.ebuild 
b/app-emulation/xtrs/xtrs-4.9d-r4.ebuild
deleted file mode 100644
index fd2008dfbd3..000
--- a/app-emulation/xtrs/xtrs-4.9d-r4.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit flag-o-matic toolchain-funcs readme.gentoo-r1
-
-DESCRIPTION="Radio Shack TRS-80 emulator"
-HOMEPAGE="http://www.tim-mann.org/xtrs.html;
-SRC_URI="http://www.tim-mann.org/trs80/${P}.tar.gz
-   ls-dos? (
-   http://www.tim-mann.org/trs80/ld4-631.zip
-   https://dev.gentoo.org/~ulm/distfiles/ld4-631l.xd3
-   )"
-
-LICENSE="xtrs ls-dos? ( freedist )"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE="ls-dos"
-RESTRICT="ls-dos? ( bindist )"
-
-RDEPEND="sys-libs/ncurses:0=
-   sys-libs/readline:0=
-   x11-libs/libX11"
-DEPEND="${RDEPEND}
-   ls-dos? ( app-arch/unzip dev-util/xdelta:3 )"
-
-src_prepare() {
-   sed -i -e 's/$(CC) -o/$(CC) $(LDFLAGS) -o/' Makefile || die
-   eapply_user
-   if use ls-dos; then
-   cd "${WORKDIR}" || die
-   xdelta3 -d -s ld4-631.dsk "${DISTDIR}"/ld4-631l.xd3 out.dsk || 
die
-   mv out.dsk ld4-631.dsk || die
-   fi
-}
-
-src_compile() {
-   case $(tc-endian) in
-   little) ;;
-   big) append-flags -Dbig_endian ;;
-   *) die ;;
-   esac
-   emake CC="$(tc-getCC)" DEBUG="${CFLAGS}" LDFLAGS="${LDFLAGS}"
-}
-
-src_install() {
-   dodir /usr/bin /usr/share/xtrs/disks /usr/share/man/man1
-   emake PREFIX="${D}"/usr install
-
-   insopts -m0444
-   insinto /usr/share/xtrs/disks
-   doins cpmutil.dsk utility.dsk
-
-   if use ls-dos; then
-   doins "${WORKDIR}"/ld4-631.dsk
-   dosym disks/ld4-631.dsk /usr/share/xtrs/disk4p-0
-   dosym disks/utility.dsk /usr/share/xtrs/disk4p-1
-   fi
-
-   dodoc ChangeLog README xtrsrom4p.README cpmutil.html dskspec.html
-
-   DOC_CONTENTS="For copyright reasons, xtrs does not include actual ROM
-   images. Because of this, unless you supply your own ROM, xtrs 
will
-   not function in any mode except 'Model 4p' mode (a minimal free 
ROM
-   is included for this), which can be run like this:
-   \n\nxtrs -model 4p -diskdir /usr/share/xtrs
-   \n\nIf you already own a copy of the ROM software (e.g., if you 
have
-   a TRS-80 with this ROM), then you can make yourself a copy of 
this
-   for use with xtrs, using utilities available on the web. To load
-   your own ROM, specify the '-romfile' option, or the 
'Xtrs.romfile'
-   X resource. ROM files can be in Intel hex or binary format."
-   readme.gentoo_create_doc
-}
-
-pkg_postinst() {
-   readme.gentoo_print_elog
-}



[gentoo-commits] repo/gentoo:master commit in: app-emulation/xtrs/

2019-11-28 Thread Agostino Sarubbo
commit: 899961244ae35afc803df656e1726164221f
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Nov 28 10:54:51 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Nov 28 10:54:51 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89996124

app-emulation/xtrs: ppc stable wrt bug #701034

Package-Manager: Portage-2.3.76, Repoman-2.3.16
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-emulation/xtrs/xtrs-4.9d-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-emulation/xtrs/xtrs-4.9d-r5.ebuild 
b/app-emulation/xtrs/xtrs-4.9d-r5.ebuild
index 3f6b4d085dc..34629601e86 100644
--- a/app-emulation/xtrs/xtrs-4.9d-r5.ebuild
+++ b/app-emulation/xtrs/xtrs-4.9d-r5.ebuild
@@ -15,7 +15,7 @@ SRC_URI="http://www.tim-mann.org/trs80/${P}.tar.gz
 
 LICENSE="xtrs ls-dos? ( freedist )"
 SLOT="0"
-KEYWORDS="amd64 ~ppc x86"
+KEYWORDS="amd64 ppc x86"
 IUSE="ls-dos"
 RESTRICT="ls-dos? ( bindist )"
 



[gentoo-commits] repo/gentoo:master commit in: app-emulation/xtrs/

2019-11-26 Thread Agostino Sarubbo
commit: 8368dbeea7e51a62dfcbe59cfbf584e2a56f1cbc
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Nov 26 12:27:27 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Nov 26 12:27:27 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8368dbee

app-emulation/xtrs: amd64 stable wrt bug #701034

Package-Manager: Portage-2.3.76, Repoman-2.3.16
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-emulation/xtrs/xtrs-4.9d-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-emulation/xtrs/xtrs-4.9d-r5.ebuild 
b/app-emulation/xtrs/xtrs-4.9d-r5.ebuild
index ed092ae5943..3f6b4d085dc 100644
--- a/app-emulation/xtrs/xtrs-4.9d-r5.ebuild
+++ b/app-emulation/xtrs/xtrs-4.9d-r5.ebuild
@@ -15,7 +15,7 @@ SRC_URI="http://www.tim-mann.org/trs80/${P}.tar.gz
 
 LICENSE="xtrs ls-dos? ( freedist )"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc x86"
+KEYWORDS="amd64 ~ppc x86"
 IUSE="ls-dos"
 RESTRICT="ls-dos? ( bindist )"
 



[gentoo-commits] repo/gentoo:master commit in: app-emulation/xtrs/

2019-11-25 Thread Thomas Deutschmann
commit: 92a908c10b37e41d15a5848117ad997c7ed89525
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Tue Nov 26 00:57:07 2019 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Tue Nov 26 00:57:07 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92a908c1

app-emulation/xtrs: x86 stable (bug #701034)

Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Thomas Deutschmann  gentoo.org>

 app-emulation/xtrs/xtrs-4.9d-r5.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-emulation/xtrs/xtrs-4.9d-r5.ebuild 
b/app-emulation/xtrs/xtrs-4.9d-r5.ebuild
index ac298ae303f..ed092ae5943 100644
--- a/app-emulation/xtrs/xtrs-4.9d-r5.ebuild
+++ b/app-emulation/xtrs/xtrs-4.9d-r5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -15,7 +15,7 @@ SRC_URI="http://www.tim-mann.org/trs80/${P}.tar.gz
 
 LICENSE="xtrs ls-dos? ( freedist )"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
+KEYWORDS="~amd64 ~ppc x86"
 IUSE="ls-dos"
 RESTRICT="ls-dos? ( bindist )"
 



[gentoo-commits] repo/gentoo:master commit in: app-emulation/xtrs/

2017-07-07 Thread Ulrich Müller
commit: 06a787e8e2b0da98bebe6d5bb14a3e9a3d5f24b5
Author: Ulrich Müller  gentoo  org>
AuthorDate: Fri Jul  7 16:55:28 2017 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Fri Jul  7 16:55:28 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06a787e8

app-emulation/xtrs: Remove old.

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 app-emulation/xtrs/xtrs-4.9d-r3.ebuild | 69 --
 1 file changed, 69 deletions(-)

diff --git a/app-emulation/xtrs/xtrs-4.9d-r3.ebuild 
b/app-emulation/xtrs/xtrs-4.9d-r3.ebuild
deleted file mode 100644
index 1e5da8a8aa7..000
--- a/app-emulation/xtrs/xtrs-4.9d-r3.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit flag-o-matic toolchain-funcs readme.gentoo
-
-DESCRIPTION="Radio Shack TRS-80 emulator"
-HOMEPAGE="http://www.tim-mann.org/xtrs.html;
-SRC_URI="http://www.tim-mann.org/trs80/${P}.tar.gz
-   ls-dos? (
-   http://www.tim-mann.org/trs80/ld4-631.zip
-   https://dev.gentoo.org/~ulm/distfiles/ld4-631l.xd3
-   )"
-
-LICENSE="xtrs ls-dos? ( freedist )"
-SLOT="0"
-KEYWORDS="amd64 ppc x86 ~x86-fbsd"
-IUSE="ls-dos"
-RESTRICT="ls-dos? ( bindist )"
-
-RDEPEND="sys-libs/ncurses:0
-   sys-libs/readline:0
-   >=x11-libs/libX11-1.0.0"
-DEPEND="${RDEPEND}
-   ls-dos? ( app-arch/unzip dev-util/xdelta:3 )"
-
-src_prepare() {
-   sed -i -e 's/$(CC) -o/$(CC) $(LDFLAGS) -o/' Makefile || die
-   if use ls-dos; then
-   cd "${WORKDIR}" || die
-   xdelta3 -d -s ld4-631.dsk "${DISTDIR}"/ld4-631l.xd3 out.dsk || 
die
-   mv out.dsk ld4-631.dsk || die
-   fi
-}
-
-src_compile() {
-   use ppc && append-flags -Dbig_endian
-   emake CC="$(tc-getCC)" DEBUG="${CFLAGS}" LDFLAGS="${LDFLAGS}"
-}
-
-src_install() {
-   dodir /usr/bin /usr/share/xtrs/disks /usr/share/man/man1
-   emake PREFIX="${D}"/usr install
-
-   insopts -m0444
-   insinto /usr/share/xtrs/disks
-   doins cpmutil.dsk utility.dsk
-
-   if use ls-dos; then
-   doins "${WORKDIR}"/ld4-631.dsk
-   dosym disks/ld4-631.dsk /usr/share/xtrs/disk4p-0
-   dosym disks/utility.dsk /usr/share/xtrs/disk4p-1
-   fi
-
-   dodoc ChangeLog README xtrsrom4p.README cpmutil.html dskspec.html
-
-   DOC_CONTENTS="For copyright reasons, xtrs does not include actual ROM
-   images. Because of this, unless you supply your own ROM, xtrs 
will
-   not function in any mode except 'Model 4p' mode (a minimal free 
ROM
-   is included for this), which can be run like this:
-   \n\nxtrs -model 4p -diskdir /usr/share/xtrs
-   \n\nIf you already own a copy of the ROM software (e.g., if you 
have
-   a TRS-80 with this ROM), then you can make yourself a copy of 
this
-   for use with xtrs, using utilities available on the web. To load
-   your own ROM, specify the '-romfile' option, or the 
'Xtrs.romfile'
-   X resource. ROM files can be in Intel hex or binary format."
-   readme.gentoo_create_doc
-}



[gentoo-commits] repo/gentoo:master commit in: app-emulation/xtrs/files/, app-emulation/xtrs/

2017-07-06 Thread Ulrich Müller
commit: fd0d20bc091480525dc631c123e9f043dd090557
Author: Ulrich Müller  gentoo  org>
AuthorDate: Thu Jul  6 17:34:09 2017 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Thu Jul  6 17:37:28 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd0d20bc

app-emulation/xtrs: Fix CG 2 font.

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 app-emulation/xtrs/files/xtrs-4.9d-lcmod.patch | 68 ++
 app-emulation/xtrs/xtrs-4.9d-r5.ebuild | 80 ++
 2 files changed, 148 insertions(+)

diff --git a/app-emulation/xtrs/files/xtrs-4.9d-lcmod.patch 
b/app-emulation/xtrs/files/xtrs-4.9d-lcmod.patch
new file mode 100644
index 000..4fde6ad7375
--- /dev/null
+++ b/app-emulation/xtrs/files/xtrs-4.9d-lcmod.patch
@@ -0,0 +1,68 @@
+Fix CG 2 font.
+
+--- xtrs-4.9d-orig/trs_chars.c
 xtrs-4.9d/trs_chars.c
+@@ -304,3 +304,4 @@
+  II ROM. All characters without descenders are moved up one row.
+- I'm not sure I got all the changes exactly right -- help?  
++ Backquote (position 0x60) and tilde (position 0x7e) have been
++ replaced by Pound sign and Yen sign, respectively.
+   */
+@@ -337,3 +338,3 @@
+   { 0x00,0x04,0x08,0x1f,0x08,0x04,0x00,0x00,0x00,0x00,0x00,0x00 },
+-  { 0x00,0x00,0x00,0x00,0x00,0x00,0x1f,0x00,0x00,0x00,0x00,0x00 },
++  { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1f,0x00,0x00,0x00,0x00 },
+   { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 },
+@@ -350,3 +351,3 @@
+   { 0x00,0x04,0x04,0x1f,0x04,0x04,0x00,0x00,0x00,0x00,0x00,0x00 },
+-  { 0x00,0x00,0x00,0x06,0x06,0x02,0x01,0x00,0x00,0x00,0x00,0x00 },
++  { 0x00,0x00,0x00,0x00,0x06,0x06,0x02,0x01,0x00,0x00,0x00,0x00 },
+   { 0x00,0x00,0x00,0x1f,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 },
+@@ -361,3 +362,3 @@
+   { 0x0c,0x02,0x01,0x0f,0x11,0x11,0x0e,0x00,0x00,0x00,0x00,0x00 },
+-  { 0x1f,0x10,0x08,0x04,0x02,0x01,0x01,0x00,0x00,0x00,0x00,0x00 },
++  { 0x1f,0x10,0x08,0x04,0x02,0x02,0x02,0x00,0x00,0x00,0x00,0x00 },
+   { 0x0e,0x11,0x11,0x0e,0x11,0x11,0x0e,0x00,0x00,0x00,0x00,0x00 },
+@@ -365,3 +366,3 @@
+   { 0x00,0x06,0x06,0x00,0x06,0x06,0x00,0x00,0x00,0x00,0x00,0x00 },
+-  { 0x06,0x06,0x00,0x06,0x06,0x02,0x01,0x00,0x00,0x00,0x00,0x00 },
++  { 0x00,0x06,0x06,0x00,0x06,0x06,0x02,0x01,0x00,0x00,0x00,0x00 },
+   { 0x08,0x04,0x02,0x01,0x02,0x04,0x08,0x00,0x00,0x00,0x00,0x00 },
+@@ -401,4 +402,4 @@
+   { 0x00,0x04,0x08,0x1f,0x08,0x04,0x00,0x00,0x00,0x00,0x00,0x00 },
+-  { 0x00,0x00,0x00,0x00,0x00,0x00,0x1f,0x00,0x00,0x00,0x00,0x00 },
+-  { 0x0c,0x0c,0x04,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 },
++  { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1f,0x00,0x00,0x00,0x00 },
++  { 0x04,0x0a,0x02,0x07,0x02,0x12,0x0f,0x00,0x00,0x00,0x00,0x00 },
+   { 0x00,0x00,0x0e,0x10,0x1e,0x11,0x1e,0x00,0x00,0x00,0x00,0x00 },
+@@ -409,7 +410,7 @@
+   { 0x08,0x14,0x04,0x0e,0x04,0x04,0x04,0x00,0x00,0x00,0x00,0x00 },
+-  { 0x00,0x00,0x16,0x19,0x19,0x16,0x10,0x0e,0x00,0x00,0x00,0x00 },
++  { 0x00,0x00,0x0e,0x11,0x11,0x1e,0x10,0x0e,0x00,0x00,0x00,0x00 },
+   { 0x01,0x01,0x0d,0x13,0x11,0x11,0x11,0x00,0x00,0x00,0x00,0x00 },
+   { 0x04,0x00,0x06,0x04,0x04,0x04,0x0e,0x00,0x00,0x00,0x00,0x00 },
+-  { 0x10,0x00,0x10,0x10,0x10,0x10,0x11,0x0e,0x00,0x00,0x00,0x00 },
+-  { 0x01,0x01,0x09,0x05,0x03,0x05,0x09,0x00,0x00,0x00,0x00,0x00 },
++  { 0x10,0x00,0x18,0x10,0x10,0x10,0x12,0x0c,0x00,0x00,0x00,0x00 },
++  { 0x02,0x02,0x12,0x0a,0x06,0x0a,0x12,0x00,0x00,0x00,0x00,0x00 },
+   { 0x06,0x04,0x04,0x04,0x04,0x04,0x0e,0x00,0x00,0x00,0x00,0x00 },
+@@ -422,3 +423,3 @@
+   { 0x00,0x00,0x1e,0x01,0x0e,0x10,0x0f,0x00,0x00,0x00,0x00,0x00 },
+-  { 0x04,0x04,0x1f,0x04,0x04,0x14,0x08,0x00,0x00,0x00,0x00,0x00 },
++  { 0x04,0x04,0x0e,0x04,0x04,0x14,0x08,0x00,0x00,0x00,0x00,0x00 },
+   { 0x00,0x00,0x11,0x11,0x11,0x19,0x16,0x00,0x00,0x00,0x00,0x00 },
+@@ -432,4 +433,4 @@
+   { 0x02,0x04,0x04,0x08,0x04,0x04,0x02,0x00,0x00,0x00,0x00,0x00 },
+-  { 0x02,0x15,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 },
+-  { 0x0a,0x15,0x0a,0x15,0x0a,0x15,0x0a,0x00,0x00,0x00,0x00,0x00 },
++  { 0x11,0x0a,0x04,0x1f,0x04,0x1f,0x04,0x00,0x00,0x00,0x00,0x00 },
++  { 0x15,0x0a,0x15,0x0a,0x15,0x0a,0x15,0x0a,0x00,0x00,0x00,0x00 },
+ },
+--- xtrs-4.9d-orig/xtrs.man
 xtrs-4.9d/xtrs.man
+@@ -775,4 +775,3 @@
+ set in the replacement character generator that was supplied with the
+-Radio Shack lower case modification.  (It was reconstructed partly
+-from memory and may have some minor bit errors.)  \fIstock\fP is the
++Radio Shack lower case modification.  \fIstock\fP is the
+ character set in the stock character generator supplied with most

diff --git a/app-emulation/xtrs/xtrs-4.9d-r5.ebuild 
b/app-emulation/xtrs/xtrs-4.9d-r5.ebuild
new file mode 100644
index 000..a61a8c7997e
--- /dev/null
+++ b/app-emulation/xtrs/xtrs-4.9d-r5.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit flag-o-matic toolchain-funcs 

[gentoo-commits] repo/gentoo:master commit in: app-emulation/xtrs/

2017-07-04 Thread Agostino Sarubbo
commit: 9309c58f7818029460e721a7608419bd6e6a9578
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Jul  4 15:48:19 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Jul  4 15:48:19 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9309c58f

app-emulation/xtrs: x86 stable wrt bug #623344

Package-Manager: Portage-2.3.6, Repoman-2.3.1
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-emulation/xtrs/xtrs-4.9d-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-emulation/xtrs/xtrs-4.9d-r4.ebuild 
b/app-emulation/xtrs/xtrs-4.9d-r4.ebuild
index d18736d528a..3b4afb9ddc2 100644
--- a/app-emulation/xtrs/xtrs-4.9d-r4.ebuild
+++ b/app-emulation/xtrs/xtrs-4.9d-r4.ebuild
@@ -15,7 +15,7 @@ SRC_URI="http://www.tim-mann.org/trs80/${P}.tar.gz
 
 LICENSE="xtrs ls-dos? ( freedist )"
 SLOT="0"
-KEYWORDS="amd64 ~ppc ~x86 ~x86-fbsd"
+KEYWORDS="amd64 ~ppc x86 ~x86-fbsd"
 IUSE="ls-dos"
 RESTRICT="ls-dos? ( bindist )"
 



[gentoo-commits] repo/gentoo:master commit in: app-emulation/xtrs/

2017-07-04 Thread Agostino Sarubbo
commit: 0a34f8e0424383fb42368b50d0e538bec752d76e
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Jul  4 10:16:24 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Jul  4 10:16:24 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a34f8e0

app-emulation/xtrs: amd64 stable wrt bug #623344

Package-Manager: Portage-2.3.6, Repoman-2.3.1
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-emulation/xtrs/xtrs-4.9d-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-emulation/xtrs/xtrs-4.9d-r4.ebuild 
b/app-emulation/xtrs/xtrs-4.9d-r4.ebuild
index c4ec04ab51a..d18736d528a 100644
--- a/app-emulation/xtrs/xtrs-4.9d-r4.ebuild
+++ b/app-emulation/xtrs/xtrs-4.9d-r4.ebuild
@@ -15,7 +15,7 @@ SRC_URI="http://www.tim-mann.org/trs80/${P}.tar.gz
 
 LICENSE="xtrs ls-dos? ( freedist )"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+KEYWORDS="amd64 ~ppc ~x86 ~x86-fbsd"
 IUSE="ls-dos"
 RESTRICT="ls-dos? ( bindist )"
 



[gentoo-commits] repo/gentoo:master commit in: app-emulation/xtrs/

2017-02-03 Thread Ulrich Müller
commit: 603bd1a46d6b45c8efdf74618dece9620b467424
Author: Ulrich Müller  gentoo  org>
AuthorDate: Fri Feb  3 22:59:57 2017 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Fri Feb  3 23:01:27 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=603bd1a4

app-emulation/xtrs: Apply user patches in ${S}.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 app-emulation/xtrs/xtrs-4.9d-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-emulation/xtrs/xtrs-4.9d-r4.ebuild 
b/app-emulation/xtrs/xtrs-4.9d-r4.ebuild
index db3ec18..c026fe6 100644
--- a/app-emulation/xtrs/xtrs-4.9d-r4.ebuild
+++ b/app-emulation/xtrs/xtrs-4.9d-r4.ebuild
@@ -28,12 +28,12 @@ DEPEND="${RDEPEND}
 
 src_prepare() {
sed -i -e 's/$(CC) -o/$(CC) $(LDFLAGS) -o/' Makefile || die
+   eapply_user
if use ls-dos; then
cd "${WORKDIR}" || die
xdelta3 -d -s ld4-631.dsk "${DISTDIR}"/ld4-631l.xd3 out.dsk || 
die
mv out.dsk ld4-631.dsk || die
fi
-   eapply_user
 }
 
 src_compile() {



[gentoo-commits] repo/gentoo:master commit in: app-emulation/xtrs/

2017-02-03 Thread Ulrich Müller
commit: d758045ab1897222e8b61b9821c1c99cc74b8e89
Author: Ulrich Müller  gentoo  org>
AuthorDate: Fri Feb  3 21:29:13 2017 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Fri Feb  3 21:29:13 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d758045a

app-emulation/xtrs: Add slot operators for ncurses and readline libs.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 app-emulation/xtrs/xtrs-4.9d-r4.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-emulation/xtrs/xtrs-4.9d-r4.ebuild 
b/app-emulation/xtrs/xtrs-4.9d-r4.ebuild
index 03e6812..db3ec18 100644
--- a/app-emulation/xtrs/xtrs-4.9d-r4.ebuild
+++ b/app-emulation/xtrs/xtrs-4.9d-r4.ebuild
@@ -20,8 +20,8 @@ KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
 IUSE="ls-dos"
 RESTRICT="ls-dos? ( bindist )"
 
-RDEPEND="sys-libs/ncurses:0
-   sys-libs/readline:0
+RDEPEND="sys-libs/ncurses:0=
+   sys-libs/readline:0=
x11-libs/libX11"
 DEPEND="${RDEPEND}
ls-dos? ( app-arch/unzip dev-util/xdelta:3 )"



[gentoo-commits] repo/gentoo:master commit in: app-emulation/xtrs/

2017-02-03 Thread Ulrich Müller
commit: fe6ab37c8f790233cc7dcae155a8a59d0eda48bc
Author: Ulrich Müller  gentoo  org>
AuthorDate: Fri Feb  3 21:24:35 2017 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Fri Feb  3 21:25:06 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe6ab37c

app-emulation/xtrs: Bump to EAPI 6.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 app-emulation/xtrs/xtrs-4.9d-r4.ebuild | 79 ++
 1 file changed, 79 insertions(+)

diff --git a/app-emulation/xtrs/xtrs-4.9d-r4.ebuild 
b/app-emulation/xtrs/xtrs-4.9d-r4.ebuild
new file mode 100644
index ..03e6812
--- /dev/null
+++ b/app-emulation/xtrs/xtrs-4.9d-r4.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit flag-o-matic toolchain-funcs readme.gentoo-r1
+
+DESCRIPTION="Radio Shack TRS-80 emulator"
+HOMEPAGE="http://www.tim-mann.org/xtrs.html;
+SRC_URI="http://www.tim-mann.org/trs80/${P}.tar.gz
+   ls-dos? (
+   http://www.tim-mann.org/trs80/ld4-631.zip
+   https://dev.gentoo.org/~ulm/distfiles/ld4-631l.xd3
+   )"
+
+LICENSE="xtrs ls-dos? ( freedist )"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+IUSE="ls-dos"
+RESTRICT="ls-dos? ( bindist )"
+
+RDEPEND="sys-libs/ncurses:0
+   sys-libs/readline:0
+   x11-libs/libX11"
+DEPEND="${RDEPEND}
+   ls-dos? ( app-arch/unzip dev-util/xdelta:3 )"
+
+src_prepare() {
+   sed -i -e 's/$(CC) -o/$(CC) $(LDFLAGS) -o/' Makefile || die
+   if use ls-dos; then
+   cd "${WORKDIR}" || die
+   xdelta3 -d -s ld4-631.dsk "${DISTDIR}"/ld4-631l.xd3 out.dsk || 
die
+   mv out.dsk ld4-631.dsk || die
+   fi
+   eapply_user
+}
+
+src_compile() {
+   case $(tc-endian) in
+   little) ;;
+   big) append-flags -Dbig_endian ;;
+   *) die ;;
+   esac
+   emake CC="$(tc-getCC)" DEBUG="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+   dodir /usr/bin /usr/share/xtrs/disks /usr/share/man/man1
+   emake PREFIX="${D}"/usr install
+
+   insopts -m0444
+   insinto /usr/share/xtrs/disks
+   doins cpmutil.dsk utility.dsk
+
+   if use ls-dos; then
+   doins "${WORKDIR}"/ld4-631.dsk
+   dosym disks/ld4-631.dsk /usr/share/xtrs/disk4p-0
+   dosym disks/utility.dsk /usr/share/xtrs/disk4p-1
+   fi
+
+   dodoc ChangeLog README xtrsrom4p.README cpmutil.html dskspec.html
+
+   DOC_CONTENTS="For copyright reasons, xtrs does not include actual ROM
+   images. Because of this, unless you supply your own ROM, xtrs 
will
+   not function in any mode except 'Model 4p' mode (a minimal free 
ROM
+   is included for this), which can be run like this:
+   \n\nxtrs -model 4p -diskdir /usr/share/xtrs
+   \n\nIf you already own a copy of the ROM software (e.g., if you 
have
+   a TRS-80 with this ROM), then you can make yourself a copy of 
this
+   for use with xtrs, using utilities available on the web. To load
+   your own ROM, specify the '-romfile' option, or the 
'Xtrs.romfile'
+   X resource. ROM files can be in Intel hex or binary format."
+   readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+   readme.gentoo_print_elog
+}



[gentoo-commits] repo/gentoo:master commit in: app-emulation/xtrs/

2016-02-09 Thread Ulrich Müller
commit: 42abc0922094c10db79adb500a6c4079af7061e1
Author: Ulrich Müller  gentoo  org>
AuthorDate: Tue Feb  9 21:42:20 2016 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Tue Feb  9 21:42:20 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42abc092

app-emulation/xtrs: Add proper slot dependency on ncurses.

Package-Manager: portage-2.2.27

 app-emulation/xtrs/xtrs-4.9d-r3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-emulation/xtrs/xtrs-4.9d-r3.ebuild 
b/app-emulation/xtrs/xtrs-4.9d-r3.ebuild
index 795de86..8bd2026 100644
--- a/app-emulation/xtrs/xtrs-4.9d-r3.ebuild
+++ b/app-emulation/xtrs/xtrs-4.9d-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -20,7 +20,7 @@ KEYWORDS="amd64 ppc x86 ~x86-fbsd"
 IUSE="ls-dos"
 RESTRICT="ls-dos? ( bindist )"
 
-RDEPEND="sys-libs/ncurses
+RDEPEND="sys-libs/ncurses:0
sys-libs/readline:0
>=x11-libs/libX11-1.0.0"
 DEPEND="${RDEPEND}