diff options
author | Jay Freeman <saurik@saurik.com> | 2013-02-01 09:12:02 +0000 |
---|---|---|
committer | Jay Freeman <saurik@saurik.com> | 2013-02-01 09:12:02 +0000 |
commit | c362d41e9c19b6f0eca6cb337d0d60fe3d3c2e43 (patch) | |
tree | 66f618e0ecc9c64fce798bc89f1da8ce6a026c84 /data/openssh/dirent.diff | |
parent | e19be28875714ec0d07cf2e861668b508642d060 (diff) |
Update to OpenSSH 6.0p1.
git-svn-id: http://svn.telesphoreo.org/trunk@769 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/openssh/dirent.diff')
-rw-r--r-- | data/openssh/dirent.diff | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/data/openssh/dirent.diff b/data/openssh/dirent.diff index 3808d5073..68f851767 100644 --- a/data/openssh/dirent.diff +++ b/data/openssh/dirent.diff @@ -1,29 +1,31 @@ -diff -ru openssh-4.7p1/configure.ac openssh-4.7p1+iPhone/configure.ac ---- openssh-4.7p1/configure.ac 2007-08-10 04:36:12.000000000 +0000 -+++ openssh-4.7p1+iPhone/configure.ac 2008-02-09 09:58:08.000000000 +0000 -@@ -1023,24 +1023,7 @@ - AC_CHECK_DECLS(GLOB_NOMATCH, , , [#include <glob.h>]) +diff -ru openssh-6.0p1/configure.ac openssh-6.0p1+iPhone/configure.ac +--- openssh-6.0p1/configure.ac 2012-04-19 11:46:38.000000000 +0000 ++++ openssh-6.0p1+iPhone/configure.ac 2012-05-15 09:18:25.000000000 +0000 +@@ -1235,26 +1235,7 @@ + AC_CHECK_DECLS([GLOB_NOMATCH], , , [#include <glob.h>]) AC_MSG_CHECKING([whether struct dirent allocates space for d_name]) -AC_RUN_IFELSE( -- [AC_LANG_SOURCE([[ +- [AC_LANG_PROGRAM([[ -#include <sys/types.h> --#include <dirent.h> --int main(void){struct dirent d;exit(sizeof(d.d_name)<=sizeof(char));} +-#include <dirent.h>]], +- [[ +- struct dirent d; +- exit(sizeof(d.d_name)<=sizeof(char)); - ]])], -- [AC_MSG_RESULT(yes)], +- [AC_MSG_RESULT([yes])], - [ -- AC_MSG_RESULT(no) -- AC_DEFINE(BROKEN_ONE_BYTE_DIRENT_D_NAME, 1, +- AC_MSG_RESULT([no]) +- AC_DEFINE([BROKEN_ONE_BYTE_DIRENT_D_NAME], [1], - [Define if your struct dirent expects you to - allocate extra space for d_name]) - ], - [ - AC_MSG_WARN([cross compiling: assuming BROKEN_ONE_BYTE_DIRENT_D_NAME]) -- AC_DEFINE(BROKEN_ONE_BYTE_DIRENT_D_NAME) +- AC_DEFINE([BROKEN_ONE_BYTE_DIRENT_D_NAME]) - ] -) -+AC_MSG_RESULT(yes) ++AC_MSG_RESULT([yes]) AC_MSG_CHECKING([for /proc/pid/fd directory]) if test -d "/proc/$$/fd" ; then |