Index: Makefile =================================================================== RCS file: /home/pcvs/ports/editors/asedit/Makefile,v retrieving revision 1.13 diff -u -r1.13 Makefile --- Makefile 19 May 2007 20:04:00 -0000 1.13 +++ Makefile 19 Mar 2008 18:05:05 -0000 @@ -8,19 +8,27 @@ PORTNAME= asedit PORTVERSION= 1.3.2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= editors MASTER_SITES= ${MASTER_SITE_XCONTRIB} MASTER_SITE_SUBDIR= editors EXTRACT_SUFX= .tar.Z -MAINTAINER= ports@FreeBSD.org +MAINTAINER= gahr@FreeBSD.org COMMENT= Text editor for X/Motif +BUILD_DEPENDS= imake:${PORTSDIR}/devel/imake + USE_MOTIF= yes -USE_IMAKE= yes -XMKMF= xmkmf +USE_XORG= xp xmu xt sm ice xext x11 MAN1= asedit.1 +MANCOMPRESSED= yes + +do-configure: + cd ${WRKSRC} && imake -DUseInstalled -I${PREFIX}/lib/X11/config + +post-install: + cd ${WRKSRC} && ${MAKE} install.man .include --- /dev/null 2008-03-19 19:05:37.000000000 +0100 +++ files/patch-ht_help.c 2008-03-19 19:03:56.000000000 +0100 @@ -0,0 +1,22 @@ +--- ht_help.c.orig 1994-10-10 01:32:00.000000000 +0100 ++++ ht_help.c 2008-03-19 19:03:37.000000000 +0100 +@@ -61,6 +61,7 @@ + + + #include ++#include + #include + + #include +@@ -410,11 +411,7 @@ + } + + /* add the NULL to the constructed string */ +-#if defined(vax11c) || defined(__DECC) + topic->buf[l++] = '\0'; +-#else +- topic->buf[l++] = NULL; +-#endif /* vax11c */ + topic->links = links; /* store the number of links */ + topic->link_selected= False; /* set initial - not selected */ + topic->link_index = -1; /* link index (not set) */ --- /dev/null 2008-03-19 19:05:43.000000000 +0100 +++ files/patch-undo.c 2008-03-19 19:03:46.000000000 +0100 @@ -0,0 +1,28 @@ +--- undo.c.orig 1994-10-10 01:32:00.000000000 +0100 ++++ undo.c 2008-03-19 19:02:58.000000000 +0100 +@@ -354,11 +354,7 @@ + for(k=0; kins_text[k] = txt_data->text->ptr[k]; + } + /* terminate the string with NULL (for easy use in undo/redo) */ +-#if defined(vax11c) || defined(__DECC) + undo_el->ins_text[len] = '\0'; +-#else +- undo_el->ins_text[len] = NULL; +-#endif /* vax11c */ + + } + +@@ -376,13 +372,7 @@ + strncpy(undo_el->del_text, text_buffer+txt_data->startPos,len); + XtFree(text_buffer); + +-#if defined(vax11c) || defined(__DECC) + undo_el->del_text[len] = '\0'; +-#else +- undo_el->del_text[len] = NULL; +-#endif /* vax11c */ +- +- + } + break; +