Update to a more recent CVS snapshot (among other things.)
- Update FTE to a newer snapshot+patches distfile at a reliable location. See http://projects.kolabore.org/fte/ -- not sure when and where I'm going with this, but as a daily user of this editor I like to see it safe. - Improve the default configuration slightly, and show by commented example, how fonts can be changed easily. - Update PLIST. (Removes patches, use `patch -E'.)
Index: Makefile =================================================================== RCS file: /cvs/ports/editors/fte/Makefile,v retrieving revision 1.1.1.1 diff -p -u -r1.1.1.1 Makefile --- Makefile 1 Dec 2007 21:19:33 -0000 1.1.1.1 +++ Makefile 20 Jun 2009 08:01:35 -0000 @@ -2,7 +2,7 @@ COMMENT= powerful and intuitive editor for programmers -DISTNAME= fte-20070915 +DISTNAME= fte-20090118 CATEGORIES= editors devel HOMEPAGE= http://fte.sourceforge.net/ @@ -16,9 +16,7 @@ PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes WANTLIB= X11 Xau Xdmcp Xpm c m stdc++ -MASTER_SITES= http://scapa.dnsalias.net/distfiles/ \ - http://openbsd.dead-parrot.de/distfiles/ \ - http://www.phxbsd.com/OpenBSD/ +MASTER_SITES= ftp://ftp.mrsserver.net/pub/distfiles/ NO_REGRESS= Yes USE_X11= Yes Index: distinfo =================================================================== RCS file: /cvs/ports/editors/fte/distinfo,v retrieving revision 1.1.1.1 diff -p -u -r1.1.1.1 distinfo --- distinfo 1 Dec 2007 21:19:33 -0000 1.1.1.1 +++ distinfo 20 Jun 2009 08:01:35 -0000 @@ -1,5 +1,5 @@ -MD5 (fte-20070915.tar.gz) = j616FIlNy3miLrlXMAVzaA== -RMD160 (fte-20070915.tar.gz) = nypnJrGOXJO1Ed3Ib3W5bHJD4xI= -SHA1 (fte-20070915.tar.gz) = uraPypEe59eZ2rGS3LDYvhWYbTs= -SHA256 (fte-20070915.tar.gz) = Ru/JeBSZNBOU0uXzTq4zYSlSM0Dv3bWOLx1yGgnw1Xs= -SIZE (fte-20070915.tar.gz) = 562550 +MD5 (fte-20090118.tar.gz) = YUpg+QrZGCUnWRH01JuCSw== +RMD160 (fte-20090118.tar.gz) = I6PmmYkkkBBWHRnj5fGEI7/wLyI= +SHA1 (fte-20090118.tar.gz) = tOcjIUm3ckB5SQF91unYXSBqh9E= +SHA256 (fte-20090118.tar.gz) = 2wxmgtYwgCaTPucFriO8BaDCtAFNp9wrdfFfRnX8DVY= +SIZE (fte-20090118.tar.gz) = 599457 Index: patches/patch-Makefile =================================================================== RCS file: /cvs/ports/editors/fte/patches/patch-Makefile,v retrieving revision 1.1.1.1 diff -p -u -r1.1.1.1 patch-Makefile --- patches/patch-Makefile 1 Dec 2007 21:19:33 -0000 1.1.1.1 +++ patches/patch-Makefile 20 Jun 2009 08:01:35 -0000 @@ -1,9 +1,8 @@ $OpenBSD: patch-Makefile,v 1.1.1.1 2007/12/01 21:19:33 mgrimm Exp $ ---- Makefile.orig Sat Sep 15 10:11:58 2007 -+++ Makefile Sat Sep 15 10:25:55 2007 -@@ -1,13 +1,13 @@ --PREFIX=/usr/local -+PREFIX?=/usr/local +--- Makefile.orig Sun Jan 18 17:55:27 2009 ++++ Makefile Sun Jan 18 18:26:39 2009 +@@ -1,7 +1,7 @@ + PREFIX?=/usr/local BINDIR=$(PREFIX)/bin -LIBDIR=$(PREFIX)/lib/fte @@ -11,10 +10,3 @@ $OpenBSD: patch-Makefile,v 1.1.1.1 2007/ CONFIGDIR=$(LIBDIR)/config .PHONY: all install - - all: fte -- $(MAKE) -C src unix -+ (cd src; ${MAKE} unix) - - install: all - sh ./install Index: patches/patch-config_main_fte =================================================================== RCS file: patches/patch-config_main_fte diff -N patches/patch-config_main_fte --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-config_main_fte 20 Jun 2009 08:01:35 -0000 @@ -0,0 +1,22 @@ +$OpenBSD$ +--- config/main.fte.orig Sun Jan 18 17:31:40 2009 ++++ config/main.fte Mon Jan 19 08:41:36 2009 +@@ -117,9 +117,15 @@ object GLOBAL { + # WindowFont = "8x13"; + # WindowFont = "9x15"; + WindowFont = "9x15"; +-%if(UI_KB) +- WindowFont = "*-fixed-bold-*-15*,*-fixed-bold-*-16*"; +-%endif ++ ++# Terminus font example: ++# WindowFont = "*-terminus-medium-*-14*"; ++# JMK font examples: ++# WindowFont = "*-neep-medium-*-15*"; ++# WindowFont = "*-neep alt-medium-*-15*"; ++# Misc bold font example: ++# WindowFont = "*-fixed-bold-*-15*,*-fixed-bold-*-16*"; ++ + # We need some font, which can be 'LOCALIZED' - and this can't be done + # with font names like 9x15 (actually we can, but this would need + # highly skilled users :)) Index: patches/patch-config_uicstyle_fte =================================================================== RCS file: patches/patch-config_uicstyle_fte diff -N patches/patch-config_uicstyle_fte --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-config_uicstyle_fte 20 Jun 2009 08:01:35 -0000 @@ -0,0 +1,24 @@ +$OpenBSD$ +--- config/uicstyle.fte.orig Sun Jan 18 16:37:13 2009 ++++ config/uicstyle.fte Sat Apr 18 18:17:55 2009 +@@ -6,6 +6,11 @@ menu MChangeCIndentStyle { + SetIndentWithTabs 0 + SetCIndentStyle 4 0 -1 0 4 0 4 -4 0 1 -1 4 4 + } ++ item "&BSD Kernel" { ++ ChangeTabSize 8; ++ SetIndentWithTabs 1 ++ SetCIndentStyle 8 0 4 0 8 0 8 -8 0 1 -1 8 4 ++ } + item "&Linux kernel" { + ChangeTabSize 8; + SetIndentWithTabs 1 +@@ -13,7 +18,7 @@ menu MChangeCIndentStyle { + } + item "&GNU" { + ChangeTabSize 8; +- SetIndentWithTabs 1 ++ SetIndentWithTabs 0 + SetCIndentStyle 2 2 -1 0 2 0 2 -2 0 1 -1 2 2 + } + # more... Index: patches/patch-src_clip_x11_cpp =================================================================== RCS file: patches/patch-src_clip_x11_cpp diff -N patches/patch-src_clip_x11_cpp --- patches/patch-src_clip_x11_cpp 1 Dec 2007 21:19:33 -0000 1.1.1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,12 +0,0 @@ -$OpenBSD: patch-src_clip_x11_cpp,v 1.1.1.1 2007/12/01 21:19:33 mgrimm Exp $ ---- src/clip_x11.cpp.orig Tue Sep 18 22:02:08 2007 -+++ src/clip_x11.cpp Tue Sep 18 22:02:13 2007 -@@ -10,7 +10,7 @@ - #include "fte.h" - - int GetXSelection(int *len, char **data, int clipboard); --int SetXSelection(int len, char *data, int clipboard); -+int SetXSelection(long len, char *data, int clipboard); - - int GetPMClip(int clipboard) { - char *data; Index: patches/patch-src_con_x11_cpp =================================================================== RCS file: patches/patch-src_con_x11_cpp diff -N patches/patch-src_con_x11_cpp --- patches/patch-src_con_x11_cpp 1 Dec 2007 21:19:33 -0000 1.1.1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,85 +0,0 @@ -$OpenBSD: patch-src_con_x11_cpp,v 1.1.1.1 2007/12/01 21:19:33 mgrimm Exp $ ---- src/con_x11.cpp.orig Tue Sep 18 21:57:13 2007 -+++ src/con_x11.cpp Tue Sep 18 22:00:34 2007 -@@ -152,7 +152,7 @@ static char winTitle[256] = "FTE"; - static char winSTitle[256] = "FTE"; - - static unsigned char* CurSelectionData[3] = {NULL,NULL,NULL}; --static int CurSelectionLen[3] = {0,0,0}; -+static long CurSelectionLen[3] = {0,0,0}; - static int CurSelectionOwn[3] = {0,0,0}; - static Time now; - -@@ -170,7 +170,7 @@ IncrementalSelectionInfo *incrementalSelections = NULL - - static Bool gotXError; - --static void SendSelection(XEvent *notify, Atom property, Atom type, unsigned char *data, int len, Bool privateData); -+static void SendSelection(XEvent *notify, Atom property, Atom type, unsigned char *data, long len, Bool privateData); - - static int ErrorHandler(Display *, XErrorEvent *ee) { - gotXError = True; -@@ -569,9 +569,9 @@ static int SetupXWindow(int argc, char **argv) - } - if (i == ICON_COUNT) { - // Everything OK, can create property -- CARD32 *iconBuffer = (CARD32 *)malloc(iconBufferSize * sizeof(CARD32)); -+ long *iconBuffer = (long *)malloc(iconBufferSize * sizeof(long)); - if (iconBuffer) { -- CARD32 *b = iconBuffer; -+ long *b = iconBuffer; - for (i = 0; i < ICON_COUNT; i++) { - XpmImage &xpm = xpmImage[i]; - CARD32 *&colors = xpmColors[i]; -@@ -1697,7 +1697,7 @@ static int WaitForXEvent(int eventType, XEvent *event) - } - } - --static void SendSelection(XEvent *notify, Atom property, Atom type, unsigned char *data, int len, Bool privateData) { -+static void SendSelection(XEvent *notify, Atom property, Atom type, unsigned char *data, long len, Bool privateData) { - int (*oldHandler)(Display *, XErrorEvent *); - int i, send; - -@@ -1787,13 +1787,13 @@ static int ConvertSelection(Atom selection, Atom type, - - if (actual_type == proptype_incr) { - // Incremental data -- int pos, buffer_len; -+ long pos, buffer_len; - unsigned char *buffer; - - // Get selection length and allocate buffer - XGetWindowProperty(display, win, prop_selection, 0, 8, True, proptype_incr, - &actual_type, &actual_format, &nitems, &bytes_after, &d); -- buffer_len = *(int *)d; -+ buffer_len = *(long *)d; - buffer = (unsigned char *)malloc(buffer_len); - XFree(d); - // Cannot exit right now if data == NULL since we need to complete the handshake -@@ -1819,7 +1819,7 @@ static int ConvertSelection(Atom selection, Atom type, - - if (nitems && buffer) { - // Data received and have buffer -- if (nitems > (unsigned int)(buffer_len - pos)) { -+ if (nitems > (unsigned long)(buffer_len - pos)) { - // More data than expected - realloc buffer - int new_len = pos + nitems; - unsigned char *new_buffer = (unsigned char *)malloc(new_len); -@@ -1937,7 +1937,7 @@ int GetXSelection(int *len, char **data, int clipboard - return 0; - } - --int SetXSelection(int len, char *data, int clipboard) { -+int SetXSelection(long len, char *data, int clipboard) { - Atom clip = GetXClip(clipboard); - if (CurSelectionData[clipboard] != NULL) - free(CurSelectionData[clipboard]); -@@ -1952,7 +1952,7 @@ int SetXSelection(int len, char *data, int clipboard) - memcpy(CurSelectionData[clipboard], data, CurSelectionLen[clipboard]); - CurSelectionData[clipboard][len] = 0; - if (CurSelectionLen[clipboard] < 64 * 1024) { -- XStoreBytes(display, data, len); -+ XStoreBytes(display, data, (int)len); - } - XSetSelectionOwner(display, clip, win, CurrentTime); - if (XGetSelectionOwner(display, clip) == win) Index: patches/patch-src_e_loadsave_cpp =================================================================== RCS file: patches/patch-src_e_loadsave_cpp diff -N patches/patch-src_e_loadsave_cpp --- patches/patch-src_e_loadsave_cpp 1 Dec 2007 21:19:33 -0000 1.1.1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,12 +0,0 @@ -$OpenBSD: patch-src_e_loadsave_cpp,v 1.1.1.1 2007/12/01 21:19:33 mgrimm Exp $ ---- src/e_loadsave.cpp.orig Sat Sep 15 10:32:34 2007 -+++ src/e_loadsave.cpp Sat Sep 15 10:34:02 2007 -@@ -506,7 +506,7 @@ int EBuffer::SaveTo(char *AFileName) { - while ((bindex = GetUserBookmarkForLine(bindex, l, bname, bpos)) != -1) { - // Skip too long bookmarks - if (strlen(bname) > 256 || blen + strlen(bname) + 6 + 6 > sizeof(book)) continue; -- blen += sprintf(book + blen, "%04x%02x%s", bpos.Col, strlen(bname), bname); -+ blen += sprintf(book + blen, "%04x%02zx%s", bpos.Col, strlen(bname), bname); - } - if (blen != 4) { - blen += sprintf(book + blen, "x%04xb", blen); Index: patches/patch-src_fte-unix_mak =================================================================== RCS file: /cvs/ports/editors/fte/patches/patch-src_fte-unix_mak,v retrieving revision 1.1.1.1 diff -p -u -r1.1.1.1 patch-src_fte-unix_mak --- patches/patch-src_fte-unix_mak 1 Dec 2007 21:19:33 -0000 1.1.1.1 +++ patches/patch-src_fte-unix_mak 20 Jun 2009 08:01:35 -0000 @@ -1,6 +1,6 @@ $OpenBSD: patch-src_fte-unix_mak,v 1.1.1.1 2007/12/01 21:19:33 mgrimm Exp $ ---- src/fte-unix.mak.orig Sat Sep 15 09:44:17 2007 -+++ src/fte-unix.mak Sat Sep 15 18:51:54 2007 +--- src/fte-unix.mak.orig Sun Jan 18 18:06:25 2009 ++++ src/fte-unix.mak Sun Jan 18 18:25:08 2009 @@ -5,10 +5,10 @@ # vfte - for Linux console directly (with limitations, see con_linux.cpp) @@ -14,20 +14,7 @@ $OpenBSD: patch-src_fte-unix_mak,v 1.1.1 TGT_XFTE = xfte TARGETS = $(TGT_XFTE) $(TGT_NFTE) $(TGT_QFTE) $(TGT_SFTE) $(TGT_VFTE) -@@ -43,9 +43,10 @@ XPMLIB = -lXpm - #gcc/g++ - #CC = g++ - #LD = g++ --CC = $(CXX) -+CC?= cc -+CXX?= c++ - LD = $(CXX) --CPPOPTIONS = -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -+CPPOPTIONS = -Wall -Wpointer-arith -Wconversion -Wwrite-strings - - # try this for smaller/faster code and less dependencies - NOEXCEPTION = -fno-rtti -fno-exceptions -@@ -56,8 +57,8 @@ NOEXCEPTION = -fno-rtti -fno-exceptions +@@ -57,8 +57,8 @@ NOEXCEPTION = -fno-rtti -fno-exceptions ####################################################################### # Linux UOS = -DLINUX @@ -38,7 +25,7 @@ $OpenBSD: patch-src_fte-unix_mak,v 1.1.1 ####################################################################### # HP/UX -@@ -77,7 +78,7 @@ XLIBDIR = -L/usr/X11R6/lib +@@ -78,7 +78,7 @@ XLIBDIR = -L/usr/X11R6/lib #MINCDIR = -I/usr/include/Motif1.2 #MLIBDIR = -L/usr/lib/Motif1.2 @@ -47,7 +34,7 @@ $OpenBSD: patch-src_fte-unix_mak,v 1.1.1 ####################################################################### # AIX -@@ -137,17 +138,17 @@ SINCDIR = -I/usr/include/slang +@@ -138,7 +138,7 @@ SINCDIR = -I/usr/include/slang #QLIBDIR = -L$(QTDIR)/lib #QINCDIR = -I$(QTDIR)/include #QINCDIR = -I/usr/include/qt @@ -56,44 +43,3 @@ $OpenBSD: patch-src_fte-unix_mak,v 1.1.1 MOC = moc LIBDIRS = - INCDIRS = $(XINCDIR) $(QINCDIR) $(MINCDIR) $(SINCDIR) - --OPTIMIZE = -g # -O -g -+DEBUG ?= -g -ggdb - #OPTIMIZE = -O2 - #OPTIMIZE = -O2 -s - --CCFLAGS = $(CPPOPTIONS) $(OPTIMIZE) $(NOEXCEPTION) $(INCDIRS) -DUNIX $(UOS) \ -+CCFLAGS = ${DEBUG} $(CPPOPTIONS) $(NOEXCEPTION) $(INCDIRS) -DUNIX $(UOS) \ - $(I18NOPTIONS) $(APPOPTIONS) $(USE_XICON) - LDFLAGS = $(OPTIMIZE) $(LIBDIRS) - -@@ -160,7 +161,7 @@ include objs.inc - SRCS = $(OBJS:.o=.cpp) - - # Need -lXt below if USE_XTINIT is defined --XLIBS = $(XLIBDIR) -lX11 $(SOCKETLIB) $(XPMLIB) -+XLIBS = $(XLIBDIR) $(XPMLIB) -lX11 -lXdmcp -lXau $(SOCKETLIB) - VLIBS = -lgpm -lncurses - NLIBS = -lncurses - SLIBS = -lslang -@@ -169,7 +170,7 @@ QLIBS = $(QLIBDIR) -lqt-mt - #MLIBS = $(MLIBDIR) -lXm -lXp -lXt -lXpm -lXext - - .cpp.o: -- $(CC) -c $< $(CXXFLAGS) $(CPPFLAGS) $(CCFLAGS) -+ $(CXX) -c $< $(CXXFLAGS) $(CPPFLAGS) $(CCFLAGS) - - .c.o: - $(CC) -c $< $(CFLAGS) $(CPPFLAGS) $(CCFLAGS) -@@ -232,10 +233,3 @@ tags: $(SRCS) $(wildcard *.h) - clean: - rm -f core *.o *.moc .depend $(TARGETS) defcfg.h defcfg.cnf \ - cfte fte sfte vfte nfte qfte xfte compkeys tags -- --# --# include dependency files if they exist --# --ifneq ($(wildcard .depend),) --include .depend --endif Index: patches/patch-src_h_simple_cpp =================================================================== RCS file: patches/patch-src_h_simple_cpp diff -N patches/patch-src_h_simple_cpp --- patches/patch-src_h_simple_cpp 1 Dec 2007 21:19:33 -0000 1.1.1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,14 +0,0 @@ -$OpenBSD: patch-src_h_simple_cpp,v 1.1.1.1 2007/12/01 21:19:33 mgrimm Exp $ ---- src/h_simple.cpp.orig Sat Sep 15 10:34:22 2007 -+++ src/h_simple.cpp Sat Sep 15 10:36:39 2007 -@@ -24,8 +24,8 @@ int Hilit_SIMPLE(EBuffer *BF, int LN, PCell B, int Pos - int nextState; - char *match; - int lastPos = -1; -- hlState entryState; -- int iterCount; -+ hlState entryState = 0; -+ int iterCount = 1; - bool reportError = true; - - if (hm == 0 || hm->stateCount == 0) Index: patches/patch-src_i_complete_cpp =================================================================== RCS file: patches/patch-src_i_complete_cpp diff -N patches/patch-src_i_complete_cpp --- patches/patch-src_i_complete_cpp 1 Dec 2007 21:19:33 -0000 1.1.1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,12 +0,0 @@ -$OpenBSD: patch-src_i_complete_cpp,v 1.1.1.1 2007/12/01 21:19:33 mgrimm Exp $ ---- src/i_complete.cpp.orig Sat Sep 15 10:36:48 2007 -+++ src/i_complete.cpp Sat Sep 15 10:38:21 2007 -@@ -278,7 +278,7 @@ void ExComplete::RepaintStatus() - (WordFixedCount == 1) ? COM_ORIG : COM_HIGH, W); - p += l; - char s[100]; -- sprintf(s, "] (T:%d/%d S:%d)", WordPos + 1, WordsLast, -+ sprintf(s, "] (T:%d/%d S:%zu)", WordPos + 1, WordsLast, - WordFixedCount); - MoveStr(B, p, W, s, COM_NORM, W); - // ConSetCursorPos(cur + WordFixed, H - 1); Index: patches/patch-src_o_cvsbase_cpp =================================================================== RCS file: patches/patch-src_o_cvsbase_cpp diff -N patches/patch-src_o_cvsbase_cpp --- patches/patch-src_o_cvsbase_cpp 1 Dec 2007 21:19:33 -0000 1.1.1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,21 +0,0 @@ -$OpenBSD: patch-src_o_cvsbase_cpp,v 1.1.1.1 2007/12/01 21:19:33 mgrimm Exp $ ---- src/o_cvsbase.cpp.orig Sat Sep 15 10:38:45 2007 -+++ src/o_cvsbase.cpp Sat Sep 15 10:40:22 2007 -@@ -409,7 +409,7 @@ void ECvsBase::GetName (char *AName,int MaxLen) { - void ECvsBase::GetInfo (char *AInfo,int MaxLen) { - char format[128]; - -- sprintf (format,"%2d %04d/%03d %s (%%.%is) ",ModelNo,Row,Count,Title,MaxLen-24-strlen (Title)); -+ sprintf (format,"%2d %04d/%03d %s (%%.%lus) ",ModelNo,Row,Count,Title,MaxLen-24-strlen (Title)); - sprintf (AInfo,format,Command); - } - -@@ -424,7 +424,7 @@ void ECvsBase::GetPath (char *APath,int MaxLen) { - void ECvsBase::GetTitle(char *ATitle, int MaxLen, char *ASTitle, int SMaxLen) { - char format[128]; - -- sprintf (format,"%s: %%.%is",Title,MaxLen-4-strlen (Title)); -+ sprintf (format,"%s: %%.%lus",Title,MaxLen-4-strlen (Title)); - sprintf (ATitle,format,Command); - strncpy (ASTitle,Title,SMaxLen); - ASTitle[SMaxLen-1]=0; Index: patches/patch-src_o_svnbase_cpp =================================================================== RCS file: patches/patch-src_o_svnbase_cpp diff -N patches/patch-src_o_svnbase_cpp --- patches/patch-src_o_svnbase_cpp 1 Dec 2007 21:19:33 -0000 1.1.1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,21 +0,0 @@ -$OpenBSD: patch-src_o_svnbase_cpp,v 1.1.1.1 2007/12/01 21:19:33 mgrimm Exp $ ---- src/o_svnbase.cpp.orig Sat Sep 15 10:40:36 2007 -+++ src/o_svnbase.cpp Sat Sep 15 10:41:06 2007 -@@ -409,7 +409,7 @@ void ESvnBase::GetName (char *AName,int MaxLen) { - void ESvnBase::GetInfo (char *AInfo,int MaxLen) { - char format[128]; - -- sprintf (format,"%2d %04d/%03d %s (%%.%is) ",ModelNo,Row,Count,Title,MaxLen-24-strlen (Title)); -+ sprintf (format,"%2d %04d/%03d %s (%%.%lus) ",ModelNo,Row,Count,Title,MaxLen-24-strlen (Title)); - sprintf (AInfo,format,Command); - } - -@@ -424,7 +424,7 @@ void ESvnBase::GetPath (char *APath,int MaxLen) { - void ESvnBase::GetTitle(char *ATitle, int MaxLen, char *ASTitle, int SMaxLen) { - char format[128]; - -- sprintf (format,"%s: %%.%is",Title,MaxLen-4-strlen (Title)); -+ sprintf (format,"%s: %%.%lus",Title,MaxLen-4-strlen (Title)); - sprintf (ATitle,format,Command); - strncpy (ASTitle,Title,SMaxLen); - ASTitle[SMaxLen-1]=0; Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/editors/fte/pkg/PLIST,v retrieving revision 1.1.1.1 diff -p -u -r1.1.1.1 PLIST --- pkg/PLIST 1 Dec 2007 21:19:33 -0000 1.1.1.1 +++ pkg/PLIST 20 Jun 2009 08:01:35 -0000 @@ -1,7 +1,7 @@ @comment $OpenBSD: PLIST,v 1.1.1.1 2007/12/01 21:19:33 mgrimm Exp $ -bin/cfte +...@bin bin/cfte bin/fte -bin/xfte +...@bin bin/xfte share/doc/fte/ share/doc/fte/about.html share/doc/fte/cfgfiles.html