aboutsummaryrefslogtreecommitdiff
path: root/editors/jove
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2016-07-29 23:15:11 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2016-07-29 23:15:11 +0000
commit7b2ebe81721d1136973e034d6210105a40311270 (patch)
tree6cf0ec644e63fbaa7dbc3cbf6bf77050f9f06d6f /editors/jove
parent049689415785842d2832e905cf2e6b6ee4c4ea19 (diff)
downloadports-7b2ebe81721d1136973e034d6210105a40311270.tar.gz
ports-7b2ebe81721d1136973e034d6210105a40311270.zip
Fix collision with getline(3)
Regen patches
Notes
Notes: svn path=/head/; revision=419275
Diffstat (limited to 'editors/jove')
-rw-r--r--editors/jove/files/patch-Makefile12
-rw-r--r--editors/jove/files/patch-abbrev.c6
-rw-r--r--editors/jove/files/patch-io.c18
-rw-r--r--editors/jove/files/patch-io.h11
-rw-r--r--editors/jove/files/patch-mouse.c30
-rw-r--r--editors/jove/files/patch-proc.c8
-rw-r--r--editors/jove/files/patch-rec.c6
-rw-r--r--editors/jove/files/patch-recover.c20
-rw-r--r--editors/jove/files/patch-sysdep.h4
9 files changed, 75 insertions, 40 deletions
diff --git a/editors/jove/files/patch-Makefile b/editors/jove/files/patch-Makefile
index 6a2f370e5b81..24f08f3416fa 100644
--- a/editors/jove/files/patch-Makefile
+++ b/editors/jove/files/patch-Makefile
@@ -1,5 +1,5 @@
---- Makefile.orig Tue Mar 19 13:44:33 1996
-+++ Makefile Wed Dec 20 05:39:12 2000
+--- Makefile.orig 1996-03-19 04:44:33 UTC
++++ Makefile
@@ -27,16 +27,16 @@
# LIBDIR and SHAREDIR. All others must already exist.
@@ -22,7 +22,7 @@
# The install commands of BSD and System V differ in unpleasant ways:
# -c: copy (BSD); -c dir: destination directory (SysV)
-@@ -50,12 +50,12 @@
+@@ -50,12 +50,12 @@ DFLTSHELL = /bin/csh
INSTALLFLAGS = # -g bin -o root
# to install executable files
@@ -39,7 +39,7 @@
# These should all just be right if the above ones are.
# You will confuse JOVE if you move anything from LIBDIR or SHAREDIR.
-@@ -79,7 +79,7 @@
+@@ -79,7 +79,7 @@ JOVETOOLM = $(MANDIR)/jovetool.$(MANEXT)
# compiler, adding -Xa -v will increase compiler checking.
# On DEC OSF/1, -std1 -O
@@ -48,7 +48,7 @@
# For making dependencies under BSD systems
DEPENDFLAG = -M
-@@ -163,13 +163,13 @@
+@@ -163,13 +163,13 @@ LDFLAGS =
#
# You can just say 'make SYSDEFS=-Dwhatever' on these systems.
@@ -64,7 +64,7 @@
# For SYSVR4 (/usr/ucb/cc will NOT work because of setjmp.h):
# CC = /usr/bin/cc
-@@ -213,7 +213,7 @@
+@@ -213,7 +213,7 @@ NROFF = nroff
TROFF = troff -Tpost
TROFFPOST = | /usr/lib/lp/postscript/dpost - >troff.out.ps
diff --git a/editors/jove/files/patch-abbrev.c b/editors/jove/files/patch-abbrev.c
index f2797a9d4f85..1c375c64e8ac 100644
--- a/editors/jove/files/patch-abbrev.c
+++ b/editors/jove/files/patch-abbrev.c
@@ -1,6 +1,6 @@
---- abbrev.c.orig Fri Mar 8 02:34:41 1996
-+++ abbrev.c Wed Dec 20 05:19:33 2000
-@@ -274,7 +274,16 @@
+--- abbrev.c.orig 1996-03-07 17:34:41 UTC
++++ abbrev.c
+@@ -274,7 +274,16 @@ EditAbbrevs()
"jabbXXXXXX"
#endif
);
diff --git a/editors/jove/files/patch-io.c b/editors/jove/files/patch-io.c
index 284c1eb35bc7..3871701844df 100644
--- a/editors/jove/files/patch-io.c
+++ b/editors/jove/files/patch-io.c
@@ -1,6 +1,6 @@
---- io.c.orig Fri Mar 8 02:34:42 1996
-+++ io.c Wed Dec 20 05:19:17 2000
-@@ -1193,10 +1193,16 @@
+--- io.c.orig 1996-03-07 17:34:42 UTC
++++ io.c
+@@ -1193,10 +1193,16 @@ tmpinit()
#endif
);
tfname = copystr(buf);
@@ -17,3 +17,15 @@
#else /* MSFILESYSTEM */
tmpfd = open(tfname, O_CREAT|O_EXCL|O_BINARY|O_RDWR, S_IWRITE|S_IREAD);
#endif /* MSFILESYSTEM */
+@@ -1240,9 +1246,9 @@ int Jr_Len; /* length of Just Read Line
+
+ void
+ #ifdef USE_PROTOTYPES
+-getline proto((daddr addr, register char *buf))
++get_line proto((daddr addr, register char *buf))
+ #else
+-getline(addr, buf)
++get_line(addr, buf)
+ daddr addr;
+ register char *buf;
+ #endif
diff --git a/editors/jove/files/patch-io.h b/editors/jove/files/patch-io.h
new file mode 100644
index 000000000000..5bdd51dd6762
--- /dev/null
+++ b/editors/jove/files/patch-io.h
@@ -0,0 +1,11 @@
+--- io.h.orig 1996-03-07 17:34:42 UTC
++++ io.h
+@@ -37,7 +37,7 @@ extern void
+ close_file proto((File *fp)),
+ d_cache_init proto((void)),
+ file_write proto((char *fname, bool app)),
+- getline proto((daddr addr,char *buf)),
++ get_line proto((daddr addr,char *buf)),
+ lsave proto((void)),
+ putreg proto((File *fp,LinePtr line1,int char1,LinePtr line2,int char2,bool makesure)),
+ read_file proto((char *file, bool is_insert)),
diff --git a/editors/jove/files/patch-mouse.c b/editors/jove/files/patch-mouse.c
index 4cadfe78e428..f79b465df763 100644
--- a/editors/jove/files/patch-mouse.c
+++ b/editors/jove/files/patch-mouse.c
@@ -1,19 +1,11 @@
-*** mouse.c.org Thu Mar 7 12:34:43 1996
---- mouse.c Thu Jun 25 14:17:16 1998
-***************
-*** 266,272 ****
- /* Format of command to xterm to start or stop mouse hilite tracking:
- * ^[ [ func ; startx ; starty ; firstrow ; lastrow T
- */
-! #define XTERMBUG
- #ifdef XTERMBUG
- static const char hl_fmt[] = "\033[%d;%d;%d;%d;%dTX";
- #else
---- 266,272 ----
- /* Format of command to xterm to start or stop mouse hilite tracking:
- * ^[ [ func ; startx ; starty ; firstrow ; lastrow T
- */
-! /* #undef XTERMBUG */
- #ifdef XTERMBUG
- static const char hl_fmt[] = "\033[%d;%d;%d;%d;%dTX";
- #else
+--- mouse.c.orig 1996-03-07 17:34:43 UTC
++++ mouse.c
+@@ -266,7 +266,7 @@ int mproto;
+ /* Format of command to xterm to start or stop mouse hilite tracking:
+ * ^[ [ func ; startx ; starty ; firstrow ; lastrow T
+ */
+-#define XTERMBUG
++/* #undef XTERMBUG */
+ #ifdef XTERMBUG
+ static const char hl_fmt[] = "\033[%d;%d;%d;%d;%dTX";
+ #else
diff --git a/editors/jove/files/patch-proc.c b/editors/jove/files/patch-proc.c
index edc2c841990f..45fc53c9899a 100644
--- a/editors/jove/files/patch-proc.c
+++ b/editors/jove/files/patch-proc.c
@@ -1,6 +1,6 @@
---- proc.c.orig Sat Mar 9 06:46:40 1996
-+++ proc.c Wed Dec 20 05:20:13 2000
-@@ -827,8 +827,14 @@
+--- proc.c.orig 1996-03-08 21:46:40 UTC
++++ proc.c
+@@ -827,8 +827,14 @@ UnixToBuf(flags, bnm, InFName, cmd)
int ph;
swritef(pnbuf, sizeof(pnbuf), "%s/%s", TmpDir, "jpXXXXXX");
@@ -16,7 +16,7 @@
complain("cannot make pipe for filter: %s", strerror(errno));
close(1);
close(2);
-@@ -923,7 +929,18 @@
+@@ -923,7 +929,18 @@ bool wrap;
jmp_buf sav_jmp;
swritef(tnambuf, sizeof(tnambuf), "%s/%s", TmpDir, "jfXXXXXX");
diff --git a/editors/jove/files/patch-rec.c b/editors/jove/files/patch-rec.c
index f252f686b54b..c573c5a490ce 100644
--- a/editors/jove/files/patch-rec.c
+++ b/editors/jove/files/patch-rec.c
@@ -1,6 +1,6 @@
---- rec.c.orig Fri Mar 8 02:34:43 1996
-+++ rec.c Wed Dec 20 05:19:50 2000
-@@ -55,8 +55,12 @@
+--- rec.c.orig 1996-03-07 17:34:43 UTC
++++ rec.c
+@@ -55,8 +55,12 @@ recinit()
#endif
);
recfname = copystr(buf);
diff --git a/editors/jove/files/patch-recover.c b/editors/jove/files/patch-recover.c
new file mode 100644
index 000000000000..bbac5867cb5b
--- /dev/null
+++ b/editors/jove/files/patch-recover.c
@@ -0,0 +1,20 @@
+--- recover.c.orig 1996-03-07 17:34:43 UTC
++++ recover.c
+@@ -160,7 +160,7 @@ size_t n;
+ private char *getblock proto((daddr atl));
+
+ void
+-getline(tl, buf)
++get_line(tl, buf)
+ daddr tl;
+ char *buf;
+ {
+@@ -561,7 +561,7 @@ FILE *out;
+ Nchars = Nlines = 0L;
+ while (--nlines >= 0) {
+ addr = getaddr(ptrs_fp);
+- getline(addr, buf);
++ get_line(addr, buf);
+ Nlines += 1;
+ Nchars += 1 + strlen(buf);
+ fputs(buf, out);
diff --git a/editors/jove/files/patch-sysdep.h b/editors/jove/files/patch-sysdep.h
index c23d97039881..78c9023cd97d 100644
--- a/editors/jove/files/patch-sysdep.h
+++ b/editors/jove/files/patch-sysdep.h
@@ -1,5 +1,5 @@
---- sysdep.h.orig Mon Jul 20 16:39:19 1998
-+++ sysdep.h Mon Jul 20 16:40:08 1998
+--- sysdep.h.orig 1996-03-19 04:44:33 UTC
++++ sysdep.h
@@ -154,6 +154,7 @@
# define USE_FSYNC 1
# define USE_FSTAT 1