From d87262dd706fec50cd150aab3e93883b6337466d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 20:56:41 +0100 Subject: gentoo resync : 14.07.2018 --- app-editors/teco/Manifest | 10 ----- app-editors/teco/files/teco-double-free.diff | 20 --------- app-editors/teco/files/teco-gcc4.patch | 11 ----- app-editors/teco/files/teco-warnings.patch | 47 -------------------- app-editors/teco/metadata.xml | 27 ------------ app-editors/teco/teco-1.00-r4.ebuild | 65 ---------------------------- 6 files changed, 180 deletions(-) delete mode 100644 app-editors/teco/Manifest delete mode 100644 app-editors/teco/files/teco-double-free.diff delete mode 100644 app-editors/teco/files/teco-gcc4.patch delete mode 100644 app-editors/teco/files/teco-warnings.patch delete mode 100644 app-editors/teco/metadata.xml delete mode 100644 app-editors/teco/teco-1.00-r4.ebuild (limited to 'app-editors/teco') diff --git a/app-editors/teco/Manifest b/app-editors/teco/Manifest deleted file mode 100644 index 1db9cb4dd135..000000000000 --- a/app-editors/teco/Manifest +++ /dev/null @@ -1,10 +0,0 @@ -AUX teco-double-free.diff 936 BLAKE2B ee7151518462ac20bb5cca7ed74970696dcac9d5dae245286e56f0b87e5d7350319d2394750f263ca033760f2c7c82f92bbf68643a6bbb6ba554dfc319ef1376 SHA512 da914d198a057138c43d3fc7f3bd0f2b9577287c0c37319c09e128bf76af771dbd23301c2630eb4f7884d2298672632cec382fe2bddd06e2a315872023b05583 -AUX teco-gcc4.patch 336 BLAKE2B 851886f3697c4e5a087acd459af69e2687ca403f1b0b3ff9b600e9ee786832cdc7a31235b38186bbc63a09c9a1f126beedceebd16f8feda35cc417faf2e6779f SHA512 8eb39de57df5f234c38d69c6b89c0422575113b9568336b8f726a2ae733c4af3e54c0e9da06d23c2ec34281fba7899df4a3af046d05d486a2c3d07eb7b55bf28 -AUX teco-warnings.patch 1206 BLAKE2B f9f8312c66e506d86cdd7544288965927895822eac3ad6f49dd0f1280ddc72f9d2cb2c6e4e7eca7c36c435677559e25bd4c9f6816a9e41816d23a39d64ee445b SHA512 7294ef66917eb549d9437327b32160317313d343c731423e34a07ed407e5595e7ac52d57c55bc1e5c6732f5ed0840533aa9c546ee32f4ea2bef54adf5a91b249 -DIST tech.txt.gz 1971 BLAKE2B 327f9b860a3550e5e56ec1524dbc7ccfec31a4a58646f5a191f0867bdd94b97ecdad694cd5205be2896cef013ef63a52fe91859fe00db17da02160ad3a00384c SHA512 8c74d813d7e1bcd2f911982a8b49fa8b97ff85475a4798ea23d9a25ef30ad7243cfc851525aea895eec1a2f69aad84b6cce890ee6a29763a63c1a6d1358a200f -DIST teco.doc.gz 129896 BLAKE2B 0372d5a697f432e41b138de9a5faff8c1032d7843ece1d1b54c325852280f51ef76d0d891e8747270b0c364edcbd731bfa849bd692afffc09041212325d010a2 SHA512 ea294aaa0d54de5b58ef645fbaf5c9512f5a27fb2b49b1120b4a712d01c6482f01a53ac2dac7c8eabdf110823a4556563cde828fc7416479b9c23157282e76da -DIST teco.tar.gz 61305 BLAKE2B 9bb15fcb20948dbcac1928e32b4ac69c4861be3b0c01d5be68836138d9478e71cc0dd5198d9ac6816245605c34f8b21fcd4e62c48c097e56cd585579df119939 SHA512 686b3944a82d088a2fce12a9b770f4aa5f58aaadde064b3d3342114f0ece2d7cbae27d0e92fd026def6f62a3ff0dc82b37146e30a93b2ec195dc7f376b45fdf7 -DIST tecolore.txt.gz 7039 BLAKE2B db19af3081c4c9129d8298709fe77bb8acaf1c0b19e87d4d313cf65a9426449d9fc864378c85712b5716bc6b535c36bc1b9371a212b43ff4cff6d3aca290146c SHA512 f8b66637dd140057331bb950b639f755b7d2a58c6d9feb5c89c062350f3213b40f4e955c586643312b4bcdcfd5ce67c621c8f7351e08a4303be35af967ce206e -DIST tecoprog.doc.gz 15629 BLAKE2B c47ce219e6b7e98b4cd3332f78ea48bb9d98b7beadb0a11de0361ee680a014da4997e0657ad12052ebef02d1b3dbd234330be9f7c198b5645cc0dc6290aa01f6 SHA512 f49de461d6411345e9e72b51bf39bc1155acc07901b54d8fda94b99a4a573005ccffc475ef8aac3bfc0b8bd246dc0077399d4bcef70e8a5e753c45995df7ad55 -EBUILD teco-1.00-r4.ebuild 1700 BLAKE2B 850055702cfc33f0fd155562d5c6b3d126a830e78bef02461cdbb31480f44c7163302ada80271fec203c433d2c16ef0f37eb1aee78b83d59035e36488d918cae SHA512 53257dd5f8ce362efc3b2be0885135c58df3866f3c9275c0db086ed7d9d035c0de001cdcc6f5a316320681b481d36757fb67c984d0e95c51e328cf0c6683f304 -MISC metadata.xml 1356 BLAKE2B a433a260d80042f9a4e034f93e94793b8ae3e9725d44cf4369f5baf506d6dcf9be045d3a4ccbefa842004c8bccd629d55f947ef591ce37a662c4199d4f27f2ca SHA512 3e8680b16e6de3e239f453d13d4b0cb41545aace84af0e9cf8103c0f605cec29467bb0b5feebd592dbded84cd109360c42f63da69115870fb57c97f8137dfdc0 diff --git a/app-editors/teco/files/teco-double-free.diff b/app-editors/teco/files/teco-double-free.diff deleted file mode 100644 index 5a62b23d90be..000000000000 --- a/app-editors/teco/files/teco-double-free.diff +++ /dev/null @@ -1,20 +0,0 @@ ---- te_exec2.c 1993-11-12 21:12:47.000000000 +0000 -+++ te_exec2.c.new 2005-08-21 18:31:26.495907720 +0100 -@@ -197,7 +197,7 @@ - { - if (eisw) /* if ending a file execute, restore the previous "old command string" */ - { -- fclose(eisw); /* return the file descriptor */ -+ fclose(eisw), eisw = NULL; /* return the file descriptor */ - dly_free_blist(cbuf.f); /* return the command string used by the file (after execution done) */ - cbuf.f = oldcstring.f; - cbuf.z = oldcstring.z; -@@ -214,7 +214,7 @@ - oldcstring.z = cbuf.z; - cbuf.f = NULL; /* and make it inaccessible to "rdcmd" */ - } -- if (eisw) fclose(eisw); /* if a command file had been open, close it */ -+ if (eisw) fclose(eisw), eisw = NULL; /* if a command file had been open, close it */ - esp->val1 = (eisw = t_eisw) ? -1 : 0; - esp->flag1 = colonflag; - colonflag = 0; diff --git a/app-editors/teco/files/teco-gcc4.patch b/app-editors/teco/files/teco-gcc4.patch deleted file mode 100644 index fe4d8d3759b4..000000000000 --- a/app-editors/teco/files/teco-gcc4.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- te_subs.c.orig 2007-03-18 19:58:40 +0100 -+++ te_subs.c 2007-03-18 19:58:57 +0100 -@@ -231,7 +231,7 @@ - char c; - { - if (isdigit(c)) return(c - '0' + 1); -- else if isalpha(c) return(mapch_l[c] - 'a' + 11); -+ else if (isalpha(c)) return(mapch_l[c] - 'a' + 11); - else if (fors) - { - if (c == '_') return (SERBUF); diff --git a/app-editors/teco/files/teco-warnings.patch b/app-editors/teco/files/teco-warnings.patch deleted file mode 100644 index f8bbfbfff181..000000000000 --- a/app-editors/teco/files/teco-warnings.patch +++ /dev/null @@ -1,47 +0,0 @@ -Include stdlib.h for exit(3). -Fix conflicting type for malloc(3). -Avoid casting pointers from/to int. - ---- teco-orig/te_defs.h -+++ teco/te_defs.h -@@ -6,6 +6,7 @@ - /* version for multiple buffers 04/19/89 11.25 */ - - #include -+#include - #include - #include - ---- teco-orig/te_rdcmd.c -+++ teco/te_rdcmd.c -@@ -94,7 +94,8 @@ - qreg[i].f = cbuf.f; /* put the old command string in its place */ - if (qreg[i].f) qreg[i].f->b = (struct buffcell *) &qreg[i]; - qreg[i].z = cbuf.z; -- cbuf.f = (struct buffcell *) (cbuf.z = 0); /* no old command string */ -+ cbuf.f = NULL; /* no old command string */ -+ cbuf.z = 0; - err = 0; /* no previous error */ - goto restart; - } ---- teco-orig/te_utils.c -+++ teco/te_utils.c -@@ -13,7 +13,6 @@ - - struct buffcell *get_bcell() - { -- char *malloc(); - struct buffcell *p; - int i; - ---- teco-orig/te_window.c -+++ teco/te_window.c -@@ -1051,7 +1051,7 @@ - pp->c = loc % CELLSIZE; - pp->dot = loc; - } -- return( (int) pb0->f); -+ return(pb0->f != NULL); - } - - /* routine to move N lines (back, forward, or 0) */ diff --git a/app-editors/teco/metadata.xml b/app-editors/teco/metadata.xml deleted file mode 100644 index df81ef45c27c..000000000000 --- a/app-editors/teco/metadata.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - - ulm@gentoo.org - Ulrich Müller - - - TECO /tee'koh/ /n.,v. obs./ 1. [originally an acronym for `[paper] - Tape Editor and COrrector'; later, `Text Editor and COrrector'] /n./ - A text editor developed at MIT and modified by just about everybody. - With all the dialects included, TECO may have been the most prolific - editor in use before EMACS, to which it was directly ancestral. - Noted for its powerful programming-language-like features and its - unspeakably hairy syntax. It is literally the case that every string - of characters is a valid TECO program (though probably not a useful - one); one common game used to be mentally working out what the TECO - commands corresponding to human names did. - - In mid-1991, TECO is pretty much one with the dust of history, - having been replaced in the affections of hackerdom by EMACS. - Descendants of an early (and somewhat lobotomized) version adopted - by DEC can still be found lurking on VMS and a couple of crufty - PDP-11 operating systems, however, and ports of the more advanced - MIT versions remain the focus of some antiquarian interest. - - diff --git a/app-editors/teco/teco-1.00-r4.ebuild b/app-editors/teco/teco-1.00-r4.ebuild deleted file mode 100644 index cf8e0ec22eb5..000000000000 --- a/app-editors/teco/teco-1.00-r4.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit eutils toolchain-funcs flag-o-matic readme.gentoo - -DESCRIPTION="Classic TECO editor, Predecessor to EMACS" -HOMEPAGE="http://www.ibiblio.org/pub/linux/apps/editors/tty/ http://www.ibiblio.org/pub/academic/computer-science/history/pdp-11/teco" -SRC_URI="http://www.ibiblio.org/pub/linux/apps/editors/tty/teco.tar.gz - doc? ( mirror://gentoo/tecolore.txt.gz - mirror://gentoo/tech.txt.gz - mirror://gentoo/teco.doc.gz - mirror://gentoo/tecoprog.doc.gz )" - -LICENSE="freedist" -SLOT="0" -KEYWORDS="alpha amd64 ~ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris" -IUSE="doc" - -RDEPEND="sys-libs/ncurses:0" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -S="${WORKDIR}" - -src_unpack() { - unpack teco.tar.gz - if use doc; then - mkdir doc - cd doc || die - unpack tecolore.txt.gz tech.txt.gz teco.doc.gz tecoprog.doc.gz - fi -} - -src_prepare() { - local pkg_config=$("$(tc-getPKG_CONFIG)" --libs ncurses) - sed -i -e "s:\$(CC):& \$(LDFLAGS):;s:-ltermcap:${pkg_config}:" \ - Makefile || die - # bug 103257 - epatch "${FILESDIR}"/${PN}-double-free.diff - epatch "${FILESDIR}"/${PN}-gcc4.patch - epatch "${FILESDIR}"/${PN}-warnings.patch -} - -src_compile() { - append-flags -ansi - append-cppflags -D_POSIX_SOURCE - emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" -} - -src_install() { - dobin te - doman te.1 - dodoc sample.tecorc sample.tecorc2 READ.ME MANIFEST - if use doc; then - cd doc - dodoc tecolore.txt tech.txt teco.doc tecoprog.doc - fi - - DOC_CONTENTS="The TECO binary is called te. - \nSample configurations and documentation are available - in /usr/share/doc/${PF}/." - readme.gentoo_create_doc -} -- cgit v1.2.3