From a014091fd241916dad2ace8e7fd3c0dd1feec6bc Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Tue, 25 Aug 2015 17:25:34 -0400 Subject: [PATCH] openssh: Drop old patch --- packages/openssh/no_statvfs.patch | 34 ------------------------------- 1 file changed, 34 deletions(-) delete mode 100644 packages/openssh/no_statvfs.patch diff --git a/packages/openssh/no_statvfs.patch b/packages/openssh/no_statvfs.patch deleted file mode 100644 index 1ab1d5a02..000000000 --- a/packages/openssh/no_statvfs.patch +++ /dev/null @@ -1,34 +0,0 @@ -diff -u -r ../openssh-6.5p1/openbsd-compat/bsd-statvfs.c ./openbsd-compat/bsd-statvfs.c ---- ../openssh-6.5p1/openbsd-compat/bsd-statvfs.c 2014-01-17 08:10:59.000000000 +0100 -+++ ./openbsd-compat/bsd-statvfs.c 2014-02-11 11:01:33.000000000 +0100 -@@ -27,6 +27,12 @@ - - #include - -+#ifdef __ANDROID__ -+# include -+# define statvfs statfs -+# define fstatvfs fstatfs -+#endif -+ - static void - copy_statfs_to_statvfs(struct statvfs *to, struct statfs *from) - { -@@ -37,10 +43,17 @@ - to->f_bavail = from->f_bavail; - to->f_files = from->f_files; - to->f_ffree = from->f_ffree; -+#ifdef __ANDROID__ -+ to->f_bavail = from->f_bavail; -+ to->f_fsid = from->f_fsid; -+ to->f_flags = from->f_flags; -+ to->f_namelen = from->f_namelen; -+#else - to->f_favail = from->f_ffree; /* no exact equivalent */ - to->f_fsid = 0; /* XXX fix me */ - to->f_flag = from->f_flags; - to->f_namemax = MNAMELEN; -+#endif - } - - # ifndef HAVE_STATVFS