Gentoo Archives: gentoo-commits

From: Mikle Kolyada <zlogene@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-terms/xvt/, x11-terms/xvt/files/
Date: Mon, 27 Apr 2020 08:11:41
Message-Id: 1587974966.2d6d083189724f778698d194b66e7e1b0e29cf42.zlogene@gentoo
1 commit: 2d6d083189724f778698d194b66e7e1b0e29cf42
2 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
3 AuthorDate: Mon Apr 27 08:09:26 2020 +0000
4 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
5 CommitDate: Mon Apr 27 08:09:26 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d6d0831
7
8 x11-terms/xvt: remove last-rited pkg
9
10 Closes: https://bugs.gentoo.org/691710
11
12 Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
13
14 x11-terms/xvt/Manifest | 2 -
15 x11-terms/xvt/files/xvt-int-main.patch | 23 ----------
16 x11-terms/xvt/files/xvt-makefile.patch | 20 ---------
17 x11-terms/xvt/files/xvt-pts.patch | 12 ------
18 x11-terms/xvt/files/xvt-ttyinit-svr4pty.diff | 63 ----------------------------
19 x11-terms/xvt/metadata.xml | 8 ----
20 x11-terms/xvt/xvt-2.1-r3.ebuild | 49 ----------------------
21 7 files changed, 177 deletions(-)
22
23 diff --git a/x11-terms/xvt/Manifest b/x11-terms/xvt/Manifest
24 deleted file mode 100644
25 index 540cf45cafe..00000000000
26 --- a/x11-terms/xvt/Manifest
27 +++ /dev/null
28 @@ -1,2 +0,0 @@
29 -DIST xvt-1.0.tar.Z 59445 BLAKE2B 9b50b7c2c9832621960249f9b04eff9b2be04b90766865bc2cd55d67ca348bf41b539906125c8a51a3e08e13d6fc3402a57ef5f31d781e675061910ce53198dc SHA512 671fdc931526821e9228c327d2231e0f241997c632b0f084b2be02b99296ececa64f2de2769e92c3682c0aa2e9cf8dc61ac561ffd1d10136256029d24f872a1b
30 -DIST xvt-2.1.diff.gz 39941 BLAKE2B cbb491f0f65ac6ae8f8a801e68f6f08805c886c16a000d7e54fb24ac08d17133958eb376306b2b30dfc4def447ec62259cebd43854433405c0aee080a79addf7 SHA512 c229cb98ef3de7b4ab76b81ae888fc3a59ff9fcf5807ecdc58f8e5b634f9c2e618d2b3c17b4cd6410903004a712aac1c1d329751a48f05d605a7eb23dd58d612
31
32 diff --git a/x11-terms/xvt/files/xvt-int-main.patch b/x11-terms/xvt/files/xvt-int-main.patch
33 deleted file mode 100644
34 index a0874e45f41..00000000000
35 --- a/x11-terms/xvt/files/xvt-int-main.patch
36 +++ /dev/null
37 @@ -1,23 +0,0 @@
38 ---- a/xvt.c
39 -+++ b/xvt.c
40 -@@ -41,9 +41,9 @@
41 - #endif /* UKC_LOCATIONS */
42 -
43 - #ifdef __STDC__
44 --void main(int,char **);
45 -+int main(int,char **);
46 - #else
47 --void main();
48 -+int main();
49 - #endif
50 -
51 - extern int debugging;
52 -@@ -67,7 +67,7 @@
53 - * master end of the pseudo-teletype pair with the command talking to
54 - * the slave.
55 - */
56 --void
57 -+int
58 - main(argc,argv)
59 - int argc;
60 - char **argv;
61
62 diff --git a/x11-terms/xvt/files/xvt-makefile.patch b/x11-terms/xvt/files/xvt-makefile.patch
63 deleted file mode 100644
64 index b147d9d8c2b..00000000000
65 --- a/x11-terms/xvt/files/xvt-makefile.patch
66 +++ /dev/null
67 @@ -1,20 +0,0 @@
68 ---- a/Makefile
69 -+++ b/Makefile
70 -@@ -27,7 +27,7 @@
71 - #ARCH=AIX3
72 - #ARCH=ULTRIX
73 - #ARCH=HPUX
74 --#ARCH=LINUX
75 -+ARCH=LINUX
76 - #
77 - #
78 - # If this line is uncommented then `Make config' will unclude several options
79 -@@ -107,7 +107,7 @@
80 - OBJ=xvt.o xsetup.o command.o screen.o sbar.o ttyinit.o
81 - SRC=xvt.c xsetup.c command.c screen.c sbar.c ttyinit.c
82 - #
83 --CFLAGS=-O $(INCLUDE) $(OPTIONS) $(DEFS) -D$(ARCH)
84 -+CFLAGS+= $(INCLUDE) $(OPTIONS) $(DEFS) -D$(ARCH)
85 - #
86 - xvt: $(OBJ)
87 - $(CC) $(LDFLAGS) -o xvt $(OBJ) $(LIB) -lX11
88
89 diff --git a/x11-terms/xvt/files/xvt-pts.patch b/x11-terms/xvt/files/xvt-pts.patch
90 deleted file mode 100644
91 index a86504ad29e..00000000000
92 --- a/x11-terms/xvt/files/xvt-pts.patch
93 +++ /dev/null
94 @@ -1,12 +0,0 @@
95 ---- a/ttyinit.c
96 -+++ b/ttyinit.c
97 -@@ -25,6 +25,9 @@
98 -
99 - char xvt_ttyinit_c_sccsid[] = "@(#)ttyinit.c 1.3 11/1/94 (UKC)";
100 -
101 -+#ifdef LINUX
102 -+#define _XOPEN_SOURCE
103 -+#endif
104 - #ifdef __STDC__
105 - #include <stdarg.h>
106 - #else
107
108 diff --git a/x11-terms/xvt/files/xvt-ttyinit-svr4pty.diff b/x11-terms/xvt/files/xvt-ttyinit-svr4pty.diff
109 deleted file mode 100644
110 index 1cc370b94d7..00000000000
111 --- a/x11-terms/xvt/files/xvt-ttyinit-svr4pty.diff
112 +++ /dev/null
113 @@ -1,63 +0,0 @@
114 ---- a/ttyinit.c
115 -+++ b/ttyinit.c
116 -@@ -46,6 +46,7 @@
117 - #include <pwd.h>
118 - #include <errno.h>
119 - #include <string.h>
120 -+#include <stropts.h>
121 - #include "xvt.h"
122 - #include "token.h"
123 - #include "command.h"
124 -@@ -410,44 +411,6 @@
125 - get_pseudo_tty(pmaster,pslave)
126 - int *pmaster, *pslave;
127 - {
128 --#ifdef BSD_PTY
129 -- int mfd, sfd;
130 -- char *s3, *s4;
131 -- static char ptyc3[] = "pqrstuvwxyz";
132 -- static char ptyc4[] = "0123456789abcdef";
133 -- static char ptynam[] = "/dev/ptyxx";
134 -- static char ttynam[] = "/dev/ttyxx";
135 --
136 -- /* First find a master pty that we can open.
137 -- */
138 -- mfd = -1;
139 -- for (s3 = ptyc3; *s3 != 0; s3++) {
140 -- for (s4 = ptyc4; *s4 != 0; s4++) {
141 -- ptynam[8] = ttynam[8] = *s3;
142 -- ptynam[9] = ttynam[9] = *s4;
143 -- if ((mfd = open(ptynam,O_RDWR)) >= 0) {
144 -- if (geteuid() == 0 || access(ttynam,R_OK|W_OK) == 0)
145 -- break;
146 -- else {
147 -- close(mfd);
148 -- mfd = -1;
149 -- }
150 -- }
151 -- }
152 -- if (mfd >= 0)
153 -- break;
154 -- }
155 -- if (mfd < 0) {
156 -- error("Can't open a pseudo teletype");
157 -- return(NULL);
158 -- }
159 -- if ((sfd = open(ttynam,O_RDWR)) < 0) {
160 -- error("could not open slave tty %s",ttynam);
161 -- return(NULL);
162 -- }
163 --#endif /* BSD_PTY */
164 --
165 --#ifdef SVR4_PTY
166 - char *ttynam;
167 - int mfd, sfd;
168 -
169 -@@ -464,7 +427,6 @@
170 - }
171 - ioctl(sfd,I_PUSH,"ptem");
172 - ioctl(sfd,I_PUSH,"ldterm");
173 --#endif /* SVR4_PTY */
174 -
175 - *pslave = sfd;
176 - *pmaster = mfd;
177
178 diff --git a/x11-terms/xvt/metadata.xml b/x11-terms/xvt/metadata.xml
179 deleted file mode 100644
180 index 41c6dfc7341..00000000000
181 --- a/x11-terms/xvt/metadata.xml
182 +++ /dev/null
183 @@ -1,8 +0,0 @@
184 -<?xml version="1.0" encoding="UTF-8"?>
185 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
186 -<pkgmetadata>
187 - <!-- maintainer-needed -->
188 - <longdescription lang="en">
189 - A tiny vt100 terminal emulator for X.
190 - </longdescription>
191 -</pkgmetadata>
192
193 diff --git a/x11-terms/xvt/xvt-2.1-r3.ebuild b/x11-terms/xvt/xvt-2.1-r3.ebuild
194 deleted file mode 100644
195 index 196cc98c56a..00000000000
196 --- a/x11-terms/xvt/xvt-2.1-r3.ebuild
197 +++ /dev/null
198 @@ -1,49 +0,0 @@
199 -# Copyright 1999-2020 Gentoo Authors
200 -# Distributed under the terms of the GNU General Public License v2
201 -
202 -EAPI=6
203 -
204 -inherit toolchain-funcs
205 -
206 -DESCRIPTION="A tiny vt100 terminal emulator for X"
207 -HOMEPAGE="ftp://ftp.x.org/R5contrib/xvt-1.0.README"
208 -SRC_URI="ftp://ftp.x.org/R5contrib/xvt-1.0.tar.Z
209 - mirror://gentoo/xvt-2.1.diff.gz"
210 -
211 -LICENSE="xvt"
212 -SLOT="0"
213 -KEYWORDS="~alpha amd64 ppc x86"
214 -IUSE=""
215 -
216 -RDEPEND="x11-libs/libX11"
217 -DEPEND="${RDEPEND}
218 - x11-base/xorg-proto"
219 -
220 -S=${WORKDIR}/${PN}-1.0
221 -
222 -PATCHES=(
223 - # this brings the distribution upto version 2.1
224 - "${WORKDIR}"/${P}.diff
225 -
226 - # fix #61393
227 - "${FILESDIR}/${PN}-ttyinit-svr4pty.diff"
228 -
229 - # CFLAGS, CC #241554
230 - "${FILESDIR}/${PN}-makefile.patch"
231 -
232 - # int main, not void main
233 - "${FILESDIR}/${PN}-int-main.patch"
234 -
235 - # fix segfault (bug #363883)
236 - "${FILESDIR}/${PN}-pts.patch"
237 -)
238 -
239 -src_configure() {
240 - tc-export CC
241 -}
242 -
243 -src_install() {
244 - dobin xvt
245 - doman xvt.1
246 - einstalldocs
247 -}