summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/subversion/subversion/disable_macos.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/subversion/subversion/disable_macos.patch')
-rw-r--r--meta/recipes-devtools/subversion/subversion/disable_macos.patch45
1 files changed, 24 insertions, 21 deletions
diff --git a/meta/recipes-devtools/subversion/subversion/disable_macos.patch b/meta/recipes-devtools/subversion/subversion/disable_macos.patch
index ec3be496f3..8d2d635992 100644
--- a/meta/recipes-devtools/subversion/subversion/disable_macos.patch
+++ b/meta/recipes-devtools/subversion/subversion/disable_macos.patch
@@ -1,15 +1,25 @@
1These tests don't work in cross compiling, just disable them for now, we don't 1From 9c350c037ca3489dbeece6ecc2d7e2e5dbb177e9 Mon Sep 17 00:00:00 2001
2build subversion on OS-X at this time. 2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Sat, 11 May 2019 15:21:46 +0800
4Subject: [PATCH] These tests don't work in cross compiling, just disable them
5 for now, we don't build subversion on OS-X at this time.
3 6
4RP 1014/7/16 7RP 1014/7/16
5 8
6Upstream-Status: Pending [needs a rewrite to support a cache value] 9Upstream-Status: Pending [needs a rewrite to support a cache value]
7 10
8Index: subversion-1.8.9/build/ac-macros/macosx.m4 11Rebase to 1.12.0
9=================================================================== 12
10--- subversion-1.8.9.orig/build/ac-macros/macosx.m4 2012-11-26 03:04:27.000000000 +0000 13Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
11+++ subversion-1.8.9/build/ac-macros/macosx.m4 2014-07-16 12:28:58.357300403 +0000 14---
12@@ -24,21 +24,7 @@ 15 build/ac-macros/macosx.m4 | 31 +------------------------------
16 1 file changed, 1 insertion(+), 30 deletions(-)
17
18diff --git a/build/ac-macros/macosx.m4 b/build/ac-macros/macosx.m4
19index 92fa58e..a568e1c 100644
20--- a/build/ac-macros/macosx.m4
21+++ b/build/ac-macros/macosx.m4
22@@ -24,21 +24,7 @@ dnl Check for _dyld_image_name and _dyld_image_header availability
13 AC_DEFUN(SVN_LIB_MACHO_ITERATE, 23 AC_DEFUN(SVN_LIB_MACHO_ITERATE,
14 [ 24 [
15 AC_MSG_CHECKING([for Mach-O dynamic module iteration functions]) 25 AC_MSG_CHECKING([for Mach-O dynamic module iteration functions])
@@ -31,7 +41,7 @@ Index: subversion-1.8.9/build/ac-macros/macosx.m4
31 ]) 41 ])
32 42
33 dnl SVN_LIB_MACOS_PLIST 43 dnl SVN_LIB_MACOS_PLIST
34@@ -46,34 +32,7 @@ 44@@ -46,23 +32,8 @@ dnl Assign variables for Mac OS property list support
35 AC_DEFUN(SVN_LIB_MACOS_PLIST, 45 AC_DEFUN(SVN_LIB_MACOS_PLIST,
36 [ 46 [
37 AC_MSG_CHECKING([for Mac OS property list utilities]) 47 AC_MSG_CHECKING([for Mac OS property list utilities])
@@ -44,25 +54,18 @@ Index: subversion-1.8.9/build/ac-macros/macosx.m4
44- #error ProperyList API unavailable. 54- #error ProperyList API unavailable.
45- #endif 55- #endif
46- ]],[[]])],[ 56- ]],[[]])],[
47- dnl ### Hack. We should only need to pass the -framework options when 57- SVN_MACOS_PLIST_LIBS="-framework CoreFoundation"
48- dnl linking libsvn_subr, since it is the only library that uses Keychain. 58- AC_SUBST(SVN_MACOS_PLIST_LIBS)
49- dnl
50- dnl Unfortunately, libtool 1.5.x doesn't track transitive dependencies for
51- dnl OS X frameworks like it does for normal libraries, so we need to
52- dnl explicitly pass the option to all the users of libsvn_subr to allow
53- dnl static builds to link successfully.
54- dnl
55- dnl This does mean that all executables we link will be linked directly
56- dnl to these frameworks - even when building shared libraries - but that
57- dnl shouldn't cause any problems.
58-
59- LIBS="$LIBS -framework CoreFoundation"
60- AC_DEFINE([SVN_HAVE_MACOS_PLIST], [1], 59- AC_DEFINE([SVN_HAVE_MACOS_PLIST], [1],
61- [Is Mac OS property list API available?]) 60- [Is Mac OS property list API available?])
62- AC_MSG_RESULT([yes]) 61- AC_MSG_RESULT([yes])
63- ],[ 62- ],[
63+ AC_SUBST([SVN_MACOS_PLIST_LIBS], [""])
64 AC_MSG_RESULT([no]) 64 AC_MSG_RESULT([no])
65- ]) 65- ])
66 ]) 66 ])
67 67
68 dnl SVN_LIB_MACOS_KEYCHAIN 68 dnl SVN_LIB_MACOS_KEYCHAIN
69--
702.7.4
71