Gentoo Archives: gentoo-commits

From: James Le Cuirot <chewi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-engines/frotz/files/, games-engines/frotz/
Date: Tue, 03 Sep 2019 22:31:36
Message-Id: 1567549855.99b274ce3fed3473103a1811909a4a521034590f.chewi@gentoo
1 commit: 99b274ce3fed3473103a1811909a4a521034590f
2 Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 3 22:12:01 2019 +0000
4 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 3 22:30:55 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99b274ce
7
8 games-engines/frotz: Drop old 2.43-r1
9
10 Closes: https://bugs.gentoo.org/677778
11 Package-Manager: Portage-2.3.75, Repoman-2.3.17
12 Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
13
14 games-engines/frotz/Manifest | 1 -
15 .../frotz/files/frotz-2.43-glibc2.10.patch | 29 ------------
16 games-engines/frotz/files/frotz-2.43-ldflags.patch | 20 ---------
17 games-engines/frotz/frotz-2.43-r1.ebuild | 52 ----------------------
18 4 files changed, 102 deletions(-)
19
20 diff --git a/games-engines/frotz/Manifest b/games-engines/frotz/Manifest
21 index 2109b341c5b..8ffeb0250c3 100644
22 --- a/games-engines/frotz/Manifest
23 +++ b/games-engines/frotz/Manifest
24 @@ -1,2 +1 @@
25 -DIST frotz-2.43.tar.gz 160771 BLAKE2B edee48050b247320df3d02ea4682579d4f933a5853cc9a31f56c4d12596d5e5657e79e176ed1725e72028497a843db1d0b13833ffe44e41ec7f532f0d40ccaf9 SHA512 654f2ca2d1a625df8f88b5629e09a873668cea42688acdf154636b066b94fc9d70b7f45acb33a71d234c19b59c394c63aee38d6224245b3b329210e6b4a58409
26 DIST frotz-57e915b5f5b8997d1e4a1e0dac4ace2e62b7f6e9.tar.bz2 281258 BLAKE2B d85a53157e539bb1e79aade97726b5b6f752d7799faea0f35063c3321c97ddbadf7bb9318533badb212b49b397c52e3fd458d5d08868d90b564002de3ffe4324 SHA512 45fc40f4eebb338e4e4cba8ef446726a9126d45b6646ffcf3a2679dfde5630500e492667363c63f7806630d4b8d88a225080c0a2696c4170d86b1cf4d8b0a06c
27
28 diff --git a/games-engines/frotz/files/frotz-2.43-glibc2.10.patch b/games-engines/frotz/files/frotz-2.43-glibc2.10.patch
29 deleted file mode 100644
30 index 3f2639ec47d..00000000000
31 --- a/games-engines/frotz/files/frotz-2.43-glibc2.10.patch
32 +++ /dev/null
33 @@ -1,29 +0,0 @@
34 ---- a/src/dumb/dumb_input.c
35 -+++ b/src/dumb/dumb_input.c
36 -@@ -79,7 +79,7 @@
37 - /* Read one line, including the newline, into s. Safely avoids buffer
38 - * overruns (but that's kind of pointless because there are several
39 - * other places where I'm not so careful). */
40 --static void getline(char *s)
41 -+static void get_line(char *s)
42 - {
43 - int c;
44 - char *p = s;
45 -@@ -203,7 +203,7 @@
46 - fputs(prompt, stdout);
47 - else
48 - dumb_show_prompt(show_cursor, (timeout ? "tTD" : ")>}")[type]);
49 -- getline(s);
50 -+ get_line(s);
51 - if ((s[0] != '\\') || ((s[1] != '\0') && !islower(s[1]))) {
52 - /* Is not a command line. */
53 - translate_special_chars(s);
54 -@@ -265,7 +265,7 @@
55 - if (!*current_page)
56 - break;
57 - printf("HELP: Type <return> for more, or q <return> to stop: ");
58 -- getline(s);
59 -+ get_line(s);
60 - if (!strcmp(s, "q\n"))
61 - break;
62 - }
63
64 diff --git a/games-engines/frotz/files/frotz-2.43-ldflags.patch b/games-engines/frotz/files/frotz-2.43-ldflags.patch
65 deleted file mode 100644
66 index c8b4e35eee2..00000000000
67 --- a/games-engines/frotz/files/frotz-2.43-ldflags.patch
68 +++ /dev/null
69 @@ -1,20 +0,0 @@
70 ---- a/Makefile 2010-10-04 14:13:37.000000000 +0200
71 -+++ b/Makefile 2010-10-04 14:14:06.000000000 +0200
72 -@@ -162,7 +162,7 @@
73 - $(NAME): $(NAME)-curses
74 -
75 - $(NAME)-curses: soundcard.h $(COMMON_TARGET) $(CURSES_TARGET)
76 -- $(CC) -o $(BINNAME)$(EXTENSION) $(TARGETS) $(LIB) $(CURSES) \
77 -+ $(CC) $(LDFLAGS) -o $(BINNAME)$(EXTENSION) $(TARGETS) $(LIB) $(CURSES) \
78 - $(SOUND_LIB)
79 -
80 - all: $(NAME) d$(NAME)
81 -@@ -170,7 +170,7 @@
82 - dumb: $(NAME)-dumb
83 - d$(NAME): $(NAME)-dumb
84 - $(NAME)-dumb: $(COMMON_TARGET) $(DUMB_TARGET)
85 -- $(CC) -o d$(BINNAME)$(EXTENSION) $(COMMON_TARGET) \
86 -+ $(CC) $(LDFLAGS) -o d$(BINNAME)$(EXTENSION) $(COMMON_TARGET) \
87 - $(DUMB_TARGET) $(LIB)
88 -
89 - .SUFFIXES:
90
91 diff --git a/games-engines/frotz/frotz-2.43-r1.ebuild b/games-engines/frotz/frotz-2.43-r1.ebuild
92 deleted file mode 100644
93 index 08d19d78526..00000000000
94 --- a/games-engines/frotz/frotz-2.43-r1.ebuild
95 +++ /dev/null
96 @@ -1,52 +0,0 @@
97 -# Copyright 1999-2016 Gentoo Foundation
98 -# Distributed under the terms of the GNU General Public License v2
99 -
100 -EAPI=6
101 -inherit eutils
102 -
103 -DESCRIPTION="Curses based interpreter for Z-code based text games"
104 -HOMEPAGE="http://frotz.sourceforge.net/"
105 -SRC_URI="http://www.ifarchive.org/if-archive/infocom/interpreters/frotz/${P}.tar.gz"
106 -
107 -LICENSE="GPL-2"
108 -SLOT="0"
109 -KEYWORDS="~amd64 ~x86"
110 -IUSE="alsa oss"
111 -
112 -DEPEND="sys-libs/ncurses:0
113 - alsa? ( oss? ( media-libs/alsa-oss ) )"
114 -RDEPEND="${DEPEND}"
115 -
116 -PATCHES=(
117 - "${FILESDIR}"/${P}-glibc2.10.patch
118 - "${FILESDIR}"/${P}-ldflags.patch
119 -)
120 -
121 -src_prepare() {
122 - default
123 -
124 - sed -i \
125 - -e '/^CC /d' \
126 - Makefile \
127 - || die
128 -}
129 -
130 -src_compile() {
131 - local OPTS="CONFIG_DIR=/etc"
132 - use oss && OPTS="${OPTS} SOUND_DEFS=-DOSS_SOUND SOUND_DEV=/dev/dsp"
133 - emake ${OPTS} all
134 -}
135 -
136 -src_install () {
137 - dobin {d,}frotz
138 - doman doc/*.6
139 - dodoc AUTHORS BUGS ChangeLog HOW_TO_PLAY README TODO \
140 - doc/{frotz.conf-big,frotz.conf-small}
141 -}
142 -
143 -pkg_postinst() {
144 - echo
145 - elog "Global config file can be installed in /etc/frotz.conf"
146 - elog "Sample config files are in /usr/share/doc/${PF}"
147 - echo
148 -}