FreeBSD Bugzilla – Attachment 205138 Details for
Bug 238622
graphics/xpaint : include dirent.h instead of deprecated sys/dir.h
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
include dirent.h instead of sys/dir.h
graphics_xpaint.diff (text/plain), 1.32 KB, created by
Rene Ladan
on 2019-06-16 15:43:11 UTC
(
hide
)
Description:
include dirent.h instead of sys/dir.h
Filename:
MIME Type:
Creator:
Rene Ladan
Created:
2019-06-16 15:43:11 UTC
Size:
1.32 KB
patch
obsolete
>Index: graphics/xpaint/files/patch-fileBrowser.c >=================================================================== >--- graphics/xpaint/files/patch-fileBrowser.c (nonexistent) >+++ graphics/xpaint/files/patch-fileBrowser.c (working copy) >@@ -0,0 +1,20 @@ >+--- fileBrowser.c.orig 2014-05-08 13:50:48 UTC >++++ fileBrowser.c >+@@ -47,7 +47,7 @@ extern Xaw3dXftData *xaw3dxft_data; >+ #include <stdio.h> >+ #include <sys/types.h> >+ #include <sys/stat.h> >+-#if defined(SYSV) || defined(SVR4) || defined(__CYGWIN__) || defined(__VMS ) >++#if defined(SYSV) || defined(SVR4) || defined(__CYGWIN__) || defined(__VMS ) || defined(BSD) >+ #include <dirent.h> >+ #else >+ #include <sys/dir.h> >+@@ -562,7 +562,7 @@ static void >+ setCWD(arg_t * arg, char *dir) >+ { >+ DIR *dirp; >+-#if defined(SYSV) || defined(SVR4) || defined(__alpha) || defined(__CYGWIN__) >++#if defined(SYSV) || defined(SVR4) || defined(__alpha) || defined(__CYGWIN__) || defined(BSD) >+ struct dirent *e; >+ #else >+ struct direct *e; > >Property changes on: graphics/xpaint/files/patch-fileBrowser.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 238622
: 205138