1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-29 21:39:24 +00:00
freebsd-ports/editors/gate/files/patch-ae
Kevin Lo 02585bd39c Initial import of gate-2.04c.
gate is a simple and unobtrusive line-oriented text editor.

PR: 19905
Submitted by: Christopher N. Harrell <cnh@ivmg.net>
Reviewed by: sobomax
2000-07-21 10:11:44 +00:00

21 lines
415 B
Plaintext

--- spel.c.orig Mon Jul 17 23:14:49 2000
+++ spel.c Mon Jul 17 23:15:57 2000
@@ -9,7 +9,7 @@
typedef struct dirent dirent;
#define dnamlen(d) strlen(d->d_name)
#else
-#include <sys/dir.h>
+#include <dirent.h>
typedef struct direct dirent;
#define dnamlen(d) (d->d_namlen)
#endif
@@ -298,7 +298,7 @@
#ifdef DICT_DIR
char buf[BUFSIZE+1];
DIR *ispd;
-dirent *de;
+struct dirent *de;
int n= 0;
int namlen;