Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 513436 Details for
Bug 643530
net-misc/openssh-7.6_p1: support for FreeMiNT
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
FreeMiNT openssh patch
openssh-7.6p1-mint.patch (text/plain), 1.50 KB, created by
Alan Hourihane
on 2018-01-05 17:44:40 UTC
(
hide
)
Description:
FreeMiNT openssh patch
Filename:
MIME Type:
Creator:
Alan Hourihane
Created:
2018-01-05 17:44:40 UTC
Size:
1.50 KB
patch
obsolete
>diff -u a/openbsd-compat/bsd-statvfs.c b/openbsd-compat/bsd-statvfs.c >--- a/openbsd-compat/bsd-statvfs.c 2017-10-02 20:34:26.000000000 +0000 >+++ b/openbsd-compat/bsd-statvfs.c 2018-01-04 23:28:17.000000000 +0000 >@@ -25,6 +25,8 @@ > > #include <errno.h> > >+#if ((!defined(HAVE_STATVFS) && defined(HAVE_STATFS)) || \ >+ (!defined(HAVE_FSTATVFS) && defined(HAVE_FSTATFS))) > static void > copy_statfs_to_statvfs(struct statvfs *to, struct statfs *from) > { >@@ -40,6 +42,7 @@ > to->f_flag = from->f_flags; > to->f_namemax = MNAMELEN; > } >+#endif > > # ifndef HAVE_STATVFS > int statvfs(const char *path, struct statvfs *buf) >diff -u a/openbsd-compat/bsd-statvfs.h b/openbsd-compat/bsd-statvfs.h >--- a/openbsd-compat/bsd-statvfs.h 2017-10-02 20:34:26.000000000 +0000 >+++ b/openbsd-compat/bsd-statvfs.h 2018-01-05 11:28:03.000000000 +0000 >@@ -26,6 +26,9 @@ > #ifdef HAVE_SYS_STATFS_H > #include <sys/statfs.h> > #endif >+#ifdef HAVE_SYS_STATVFS_H >+#include <sys/statvfs.h> >+#endif > > #ifndef HAVE_FSBLKCNT_T > typedef unsigned long fsblkcnt_t; >@@ -42,6 +45,8 @@ > #endif > > /* as defined in IEEE Std 1003.1, 2004 Edition */ >+#if ((!defined(HAVE_STATVFS) && defined(HAVE_STATFS)) || \ >+ (!defined(HAVE_FSTATVFS) && defined(HAVE_FSTATFS))) > struct statvfs { > unsigned long f_bsize; /* File system block size. */ > unsigned long f_frsize; /* Fundamental file system block size. */ >@@ -59,6 +64,7 @@ > unsigned long f_namemax;/* Maximum filename length. */ > }; > #endif >+#endif > > #ifndef HAVE_STATVFS > int statvfs(const char *, struct statvfs *);
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 643530
:
513396
|
513406
|
513414
| 513436