news/nntpbtr: update to use sys/dirent.h instead of sys/dir.h

It looks like the only MASTER_SITE is down, so mark it broken.
This port has only seen mechanical updates for the last 15+ years.

Hat:	portmgr
Event:	Berlin hackathon 2019
This commit is contained in:
Rene Ladan 2019-06-16 09:50:00 +00:00
parent 7bb83ff8a7
commit b9af889bcb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=504292
2 changed files with 13 additions and 2 deletions

View file

@ -9,6 +9,8 @@ MASTER_SITES= ftp://ftp.kiarchive.ru/pub/unix/news/
MAINTAINER= dk@farm.org
COMMENT= NNTP bulk transfer
BROKEN= No more public distfiles
USES= tar:Z
PLIST_FILES= sbin/${PORTNAME} man/man1/${PORTNAME}.1.gz

View file

@ -1,5 +1,5 @@
--- conf.h 1995/06/11 13:16:09 1.6
+++ conf.h 1996/07/02 06:08:08
--- conf.h.orig 1995-06-11 09:16:14 UTC
+++ conf.h
@@ -4,16 +4,16 @@
*/
@ -50,3 +50,12 @@
/* wait time slot to re-check disk space (-m) or batch process (-I)
if not define, when exit(2) without wait */
/* #define MINFTIME 60*10 /* time to sleep between new check */
@@ -70,7 +72,7 @@
#include <string.h>
#include <ctype.h>
#include <time.h>
-#include <sys/dir.h>
+#include <sys/dirent.h>
#define DFREE_OK 0
#define DFREE_INODES 1