diff options
Diffstat (limited to 'data/subversion/macho_iterate.diff')
-rw-r--r-- | data/subversion/macho_iterate.diff | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/data/subversion/macho_iterate.diff b/data/subversion/macho_iterate.diff new file mode 100644 index 000000000..dcd5a1e73 --- /dev/null +++ b/data/subversion/macho_iterate.diff @@ -0,0 +1,30 @@ +diff -ur subversion-1.10.2/build/ac-macros/macosx.m4 subversion-1.10.2+iPhone/build/ac-macros/macosx.m4 +--- subversion-1.10.2/build/ac-macros/macosx.m4 2012-11-25 17:04:27.000000000 -1000 ++++ subversion-1.10.2+iPhone/build/ac-macros/macosx.m4 2018-08-17 16:55:02.000000000 -1000 +@@ -21,25 +21,7 @@ + + dnl SVN_LIB_MACHO_ITERATE + dnl Check for _dyld_image_name and _dyld_image_header availability +-AC_DEFUN(SVN_LIB_MACHO_ITERATE, +-[ +- AC_MSG_CHECKING([for Mach-O dynamic module iteration functions]) +- AC_RUN_IFELSE([AC_LANG_PROGRAM([[ +- #include <mach-o/dyld.h> +- #include <mach-o/loader.h> +- ]],[[ +- const struct mach_header *header = _dyld_get_image_header(0); +- const char *name = _dyld_get_image_name(0); +- if (name && header) return 0; +- return 1; +- ]])],[ +- AC_DEFINE([SVN_HAVE_MACHO_ITERATE], [1], +- [Is Mach-O low-level _dyld API available?]) +- AC_MSG_RESULT([yes]) +- ],[ +- AC_MSG_RESULT([no]) +- ]) +-]) ++ AC_DEFINE([SVN_HAVE_MACHO_ITERATE], [1], [Is Mach-O low-level _dyld API available?]) + + dnl SVN_LIB_MACOS_PLIST + dnl Assign variables for Mac OS property list support |