svn commit: r505409 - head/deskutils/xpostit/files
Rene Ladan
rene at FreeBSD.org
Sun Jun 30 08:57:02 UTC 2019
Author: rene
Date: Sun Jun 30 08:57:00 2019
New Revision: 505409
URL: https://svnweb.freebsd.org/changeset/ports/505409
Log:
deskutils/xpostit: include dirent.h instead of sys/dir.h which is scheduled
for removal.
PR: 238578
Submitted by: rene
Approved by: maintainer timeout (joerg, 2 weeks)
Added:
head/deskutils/xpostit/files/patch-note.c (contents, props changed)
Added: head/deskutils/xpostit/files/patch-note.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/deskutils/xpostit/files/patch-note.c Sun Jun 30 08:57:00 2019 (r505409)
@@ -0,0 +1,20 @@
+--- note.c.orig 1992-12-11 13:04:16 UTC
++++ note.c
+@@ -100,7 +100,7 @@ static char *RCSid = "$Header: /home/harbor/davy/stuff
+ #include <X11/Xaw/Form.h>
+ #include <X11/Shell.h>
+ #include <sys/param.h>
+-#if defined(USG) || defined(SYSV) || defined(SVR4)
++#if defined(USG) || defined(SYSV) || defined(SVR4) || defined(BSD)
+ #include <dirent.h>
+ #else
+ #include <sys/dir.h>
+@@ -240,7 +240,7 @@ LoadSavedNotes()
+ FILE *fp;
+ char *realloc();
+ register PostItNote *pn;
+-#if defined(USG) || defined(SYSV) || defined(SVR4)
++#if defined(USG) || defined(SYSV) || defined(SVR4) || defined(BSD)
+ register struct dirent *d;
+ #else
+ register struct direct *d;
More information about the svn-ports-head
mailing list