diff options
author | Gerald Pfeifer <gerald@FreeBSD.org> | 2009-09-13 18:40:40 +0000 |
---|---|---|
committer | Gerald Pfeifer <gerald@FreeBSD.org> | 2009-09-13 18:40:40 +0000 |
commit | 020cc4fe024e90ab718ed12232182175b3a9b2e9 (patch) | |
tree | 258cc29c7b45127f4c6078032b28d5cb99c85f56 /editors | |
parent | - Update to 3.2.2 (diff) |
Remove editors/bed. It has been marked IGNORE for more than two years
and also still depends on lang/gcc34, failing to work with any reasonably
recent version of GCC. Plus, it lacks a maintainer.
Notes
Notes:
svn path=/head/; revision=241352
Diffstat (limited to 'editors')
23 files changed, 0 insertions, 612 deletions
diff --git a/editors/Makefile b/editors/Makefile index 75acb75c9f62..596db6b2341e 100644 --- a/editors/Makefile +++ b/editors/Makefile @@ -16,7 +16,6 @@ SUBDIR += asedit SUBDIR += axe SUBDIR += beav - SUBDIR += bed SUBDIR += biew SUBDIR += bitedit SUBDIR += bitmap diff --git a/editors/bed/Makefile b/editors/bed/Makefile deleted file mode 100644 index 9a8b727a4d86..000000000000 --- a/editors/bed/Makefile +++ /dev/null @@ -1,66 +0,0 @@ -# New ports collection makefile for: bed -# Date created: 2001/05/07 -# Whom: jkaltes@hetnet.nl -# -# $FreeBSD$ -# - -PORTNAME= bed -PORTVERSION= 0.2.23 -PORTREVISION= 1 -CATEGORIES= editors -MASTER_SITES= http://bedlinux.tripod.com/download/ -EXTRACT_SUFX= .src.tar.gz - -MAINTAINER= ports@FreeBSD.org -COMMENT= Variable dataformat binary editor - -BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash - -IGNORE= has a broken test for pthread_create() (wrong prototype and calling conventions) causing an infinite loop. - -USE_GCC= 3.4 -USE_GMAKE= yes -GNU_CONFIGURE= yes -ALL_TARGET= dep all - -OPTIONS= X11 "Enable X11 support" on - -MAN1= bed.1 xbed.1 -MANCOMPRESSED= yes - -.include <bsd.port.pre.mk> - -# Check for menubar support in "x11/rxvt". In case of failure, disable X11 if -# BATCH or PACKAGE_BUILDING, and IGNORE otherwise. -.if !defined(WITHOUT_X11) -. if exists(${LOCALBASE}/bin/rxvt) -MENUBAR_TEST!= rxvt -h 2>&1 | ${GREP} -i menubar || ${TRUE} -. if empty(MENUBAR_TEST) -. if defined(BATCH) || defined(PACKAGE_BUILDING) -WITHOUT_X11= yes -. else -IGNORE= needs "x11/rxvt" to be compiled with the WITH_MENUBAR option to enable X11 support -. endif -. endif -. endif -.endif - -.if !defined(WITHOUT_X11) -PATCH_DEPENDS+= rxvt:${PORTSDIR}/x11/rxvt -.endif - -.if !defined(WITHOUT_X11) -RUN_DEPENDS+= rxvt:${PORTSDIR}/x11/rxvt -PLIST_SUB+= X11="" -.else -PLIST_SUB+= X11="@comment " -CONFIGURE_ARGS+=--without-x -.endif - -post-configure: - @${ECHO_CMD} 'CONFIG_DEBUG=n' >> ${WRKSRC}/config - @${ECHO_CMD} 'CONFIG_MMAP=y' >> ${WRKSRC}/config - @${ECHO_CMD} 'GCC=${CC}' >> ${WRKSRC}/config - -.include <bsd.port.post.mk> diff --git a/editors/bed/distinfo b/editors/bed/distinfo deleted file mode 100644 index 5a7c1bf5a700..000000000000 --- a/editors/bed/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (bed-0.2.23.src.tar.gz) = 4fafdf0b30622c7f849b68d22e74cde2 -SHA256 (bed-0.2.23.src.tar.gz) = 3a83a1eb8db1f9cc668e5862d539c329d99a8bc840f863f519fe05769540049d -SIZE (bed-0.2.23.src.tar.gz) = 570961 diff --git a/editors/bed/files/patch-Makefile b/editors/bed/files/patch-Makefile deleted file mode 100644 index 7c3dae1d3a2f..000000000000 --- a/editors/bed/files/patch-Makefile +++ /dev/null @@ -1,33 +0,0 @@ ---- Makefile.orig Fri Jul 9 08:01:08 2004 -+++ Makefile Tue Jan 2 00:25:53 2007 -@@ -50,7 +50,7 @@ - -mv $(ROOTDIR)$(CONFDIRLINK) $(CONFDIRLINK).bak - -$(MKDIR) $(ROOTDIR)$(CONFDIR) - ifneq ($(CYGWIN),yes) -- $(SYMLINK) $(CONFLASTDIR) $(ROOTDIR)$(CONFDIRLINK) -+# $(SYMLINK) $(CONFLASTDIR) $(ROOTDIR)$(CONFDIRLINK) - -mv $(ROOTDIR)$(CONFDIR)/$(CONFFILE) $(ROOTDIR)$(CONFDIR)/~$(CONFFILE) - endif - $(CP) $(CONFFILE) $(ROOTDIR)$(CONFDIR) -@@ -95,10 +95,10 @@ - cp public.key $(ROOTDIR)$(CONFDIR) - ifeq ($(HAS_FILE),y) - $(CP) testmarks.bedm bedmagic addmagic.sh $(ROOTDIR)$(CONFDIR) -- @bash ./addmagic.sh -+# @bash ./addmagic.sh - endif - ifneq ($(HAS_APPLICATIONS),) -- cp progman/bed-binary-editor.desktop $(ROOTDIR)$(HAS_APPLICATIONS)/bed-binary-editor.desktop -+# cp progman/bed-binary-editor.desktop $(ROOTDIR)$(HAS_APPLICATIONS)/bed-binary-editor.desktop - endif - ifeq ($(CONFIG_PROGMAN),y) - # cp bed.xpm $(ROOTDIR)$(ICONPATH) -@@ -114,7 +114,7 @@ - ifeq ($(ROOTDIR),) - @cp uninstallhead $(ROOTDIR)$(CONFDIR)/uninstallbed.sh - @FILES=`for afile in $(ROOTDIR)$(BINDIST); do test -e $$afile&&echo $$afile ;done`; find $$FILES ! -type d -print |xargs echo $(REMOVE) ' ' >> $(ROOTDIR)$(CONFDIR)/uninstallbed.sh ;find $$FILES -type d -a -print |$(SORT) -r|xargs echo $(RMDIR) ' ' >> $(ROOTDIR)$(CONFDIR)/uninstallbed.sh -- @echo Uninstall with sh $(ROOTDIR)$(CONFDIR)/uninstallbed.sh -+# @echo Uninstall with sh $(ROOTDIR)$(CONFDIR)/uninstallbed.sh - endif - endif - @echo Binary: '$(ROOTDIR)$(BINDIR)/$(EXEPROGRAM)' diff --git a/editors/bed/files/patch-config.in b/editors/bed/files/patch-config.in deleted file mode 100644 index d633e036b42b..000000000000 --- a/editors/bed/files/patch-config.in +++ /dev/null @@ -1,13 +0,0 @@ -$FreeBSD$ - ---- config.in.orig Tue Oct 7 13:47:25 2003 -+++ config.in Tue Oct 7 13:47:35 2003 -@@ -13,7 +13,7 @@ - SYSTEM=@SYSTEM@ - CYGWIN=@CYGWIN@ - export CONFFILE=$(PROGRAM)rc --export CONFLASTDIR=$(PROGRAM)-$(VERSION) -+export CONFLASTDIR=$(PROGRAM) - export ROOTDIR= - LN_S=@LN_S@ - # compile support for the use of plugins. Needs libdl diff --git a/editors/bed/files/patch-configure b/editors/bed/files/patch-configure deleted file mode 100644 index 85619edca72f..000000000000 --- a/editors/bed/files/patch-configure +++ /dev/null @@ -1,18 +0,0 @@ ---- configure.orig Fri Mar 26 10:58:33 2004 -+++ configure Fri Mar 26 10:59:01 2004 -@@ -5588,6 +5588,7 @@ - sigset_t set; - pid_t pid=getpid(); - printf("Checking for longjump from interrupt more than once... "); -+#ifdef __i386__ - signal(SIGINT,sighand); - if(sigsetjmp(jmp,2)==4) { - ret++; -@@ -5597,6 +5598,7 @@ - } - } - kill(pid,SIGINT); -+#endif - puts("no"); - exit( 4); - } diff --git a/editors/bed/files/patch-editmacros.cpp b/editors/bed/files/patch-editmacros.cpp deleted file mode 100644 index ba41997a3637..000000000000 --- a/editors/bed/files/patch-editmacros.cpp +++ /dev/null @@ -1,11 +0,0 @@ ---- src/editmacros.cpp.orig Mon Dec 8 10:34:23 2003 -+++ src/editmacros.cpp Mon Dec 8 10:35:00 2003 -@@ -153,7 +153,7 @@ - #define offwrite(handle,off,str, len) ((lseek(handle,off,SEEK_SET)==off)?write(handle,str,len)==len:0) - #include "varmacro.h" - #ifdef OLDGCCVARMACRO --#define returnmessage(x...) {message( ## x);beep();erefresh();return -1;} VARMACRO -+#define returnmessage(x...) {message( x);beep();erefresh();return -1;} VARMACRO - #else - #define returnmessage(...) {message(__VA_ARGS__);beep();erefresh();return -1;} - #endif diff --git a/editors/bed/files/patch-getfile.cpp b/editors/bed/files/patch-getfile.cpp deleted file mode 100644 index 667f25c867f9..000000000000 --- a/editors/bed/files/patch-getfile.cpp +++ /dev/null @@ -1,13 +0,0 @@ ---- src/getfile.cpp.orig Thu Apr 17 06:53:47 2003 -+++ src/getfile.cpp Mon Dec 8 10:33:51 2003 -@@ -503,8 +503,8 @@ - }; - #include "varmacro.h" - #ifdef OLDGCCVARMACRO --#define keydef(sym,keys...) input.putseq(sym,sizeof((unsigned char [])##keys),(unsigned char []) ##keys) VARMACRO --#define seqput(sym,keys...) keyinp->putseq(sym,sizeof((unsigned char [])##keys),(unsigned char []) ##keys) VARMACRO -+#define keydef(sym,keys...) input.putseq(sym,sizeof((unsigned char [])keys),(unsigned char []) keys) VARMACRO -+#define seqput(sym,keys...) keyinp->putseq(sym,sizeof((unsigned char [])keys),(unsigned char []) keys) VARMACRO - #else - #define keydef(sym,...) input.putseq(sym,sizeof((unsigned char [])__VA_ARGS__),(unsigned char []) __VA_ARGS__) - #define seqput(sym,...) keyinp->putseq(sym,sizeof((unsigned char [])__VA_ARGS__),(unsigned char []) __VA_ARGS__) diff --git a/editors/bed/files/patch-plugins::examples::Makefile b/editors/bed/files/patch-plugins::examples::Makefile deleted file mode 100644 index e54e1c1002c2..000000000000 --- a/editors/bed/files/patch-plugins::examples::Makefile +++ /dev/null @@ -1,45 +0,0 @@ ---- plugins/examples/Makefile.orig Mon Mar 1 07:11:28 2004 -+++ plugins/examples/Makefile Tue Jan 2 10:51:04 2007 -@@ -35,12 +35,12 @@ - BIN2BYTE= ../../utils/bin2byte - PLUGINCFLAGSALL=-DPLUGINSRC=1 - ifeq ($(CONFIG_DEBUG),n) --PLUGINLDFLAGS= -O3 -s --PLUGINCFLAGS= $(CFLAGS) $(OPTS) -O3 $(PLUGINCFLAGSALL) -+PLUGINLDFLAGS= -s -+PLUGINCFLAGS= $(CFLAGS) $(OPTS) $(PLUGINCFLAGSALL) - else - ifeq ($(CONFIG_DEBUG),o) --PLUGINLDFLAGS= -O2 -g --PLUGINCFLAGS= $(CFLAGS) $(OPTS) -g -O2 $(PLUGINCFLAGSALL) -+PLUGINLDFLAGS= -g -+PLUGINCFLAGS= $(CFLAGS) $(OPTS) -g $(PLUGINCFLAGSALL) - - else - PLUGINCFLAGS= $(CFLAGS) $(OPTS) -g $(PLUGINCFLAGSALL) -@@ -49,7 +49,7 @@ - endif - endif - #BEDSRCDIR=\"../../src\" --PLUGINCFLAGS := -I../ -I../../src/ -I../../src/empty $(X_CFLAGS) $(PLUGINCFLAGS) -DNEWTERM -DBEDSRCDIR=$(BEDSRCDIR) -+PLUGINCFLAGS := -I../ -I../../src/ -I../../src/empty $(X_CFLAGS) $(PLUGINCFLAGS) -DNEWTERM -DBEDSRCDIR=$(BEDSRCDIR) -fPIC - #PLUGINCFLAGS=-g - #PLUGINLDFLAGS=-s -O6 - #PLUGINLDFLAGS= -O6 -@@ -339,14 +339,14 @@ - plughelp: mkhelp - ./mkhelp > plughelp - mkhelp: mkhelp.h mkhelp.c -- gcc -DHELP_H='"mkhelp.h"' mkhelp.c -o mkhelp -+ $(CC) -DHELP_H='"mkhelp.h"' mkhelp.c -o mkhelp - mkhelp.h: $(INLINKSRC) mkhelp.sh $(CONFIG) - sh ./mkhelp.sh $(INLINKSRC) > mkhelp.h - - plugman: mkman - ./mkman > plugman - mkman: mkman.h mkhelp.c -- gcc -DHELP_H='"mkman.h"' mkhelp.c -o mkman -+ $(CC) -DHELP_H='"mkman.h"' mkhelp.c -o mkman - mkman.h: $(SRC) mkhelp.sh - sh ./mkhelp.sh $(filter-out $(INLINKSRC),$(SRC)) > mkman.h - diff --git a/editors/bed/files/patch-plugins::examples::file.cpp b/editors/bed/files/patch-plugins::examples::file.cpp deleted file mode 100644 index a9da5b7cf7ee..000000000000 --- a/editors/bed/files/patch-plugins::examples::file.cpp +++ /dev/null @@ -1,11 +0,0 @@ ---- plugins/examples/file.cpp.orig Fri Mar 26 10:13:48 2004 -+++ plugins/examples/file.cpp Fri Mar 26 10:13:52 2004 -@@ -73,7 +73,7 @@ - - - #ifdef OLDGCCVARMACRO --#define fprintf(x,args...) {message(##args);erefresh();} -+#define fprintf(x,args...) {message(args);erefresh();} - #else - #define fprintf(x,...) {message(__VA_ARGS__);erefresh();} - #endif diff --git a/editors/bed/files/patch-plugins::examples::title.cc b/editors/bed/files/patch-plugins::examples::title.cc deleted file mode 100644 index 32e25f5c1d91..000000000000 --- a/editors/bed/files/patch-plugins::examples::title.cc +++ /dev/null @@ -1,19 +0,0 @@ ---- plugins/examples/title.cc.orig Fri Mar 26 10:30:14 2004 -+++ plugins/examples/title.cc Fri Mar 26 10:31:01 2004 -@@ -66,14 +66,14 @@ - } - #endif - #ifdef TTYNAME --#ifdef HAS_TTYNAME_R -+#if defined(HAS_TTYNAME_R) && !defined(__FreeBSD__) - char nametty[15]; - #else - char *nametty; - #endif - // ptsname_r(titlebuf,ttys[i],MAXTITLE-nr); - if(isatty(STDOUT_FILENO)) { --#ifdef HAS_TTYNAME_R -+#if defined(HAS_TTYNAME_R) && !defined(__FreeBSD__) - if(!ttyname_r(STDOUT_FILENO,nametty,15)) { - #else - if((nametty=ttyname(STDOUT_FILENO))) { diff --git a/editors/bed/files/patch-plugins__examples__bitflags.cc b/editors/bed/files/patch-plugins__examples__bitflags.cc deleted file mode 100644 index f12bcb8d6241..000000000000 --- a/editors/bed/files/patch-plugins__examples__bitflags.cc +++ /dev/null @@ -1,55 +0,0 @@ ---- plugins/examples/bitflags.cc.orig Thu Apr 17 09:16:56 2003 -+++ plugins/examples/bitflags.cc Mon Jan 1 23:58:08 2007 -@@ -76,8 +76,8 @@ - else - betweenflags=NULL; - -- table=new (char*)[maxtable]; -- lens=new (char)[maxtable]; -+ table=new char*[maxtable]; -+ lens=new char[maxtable]; - - memcpy(lens,fl.lens,insidetable*sizeof(char)); - for(int i=0;i<insidetable;i++) { -@@ -97,8 +97,8 @@ - noflag('-'), - - maxtable(1) { -- table=new (char *)[maxtable]; -- lens=new (char)[maxtable]; -+ table=new char *[maxtable]; -+ lens=new char[maxtable]; - insidetable=0; - half=maxres; - recalc(); -@@ -227,8 +227,8 @@ - return -1; - char *convptr=convstr,*end; - int bitten=datbytes()*8; -- char **newtable=new (char *)[bitten]; -- char *newlens=new (char )[bitten]; -+ char **newtable=new char *[bitten]; -+ char *newlens=new char [bitten]; - for(nrtable=0;nrtable<bitten&&convptr<afterflags;nrtable++) { - end=(char *)memchr(convptr,',',afterflags-convptr); - if(!end||end>afterflags) -@@ -369,7 +369,7 @@ - bytes=bitflags->datbytes(); - created=0; - maxtable=bitflags->maxtable; -- newtable= new (char *)[maxtable]; -+ newtable= new char *[maxtable]; - lens = new char[maxtable]; - insidetable=bitflags->insidetable; - memmove(lens,bitflags->lens,sizeof(char)*insidetable); -@@ -551,8 +551,8 @@ - if(bit<bitten) { - char **oldtable=newtable; - char *oldlens=lens; -- newtable=new (char*)[bitten]; -- lens=new (char)[bitten]; -+ newtable=new char*[bitten]; -+ lens=new char[bitten]; - if(insidetable>0) { - memcpy(newtable,oldtable,insidetable*sizeof(char *)); - memcpy(lens,oldlens,insidetable*sizeof(char )); diff --git a/editors/bed/files/patch-plugins__examples__elftables.cc b/editors/bed/files/patch-plugins__examples__elftables.cc deleted file mode 100644 index 4850142c0104..000000000000 --- a/editors/bed/files/patch-plugins__examples__elftables.cc +++ /dev/null @@ -1,11 +0,0 @@ ---- plugins/examples/elftables.cc.orig Thu May 23 16:28:24 2002 -+++ plugins/examples/elftables.cc Tue Jan 2 00:16:12 2007 -@@ -43,7 +43,7 @@ - class Editor { - public: - #include "faked.h" --int Editor::startindex2table(Filter * (*func)(int fb,int sb,char *opts,ScreenPart *part=NULL)) ; -+int Editor::startindex2table(startindex2table_func_t *func) ; - int Editor::getanswer(const char *question,char *answ,int anslen,int ansroom=5); - - int Editor::getsymposition(int &length, int &startpos) ; diff --git a/editors/bed/files/patch-plugins__examples__index2table.cc b/editors/bed/files/patch-plugins__examples__index2table.cc deleted file mode 100644 index 9376fc4f9a96..000000000000 --- a/editors/bed/files/patch-plugins__examples__index2table.cc +++ /dev/null @@ -1,11 +0,0 @@ ---- plugins/examples/index2table.cc.orig Sun Jan 25 13:42:00 2004 -+++ plugins/examples/index2table.cc Tue Jan 2 00:15:34 2007 -@@ -33,7 +33,7 @@ - - iscalled(index2table) - //int Editor::gettableposition(int &length, int &startpos) ; --int Editor::startindex2table(Filter * (*func)(int fb,int sb,char *opts,ScreenPart *part=NULL)) ; -+int Editor::startindex2table(startindex2table_func_t *func) ; - }; - #define min(x,y) ((x)<(y)?(x):(y)) - Index2table::Index2table(int fbytes,int sbytes,int off,int len,int pbase): tableoffset(off),maxintable(len),ptrbase(pbase),Filter(fbytes,sbytes) { diff --git a/editors/bed/files/patch-plugins__examples__index2table.h b/editors/bed/files/patch-plugins__examples__index2table.h deleted file mode 100644 index c2610501d77d..000000000000 --- a/editors/bed/files/patch-plugins__examples__index2table.h +++ /dev/null @@ -1,8 +0,0 @@ ---- plugins/examples/index2table.h.orig Thu May 23 16:28:24 2002 -+++ plugins/examples/index2table.h Tue Jan 2 00:15:22 2007 -@@ -52,3 +52,5 @@ - return sym;\ - }\ - char *nam##name= initfilter(#nam,&get##nam); -+ -+typedef Filter * startindex2table_func_t(int fb,int sb,char *opts,ScreenPart *part=NULL); diff --git a/editors/bed/files/patch-shell.h b/editors/bed/files/patch-shell.h deleted file mode 100644 index c11a7fc9f688..000000000000 --- a/editors/bed/files/patch-shell.h +++ /dev/null @@ -1,73 +0,0 @@ -$FreeBSD$ - ---- src/shell.h.orig Thu May 30 07:22:42 2002 -+++ src/shell.h Fri Jan 30 12:22:26 2004 -@@ -23,20 +23,56 @@ - #else - #define process(commando,args...) executor(commando,commando,args,NULL) - #endif --inline int executor(const char *commando,...) { -+inline int executor(char *commando,...) { -+ if(!fork()) { - va_list ap; -- if(!fork()) { -- va_start(ap,commando); -- execvp(commando,(char **)ap); -- va_end(ap); -- perror(commando); -- exit(4); -- } -- else { -- int statusdieprocessreturns; -- wait(&statusdieprocessreturns); -- return statusdieprocessreturns; -+ char *arg; -+ int argc = 0; -+ char **argv = NULL; -+ argv = (char **) malloc(2 * sizeof(char *)); /* commando, NULL */ -+ if (argv == NULL) -+ goto cleanup; -+ -+ /* Copy the relevant args into argv */ -+ argv[argc] = (char *) malloc((strlen(commando) + 1) * sizeof(char)); -+ if (argv[argc] == NULL) -+ goto cleanup; -+ strlcpy(argv[argc], commando, strlen(commando) + 1); -+ -+ va_start(ap, commando); -+ while (*commando) { -+ switch (*commando++) { -+ case 's': -+ argc++; -+ if (realloc(argv, (argc + 2) * sizeof(char *)) == NULL) -+ goto cleanup; -+ arg = va_arg(ap, char *); -+ argv[argc] = (char *) malloc((strlen(arg) + 1) * sizeof(char)); -+ if (argv[argc] == NULL) -+ goto cleanup; -+ strlcpy(argv[argc], arg, strlen(arg) + 1); -+ break; -+ } -+ } -+ va_end(ap); -+ -+ argv[++argc] = NULL; -+ execvp(commando, argv); -+ perror(commando); -+cleanup: -+ if (argv != NULL) { -+ while (argc--) { -+ free(argv[argc]); - } -+ free(argv); -+ } -+ exit(4); -+ } -+ else { -+ int statusdieprocessreturns; -+ wait(&statusdieprocessreturns); -+ return statusdieprocessreturns; - } -+} - #endif - #endif diff --git a/editors/bed/files/patch-src::Makefile b/editors/bed/files/patch-src::Makefile deleted file mode 100644 index df0a634ea95a..000000000000 --- a/editors/bed/files/patch-src::Makefile +++ /dev/null @@ -1,11 +0,0 @@ ---- src/Makefile.orig Tue Mar 2 07:22:24 2004 -+++ src/Makefile Tue Jan 2 00:34:54 2007 -@@ -5,7 +5,7 @@ - LIBS+= $(CURSESLIB) $(EXTRALIBS) $(OTHERLIBS)# -L/mnt/chicken/lib -L/mnt/chicken/usr/lib - CFLAGS+= -D_GNU_SOURCE -DNEWTERM #-DUSE_NEW # -DMEMORY_TRACE #-DREAD0x2x4DATATYPE #-DSEARCHTIME #-DUSE_NEW #-DMEMORY_TRACE - --OPTS:= $(OPTS) -+OPTS:= - LIBPATH=-L. - INLINKLISTER= ../plugins/examples/inlinklist - INLINKLIST= compileinlink diff --git a/editors/bed/files/patch-src__filter.cpp b/editors/bed/files/patch-src__filter.cpp deleted file mode 100644 index d12f8e629a34..000000000000 --- a/editors/bed/files/patch-src__filter.cpp +++ /dev/null @@ -1,18 +0,0 @@ ---- src/filter.cpp.orig Mon Jan 26 02:50:44 2004 -+++ src/filter.cpp Mon Jan 1 23:54:10 2007 -@@ -42,13 +42,13 @@ - if(filtersmaxlen>=filtersnr) { - filtersmaxlen=(filtersmaxlen+10)*2; - char **tmp=filtersnames; -- filtersnames=new (char *)[filtersmaxlen]; -+ filtersnames=new char *[filtersmaxlen]; - if(tmp) { - memcpy(filtersnames,tmp,filtersnr*sizeof(char*)); - delete[] tmp; - } - Filter *(**tmpfunc)(int,int,char*,ScreenPart *) =filtersfuncs; -- filtersfuncs=new (Filter *(*)(int,int,char*,ScreenPart *))[filtersmaxlen]; -+ filtersfuncs=new typeof(Filter *(*)(int,int,char*,ScreenPart *))[filtersmaxlen]; - if(tmpfunc) { - memcpy(filtersfuncs,tmpfunc,filtersnr*sizeof(Filter *(*)(int,int,char*))); - delete[] tmpfunc; diff --git a/editors/bed/files/patch-src__getfile.h b/editors/bed/files/patch-src__getfile.h deleted file mode 100644 index 475140632c73..000000000000 --- a/editors/bed/files/patch-src__getfile.h +++ /dev/null @@ -1,29 +0,0 @@ ---- src/getfile.h.orig Thu May 23 16:28:24 2002 -+++ src/getfile.h Mon Jan 1 23:48:02 2007 -@@ -267,7 +267,7 @@ - - extern WINDOW *getshowwin(int l,int c,int by,int bx) ; - --#define initdialog(nr) {item **showformsarray;int showformsiter=0,showformsmaxar=(nr); showformsarray=new (item *)[showformsmaxar]; -+#define initdialog(nr) {item **showformsarray;int showformsiter=0,showformsmaxar=(nr); showformsarray=new item *[showformsmaxar]; - #define dodialog(ant,l,c,sel) if((takescr=getshowwin((l),(c),(thelines-(l))/2,(thecols-(c))/2))){ (ant)=show(showformsarray,showformsiter,(sel));};for(int dodialogiter=0;dodialogiter<showformsiter;dodialogiter++) delete showformsarray[dodialogiter];delete[] showformsarray;}; - #define dodialogpost(ant,l,c,sel,post) if((takescr=getshowwin((l),(c),(thelines-(l))/2,(thecols-(c))/2))){(post);(ant)=show(showformsarray,showformsiter,(sel));};for(int dodialogiter=0;dodialogiter<showformsiter;dodialogiter++) delete showformsarray[dodialogiter];delete[] showformsarray;}; - #define showdialog(ant,l,c,sel) if((takescr=getshowwin((l),c,(thelines-(l))/2,(thecols-c)/2))){ant=show(showformsarray,showformsiter,sel);}; -@@ -278,7 +278,7 @@ - #endif - - --#define begindialog(l,c,nr) if((takescr=getshowwin((l),(c),(thelines-(l))/2,(thecols-(c))/2))){item **showformsarray;int showformsiter=0,showformsmaxar=nr; showformsarray=new (item *)[showformsmaxar]; -+#define begindialog(l,c,nr) if((takescr=getshowwin((l),(c),(thelines-(l))/2,(thecols-(c))/2))){item **showformsarray;int showformsiter=0,showformsmaxar=nr; showformsarray=new item *[showformsmaxar]; - - #define enddialog(ant,sel) ant=show(showformsarray,showformsiter,(sel));for(int dodialogiter=0;dodialogiter<showformsiter;dodialogiter++) delete showformsarray[dodialogiter];delete[] showformsarray;}; - -@@ -299,7 +299,7 @@ - #define lcsconfig(l,c,sel,...) plcsconfig(l,c,sel,0,__VA_ARGS__) - #define plcsconfig(l,c,sel,post,...) {int throwawayant;palcsconfig(throwawayant,l,c,sel,post,__VA_ARGS__) } - #define alcsconfig(ant,l,c,sel,...) palcsconfig(ant,l,c,sel,0,__VA_ARGS__) --#define palcsconfig(ant,l,c,sel,post,...) {item **showformsarray;int showformsiter=0; int showformsmaxar=sizeof((item* []){__VA_ARGS__})/sizeof(item *); if((takescr=getshowwin(l,c,(thelines-l)/2,(thecols-c)/2))) { showformsarray=new (item *)[showformsmaxar],__VA_ARGS__;post;ant=show(showformsarray,showformsmaxar,sel);for(showformsiter=0;showformsiter<showformsmaxar;showformsiter++) delete showformsarray[showformsiter];delete[] showformsarray;};} -+#define palcsconfig(ant,l,c,sel,post,...) {item **showformsarray;int showformsiter=0; int showformsmaxar=sizeof((item* []){__VA_ARGS__})/sizeof(item *); if((takescr=getshowwin(l,c,(thelines-l)/2,(thecols-c)/2))) { showformsarray=new item *[showformsmaxar],__VA_ARGS__;post;ant=show(showformsarray,showformsmaxar,sel);for(showformsiter=0;showformsiter<showformsmaxar;showformsiter++) delete showformsarray[showformsiter];delete[] showformsarray;};} - #define options(name,sel,...) {int startformsiter=showformsiter; Common *comptr=new Common(name,0);__VA_ARGS__,comptr->last=(orcheck*)showformsarray[startformsiter+sel];}; - - #endif diff --git a/editors/bed/files/patch-src__typelist.cc b/editors/bed/files/patch-src__typelist.cc deleted file mode 100644 index 657abe205de7..000000000000 --- a/editors/bed/files/patch-src__typelist.cc +++ /dev/null @@ -1,18 +0,0 @@ ---- src/typelist.cc.orig Thu May 23 16:28:24 2002 -+++ src/typelist.cc Mon Jan 1 23:55:30 2007 -@@ -47,13 +47,13 @@ - maxlen=(maxlen+10)*2; - - char **tmp=names; -- names=new (char *)[maxlen]; -+ names=new char *[maxlen]; - if(tmp) { - memcpy(names,tmp,nr*sizeof(char*)); - delete[] tmp; - } - ScreenPart *(**tmpfunc)(Editor*) =funcs; -- funcs=new (ScreenPart *(*)(Editor *))[maxlen]; -+ funcs=new typeof(ScreenPart *(*)(Editor *))[maxlen]; - if(tmpfunc) { - memcpy(funcs,tmpfunc,nr*sizeof(ScreenPart *(*)(Editor *))); - delete[] tmpfunc; diff --git a/editors/bed/files/patch-utils::Makefile b/editors/bed/files/patch-utils::Makefile deleted file mode 100644 index dfe7ac4b4ab4..000000000000 --- a/editors/bed/files/patch-utils::Makefile +++ /dev/null @@ -1,12 +0,0 @@ -$FreeBSD$ - ---- utils/Makefile.orig Fri Jan 30 12:38:36 2004 -+++ utils/Makefile Fri Jan 30 12:38:50 2004 -@@ -1,6 +1,6 @@ - include ../config - export LC_ALL=C --CFLAGS+=-O3 -s -+CFLAGS+=-s - #PROGRAMS=getch mkkeydef bin2byte - PROGRAMS=bin2byte - EXEPROGRAMS= $(patsubst %,%$(EXEEXT),$(PROGRAMS)) diff --git a/editors/bed/pkg-descr b/editors/bed/pkg-descr deleted file mode 100644 index d009407b3ebf..000000000000 --- a/editors/bed/pkg-descr +++ /dev/null @@ -1,9 +0,0 @@ -Menu driven binary editor. Dataformats are ascii, unsigned and signed -integers, float, bitflags, bitfields, labels, ebcdic and time_t. Different -sizes and byte ordenings are possible. Datatypes can be used in structures. -Other dataformats, filters and procedures can be defined in plugins. Contains -copy, past, undo, redo, search, replace, marks, record/play and context -sensitive help. Linux & FreeBSD: edit block devices (linux limit 1023 -gigabyte). - -WWW: http://bedlinux.tripod.com/ diff --git a/editors/bed/pkg-plist b/editors/bed/pkg-plist deleted file mode 100644 index 98d81c241fae..000000000000 --- a/editors/bed/pkg-plist +++ /dev/null @@ -1,124 +0,0 @@ -bin/bed -%%X11%%bin/xbed -%%DATADIR%%/.neededbybed -%%DATADIR%%/LICENSE -%%DATADIR%%/README -%%DATADIR%%/addmagic.sh -%%DATADIR%%/bed-0.2.23.lsm -%%DATADIR%%/bedmagic -%%DATADIR%%/bedrc -%%DATADIR%%/config -%%DATADIR%%/misc/README.txt -%%DATADIR%%/misc/bits.bedda -%%DATADIR%%/misc/char2.bedda -%%DATADIR%%/misc/char2b.bedda -%%DATADIR%%/misc/dynsym.bedda -%%DATADIR%%/misc/elfheader.bedda -%%DATADIR%%/misc/hexasc.bedda -%%DATADIR%%/misc/programheader.bedda -%%DATADIR%%/misc/pushlpushl.bedda -%%DATADIR%%/misc/sectionheader.bedda -%%DATADIR%%/misc/symtab.bedda -%%DATADIR%%/misc/win32sections.bedda -%%DATADIR%%/misc/wtmp-freebsd.bedda -%%DATADIR%%/plugins/Makefile -%%DATADIR%%/plugins/ascii.h -%%DATADIR%%/plugins/config.h -%%DATADIR%%/plugins/contain.h -%%DATADIR%%/plugins/defines.h -%%DATADIR%%/plugins/digitstring.h -%%DATADIR%%/plugins/examples/Makefile -%%DATADIR%%/plugins/examples/ascii2ebcdic.h -%%DATADIR%%/plugins/examples/backward.cc -%%DATADIR%%/plugins/examples/backward.plug -%%DATADIR%%/plugins/examples/bitcontains.cc -%%DATADIR%%/plugins/examples/bitcpy.cc -%%DATADIR%%/plugins/examples/bitfields.cc -%%DATADIR%%/plugins/examples/bitfields.h -%%DATADIR%%/plugins/examples/bitflags.cc -%%DATADIR%%/plugins/examples/char2.cc -%%DATADIR%%/plugins/examples/chars.c -%%DATADIR%%/plugins/examples/crc.c -%%DATADIR%%/plugins/examples/cut.cc -%%DATADIR%%/plugins/examples/cut.plug -%%DATADIR%%/plugins/examples/datatypeinfo.cc -%%DATADIR%%/plugins/examples/datatypeinfo.plug -%%DATADIR%%/plugins/examples/disass-use -%%DATADIR%%/plugins/examples/disass-use.c -%%DATADIR%%/plugins/examples/disass.cc -%%DATADIR%%/plugins/examples/disass.plug -%%DATADIR%%/plugins/examples/duplicate.cpp -%%DATADIR%%/plugins/examples/ebcdic2ascii.cc -%%DATADIR%%/plugins/examples/ebcdic2ascii.h -%%DATADIR%%/plugins/examples/ebcdic2ascii.plug -%%DATADIR%%/plugins/examples/edit.cc -%%DATADIR%%/plugins/examples/elftables.cc -%%DATADIR%%/plugins/examples/elftables.plug -%%DATADIR%%/plugins/examples/encodechar.sh -%%DATADIR%%/plugins/examples/eventnames.h -%%DATADIR%%/plugins/examples/file.cpp -%%DATADIR%%/plugins/examples/file.plug -%%DATADIR%%/plugins/examples/filter.cpp -%%DATADIR%%/plugins/examples/filter.plug -%%DATADIR%%/plugins/examples/float.cc -%%DATADIR%%/plugins/examples/hash.h -%%DATADIR%%/plugins/examples/helpf1.cc -%%DATADIR%%/plugins/examples/helpf1.plug -%%DATADIR%%/plugins/examples/index2table.cc -%%DATADIR%%/plugins/examples/index2table.h -%%DATADIR%%/plugins/examples/index2table.plug -%%DATADIR%%/plugins/examples/install.cc -%%DATADIR%%/plugins/examples/macro2plug.sh -%%DATADIR%%/plugins/examples/newdata.cc -%%DATADIR%%/plugins/examples/nextitem.cpp -%%DATADIR%%/plugins/examples/oldsigned.cc -%%DATADIR%%/plugins/examples/oldsigned.h -%%X11%%%%DATADIR%%/plugins/examples/putselect.cc -%%X11%%%%DATADIR%%/plugins/examples/putselect.plug -%%X11%%%%DATADIR%%/plugins/examples/rxvt.cc -%%X11%%%%DATADIR%%/plugins/examples/rxvt.plug -%%DATADIR%%/plugins/examples/searchclip.cc -%%DATADIR%%/plugins/examples/searchclip.plug -%%DATADIR%%/plugins/examples/signed.cc -%%DATADIR%%/plugins/examples/signed.h -%%DATADIR%%/plugins/examples/skip.cpp -%%DATADIR%%/plugins/examples/subtract.cc -%%X11%%%%DATADIR%%/plugins/examples/switchsize.cc -%%X11%%%%DATADIR%%/plugins/examples/switchsize.plug -%%DATADIR%%/plugins/examples/time.cpp -%%DATADIR%%/plugins/examples/title.cc -%%DATADIR%%/plugins/examples/title.plug -%%DATADIR%%/plugins/examples/translate.cc -%%DATADIR%%/plugins/examples/undoall.cpp -%%DATADIR%%/plugins/examples/undoall.plug -%%DATADIR%%/plugins/examples/unsigned.cpp -%%DATADIR%%/plugins/faked.h -%%DATADIR%%/plugins/filter.h -%%DATADIR%%/plugins/getfile.h -%%DATADIR%%/plugins/global.h -%%DATADIR%%/plugins/hassub.h -%%DATADIR%%/plugins/mainprocedures.h -%%DATADIR%%/plugins/multidigit.h -%%DATADIR%%/plugins/offtypes.h -%%DATADIR%%/plugins/plugin.cpp -%%DATADIR%%/plugins/repeat.h -%%DATADIR%%/plugins/screen.h -%%DATADIR%%/plugins/screenpart.h -%%DATADIR%%/plugins/type.h -%%DATADIR%%/plugins/typelist.h -%%DATADIR%%/plugins/varmacro.h -%%DATADIR%%/plugins/views.h -%%DATADIR%%/public.key -%%DATADIR%%/terminfo/r/rxvt -%%DATADIR%%/terminfo/r/rxvtbed -%%DATADIR%%/testmarks.bedm -%%DATADIR%%/uninstallbed.sh -%%DATADIR%%/utils/bin2byte -%%DATADIR%%/utils/keyconfig -@dirrm %%DATADIR%%/utils -@dirrm %%DATADIR%%/terminfo/r -@dirrm %%DATADIR%%/terminfo -@dirrm %%DATADIR%%/plugins/examples -@dirrm %%DATADIR%%/plugins -@dirrm %%DATADIR%%/misc -@dirrm %%DATADIR%% |