maintenance update to 2.2.15

This commit is contained in:
naddy 2006-07-08 14:56:59 +00:00
parent 57c10f880e
commit 8b115a3489
3 changed files with 8 additions and 43 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.10 2006/03/31 20:07:08 naddy Exp $
# $OpenBSD: Makefile,v 1.11 2006/07/08 14:56:59 naddy Exp $
COMMENT= "zile is lossy emacs"
DISTNAME= zile-2.2.13
DISTNAME= zile-2.2.15
CATEGORIES= editors
HOMEPAGE= http://zile.sourceforge.net/
@ -16,5 +16,7 @@ WANTLIB= c ncurses
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=zile/}
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --infodir='$${prefix}/info' \
--mandir='$${prefix}/man'
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
MD5 (zile-2.2.13.tar.gz) = d2156809cf1482c2f670d35b083babb5
RMD160 (zile-2.2.13.tar.gz) = 01d784d8cab51584ea1155483bf326414f9877ec
SHA1 (zile-2.2.13.tar.gz) = f8593ea026ed04bd878f2310065dc569d7ea44c6
SIZE (zile-2.2.13.tar.gz) = 329639
MD5 (zile-2.2.15.tar.gz) = 1fa62e2309fa52e26a5594cc38911aee
RMD160 (zile-2.2.15.tar.gz) = c52f052c3ebc39cdabd0511e927cbd57038be77e
SHA1 (zile-2.2.15.tar.gz) = b50bbad17f321c2401e139a381e3418466ecd40d
SIZE (zile-2.2.15.tar.gz) = 334664

View File

@ -1,37 +0,0 @@
$OpenBSD: patch-src_term_ncurses_c,v 1.1 2006/03/31 20:07:09 naddy Exp $
--- src/term_ncurses.c.orig Tue Mar 14 20:59:08 2006
+++ src/term_ncurses.c Tue Mar 14 20:59:49 2006
@@ -35,8 +35,6 @@
#include "zile.h"
#include "extern.h"
-typedef SCREEN Screen;
-Screen *screen;
int xterm;
void term_move(size_t y, size_t x)
@@ -98,8 +96,7 @@ void term_init(void)
xterm = TRUE;
printf("\033[?1036;h"); /* Make Meta send ESC */
}
- screen = newterm(NULL, stdout, stdin);
- set_term(screen);
+ initscr();
term_set_size((size_t)COLS, (size_t)LINES);
@@ -119,14 +116,12 @@ void term_close(void)
/* Free memory and finish with ncurses. */
endwin();
- delscreen(screen);
if (xterm) {
printf("\033[?1036;l"); /* Reset Meta key */
printf("\r \r"); /* Overwrite string in previous line
for terminal emulators that don't
understand it */
}
- screen = NULL;
}
static size_t translate_key(int c)