app-editors/levee: drop 3.5a

Bug: https://bugs.gentoo.org/870889
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
This commit is contained in:
Andreas K. Hüttel
2024-10-26 23:46:06 +02:00
parent 374e97d71c
commit b76e7d356a
5 changed files with 0 additions and 153 deletions

View File

@@ -1,3 +1,2 @@
DIST levee-3.5a.tar.gz 67733 BLAKE2B 291b502a8c9581c2c0f2ca6714c17c86692067d5de66e987f8a7b506965a21ff149c6fe445532e9b065e40dd7e519d1ebc6b5ff69c5b4a4129138df224f71dfd SHA512 e95b4fc6370903dda07aff0a612c7f34425ab0b854d05a08f42b7e339d1a86a436316d31f3667748943e2ce2e68be7f2369e4a3b36c0715b00d31b8ab50cdaf1
DIST levee-4.0-patches.tar.xz 12292 BLAKE2B b5ff5dbd4e9a5be0aab747ca557cd4e8235057a23ad9f10ec6aad921c4cb5da3086315162dcd0a6db97102cfc573da5ae13e4ca4738cb5875f0bf6f32ae244b2 SHA512 fe8c9f781e63b1b800e754ffda5322a266a51e905e105b5f4b2e604f3ec922f9bf5fb6657b89f290c4ecff80f7bcdce88a2c03cac3082dc5c4d70e23b10bd931
DIST levee-4.0.tar.bz2 80596 BLAKE2B c38325a04cadb78e2961d26dff605943ccc8214232ce9bf3fb61bf7ee8f91b1e6a43631326e21e38be73d8917a290d92790cc9bc2a4ca7b186b740674fbc5f8f SHA512 7551963018674431167ee2635dccfed1648268c33ec3ae1f11c0ced89dcba280ae1f6d3ab678ad4ba8331e0928b47f6c5953758da7516bae10df9e3edd65c22c

View File

@@ -1,16 +0,0 @@
--- a/unixcall.c
+++ b/unixcall.c
@@ -77,6 +77,13 @@
static int ioset = 0;
static struct termios old;
+#if defined(__MACH__)
+# define TCGETS TIOCGETA
+# define TCSETS TIOCSETA
+# define TCGETA TIOCGETA
+# define TCSETAF TIOCSETAF
+#endif
+
void
initcon()
{

View File

@@ -1,75 +0,0 @@
--- a/editcor.c
+++ b/editcor.c
@@ -183,11 +183,11 @@
strcpy(scratch, "/tmp/lv.XXXXXX");
clrprompt();
printch('!');
- if ( !getline(instring) )
+ if ( !get_line(instring) )
return FALSE;
if ( (tf = mkstemp(scratch)) < 0 ) {
prints("[tempfile error]");
return FALSE;
--- a/extern.h
+++ b/extern.h
@@ -195,11 +195,11 @@
extern exec_type PROC editcore();
extern char PROC line(), peekc(), readchar();
extern char PROC *findparse(),*makepat();
-extern bool PROC getline();
+extern bool PROC get_line();
extern bool PROC putfile();
extern bool PROC doyank(), deletion(), putback();
extern bool PROC pushb(),pushi(),pushmem(),uputcmd(), delete_to_undo();
extern bool PROC ok_to_scroll(), move_to_undo();
--- a/main.c
+++ b/main.c
@@ -251,11 +251,11 @@
println();
mode=emode;
do {
prompt(FALSE,":");
- if (getline(instring))
+ if (get_line(instring))
exec(instring, &mode, &noquit);
indirect = FALSE;
if (mode == E_VISUAL && zotscreen && noquit) { /*ask for more*/
prints(" [more]");
if ((ch=peekc()) == 13 || ch == ' ' || ch == ':')
--- a/misc.c
+++ b/misc.c
@@ -19,11 +19,11 @@
*/
#include "levee.h"
#include "extern.h"
bool PROC
-getline(str)
+get_line(str)
char *str;
{
int len;
char flag;
--- a/move.c
+++ b/move.c
@@ -158,11 +158,11 @@
case FSEARCH:
case BSEARCH:
clrprompt();
if (cmd == PATT_FWD || cmd == PATT_BACK) {
printch(tsearch = instring[0] = chars[cmd-PATT_FWD]);
- if (!getline(&instring[1]))
+ if (!get_line(&instring[1]))
return ESCAPED; /* needs to skip later tests */
}
else {
if (!lsearch)
return BADMOVE;

View File

@@ -1,15 +0,0 @@
--- a/configure.inc
+++ b/configure.inc
@@ -1074,11 +1074,11 @@
else
PROG_INSTALL="$DEST"
fi
AC_SUB 'INSTALL' "$PROG_INSTALL"
- AC_SUB 'INSTALL_PROGRAM' "$PROG_INSTALL -s -m 755"
+ AC_SUB 'INSTALL_PROGRAM' "$PROG_INSTALL -m 755"
AC_SUB 'INSTALL_DATA' "$PROG_INSTALL -m 444"
# finally build a little directory installer
# if mkdir -p works, use that, otherwise use install -d,
# otherwise build a script to do it by hand.

View File

@@ -1,46 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit toolchain-funcs
DESCRIPTION="Really tiny vi clone, for things like rescue disks"
HOMEPAGE="http://www.pell.chi.il.us/~orc/Code/"
SRC_URI="http://www.pell.chi.il.us/~orc/Code/levee/${P}.tar.gz"
LICENSE="levee"
SLOT="0"
KEYWORDS="amd64 ppc sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
RDEPEND="
!app-text/lv
sys-libs/ncurses:0=
"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
PATCHES=(
"${FILESDIR}"/${PN}-3.4o-darwin.patch
"${FILESDIR}"/${P}-QA.patch
"${FILESDIR}"/${PN}-3.5-glibc210.patch
)
src_configure() {
export AC_CPP_PROG="$(tc-getCPP)"
export AC_PATH="${PATH}"
export AC_LIBDIR="$($(tc-getPKG_CONFIG) --libs ncurses)"
./configure.sh \
--prefix="${PREFIX}"/usr || die "configure failed"
}
src_compile() {
emake \
CFLAGS="${CFLAGS} -Wall -Wextra ${LDFLAGS}" \
CC="$(tc-getCC)"
}
src_install() {
emake PREFIX="${D}/${EPREFIX}" install
}