freebsd-ports/sysutils/reed/files/patch-reed.c
Chris Rees 9f55170f69 sysutils/reed: Remove sys/dir.h
It was replaced a long time ago with sys/dirent.h, which is implicitly
included from dirent.h

Use sed instead of perl, remove redundant seds and use a patch for the
source file for clarity

PR:		ports/238696
Submitted by:	rene
2019-06-19 08:29:55 +00:00

19 lines
336 B
C

$FreeBSD$
--- reed.c.orig 2002-11-09 00:59:08 UTC
+++ reed.c
@@ -24,13 +24,12 @@
#include <sys/types.h>
#include <sys/stat.h>
-#include <sys/dir.h>
+#include <dirent.h>
#include <ctype.h>
#include <curses.h>
#include <dirent.h>
#include <errno.h>
-#include <getopt.h>
#include <grp.h>
#include <limits.h>
#include <pwd.h>