diff options
author | pat <pat@FreeBSD.org> | 2002-02-18 05:39:10 +0800 |
---|---|---|
committer | pat <pat@FreeBSD.org> | 2002-02-18 05:39:10 +0800 |
commit | f762c02571d0fe2f6345f9cd7c2c9355eab3a7cc (patch) | |
tree | 96299a7c2ff278534b828a265e49e52b0c81feab /editors/joe | |
parent | 68313c87db883ef5e2002898312187cc49de81db (diff) | |
download | freebsd-ports-gnome-f762c02571d0fe2f6345f9cd7c2c9355eab3a7cc.tar.gz freebsd-ports-gnome-f762c02571d0fe2f6345f9cd7c2c9355eab3a7cc.tar.zst freebsd-ports-gnome-f762c02571d0fe2f6345f9cd7c2c9355eab3a7cc.zip |
Fix build on -CURRENT
PR: 34802
Submitted by: maintainer
Diffstat (limited to 'editors/joe')
-rw-r--r-- | editors/joe/files/patch-ad | 11 | ||||
-rw-r--r-- | editors/joe/files/patch-ag | 31 | ||||
-rw-r--r-- | editors/joe/files/patch-ah | 11 | ||||
-rw-r--r-- | editors/joe/files/patch-ai | 11 | ||||
-rw-r--r-- | editors/joe/files/patch-aj | 16 |
5 files changed, 74 insertions, 6 deletions
diff --git a/editors/joe/files/patch-ad b/editors/joe/files/patch-ad index 38113e698cfc..db0f7fce5fdd 100644 --- a/editors/joe/files/patch-ad +++ b/editors/joe/files/patch-ad @@ -1,5 +1,5 @@ ---- b.c.orig Fri Jan 20 00:38:25 1995 -+++ b.c Sun Dec 3 09:58:21 2000 +--- b.c.orig Fri Jan 20 02:38:25 1995 ++++ b.c Sun Feb 10 14:39:03 2002 @@ -21,6 +21,9 @@ #include <pwd.h> #endif @@ -76,9 +76,12 @@ return b; } -@@ -1990,7 +2022,18 @@ +@@ -1988,9 +2020,20 @@ + + void ttsig(sig) { - long tim=time(0); +- long tim=time(0); ++ time_t tim=time(0); B *b; - FILE *f=fopen("DEADJOE","a"); + FILE *f; diff --git a/editors/joe/files/patch-ag b/editors/joe/files/patch-ag index 4707525efca7..084c22bc4db6 100644 --- a/editors/joe/files/patch-ag +++ b/editors/joe/files/patch-ag @@ -1,5 +1,14 @@ ---- rc.c.orig Fri Feb 1 16:50:23 2002 -+++ rc.c Fri Feb 1 16:50:43 2002 +--- rc.c.orig Fri Jan 20 02:53:42 1995 ++++ rc.c Sun Feb 10 14:28:42 2002 +@@ -29,7 +29,7 @@ + * is created. + */ + +-KMAP *getcontext(name) ++KMAP *joegetcontext(name) + char *name; + { + struct context *c; @@ -610,7 +610,8 @@ FILE *fd; /* rc file */ int line=0; /* Line number */ @@ -10,3 +19,21 @@ #ifdef __MSDOS__ fd=fopen(buf,"rt"); #else +@@ -739,7 +740,7 @@ + for(buf[x]=c;cwhite(buf[x]);++x); + for(c=x;!cwhitef(buf[c]);++c); + buf[c]=0; +- if(c!=x) kcpy(context,getcontext(buf+x)); ++ if(c!=x) kcpy(context,joegetcontext(buf+x)); + else + { + err=1; +@@ -788,7 +789,7 @@ + err=1; + fprintf(stderr,"\n%s %d: No context selected for :delete",name,line); + } +- else context=getcontext(buf+1); ++ else context=joegetcontext(buf+1); + else + { + err=1; diff --git a/editors/joe/files/patch-ah b/editors/joe/files/patch-ah new file mode 100644 index 000000000000..d73d9c46710b --- /dev/null +++ b/editors/joe/files/patch-ah @@ -0,0 +1,11 @@ +--- w.c.orig Sun Feb 10 14:28:10 2002 ++++ w.c Sun Feb 10 14:29:15 2002 +@@ -594,7 +594,7 @@ + else seth(original,original->h-height); + + /* Create new keyboard handler for window */ +- if(watom->context) new->kbd=mkkbd(getcontext(watom->context)); ++ if(watom->context) new->kbd=mkkbd(joegetcontext(watom->context)); + else new->kbd=0; + + /* Put window on the screen */ diff --git a/editors/joe/files/patch-ai b/editors/joe/files/patch-ai new file mode 100644 index 000000000000..ce0c0efb52cf --- /dev/null +++ b/editors/joe/files/patch-ai @@ -0,0 +1,11 @@ +--- bw.c.orig Sun Feb 10 14:27:49 2002 ++++ bw.c Sun Feb 10 14:28:18 2002 +@@ -734,7 +734,7 @@ + if(window==window->main) + { + rmkbd(window->kbd); +- window->kbd=mkkbd(getcontext(w->o.context)); ++ window->kbd=mkkbd(joegetcontext(w->o.context)); + } + w->top->xcol=0; w->cursor->xcol=0; + return w; diff --git a/editors/joe/files/patch-aj b/editors/joe/files/patch-aj new file mode 100644 index 000000000000..0eff727bd0f1 --- /dev/null +++ b/editors/joe/files/patch-aj @@ -0,0 +1,16 @@ +--- rc.h.orig Sun Feb 10 14:28:00 2002 ++++ rc.h Sun Feb 10 14:28:55 2002 +@@ -34,11 +34,11 @@ + extern OPTIONS pdefault; + void setopt(); + +-/* KMAP *getcontext(char *name); ++/* KMAP *joegetcontext(char *name); + * Find and return the KMAP for a given context name. If none is found, an + * empty kmap is created, bound to the context name, and returned. + */ +-KMAP *getcontext(); ++KMAP *joegetcontext(); + + /* int procrc(char *name); Process an rc file + Returns 0 for success |