summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/subversion/subversion-1.7.8
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/subversion/subversion-1.7.8')
-rw-r--r--meta/recipes-devtools/subversion/subversion-1.7.8/fix-install-depends.patch48
-rw-r--r--meta/recipes-devtools/subversion/subversion-1.7.8/libtool2.patch15
2 files changed, 63 insertions, 0 deletions
diff --git a/meta/recipes-devtools/subversion/subversion-1.7.8/fix-install-depends.patch b/meta/recipes-devtools/subversion/subversion-1.7.8/fix-install-depends.patch
new file mode 100644
index 0000000000..fb79b8cc51
--- /dev/null
+++ b/meta/recipes-devtools/subversion/subversion-1.7.8/fix-install-depends.patch
@@ -0,0 +1,48 @@
1install-neon-lib should depend on libsvn_delta's installation
2
3install-neon-lib needs libsvn_delta-1.la which will be regenerated
4during libsvn_delta-1.la's installation, if libsvn_delta-1.la is
5in regenerating and at the same time install-neon-lib links it, the
6error willl happen.
7
8Let install-neon-lib run after libsvn_delta-1.la is installed will fix
9the problem.
10
11Upstream-Status: Pending
12
13Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
14---
15 build-outputs.mk | 2 +-
16 build.conf | 2 ++
17 2 files changed, 3 insertions(+), 1 deletion(-)
18
19--- subversion-1.7.6.orig/build-outputs.mk
20+++ subversion-1.7.6/build-outputs.mk
21@@ -983,11 +983,11 @@ install-locale: subversion/po/de.mo subv
22 $(MKDIR) $(DESTDIR)$(localedir)/zh_CN/LC_MESSAGES
23 cd subversion/po ; $(INSTALL_LOCALE) zh_CN.mo $(DESTDIR)$(localedir)/zh_CN/LC_MESSAGES/$(PACKAGE_NAME).mo
24 $(MKDIR) $(DESTDIR)$(localedir)/zh_TW/LC_MESSAGES
25 cd subversion/po ; $(INSTALL_LOCALE) zh_TW.mo $(DESTDIR)$(localedir)/zh_TW/LC_MESSAGES/$(PACKAGE_NAME).mo
26
27-install-neon-lib: subversion/libsvn_ra_neon/libsvn_ra_neon-1.la
28+install-neon-lib: subversion/libsvn_ra_neon/libsvn_ra_neon-1.la $(SVN_FS_LIB_INSTALL_DEPS)
29 $(MKDIR) $(DESTDIR)$(neon_libdir)
30 cd subversion/libsvn_ra_neon ; $(INSTALL_NEON_LIB) libsvn_ra_neon-1.la $(DESTDIR)$(neon_libdir)/libsvn_ra_neon-1.la
31
32 install-ramod-lib: subversion/libsvn_fs/libsvn_fs-1.la subversion/libsvn_ra_svn/libsvn_ra_svn-1.la subversion/libsvn_repos/libsvn_repos-1.la subversion/libsvn_ra_local/libsvn_ra_local-1.la
33 $(MKDIR) $(DESTDIR)$(ramod_libdir)
34--- subversion-1.7.6.orig/build.conf
35+++ subversion-1.7.6/build.conf
36@@ -270,10 +270,12 @@ msvc-export = svn_ra.h private\svn_ra_pr
37 [libsvn_ra_neon]
38 type = ra-module
39 path = subversion/libsvn_ra_neon
40 install = neon-lib
41 libs = libsvn_delta libsvn_subr aprutil apriconv apr neon
42+# conditionally add more dependencies
43+add-install-deps = $(SVN_FS_LIB_INSTALL_DEPS)
44 msvc-static = yes
45
46 # Accessing repositories via DAV through serf
47 [libsvn_ra_serf]
48 type = ra-module
diff --git a/meta/recipes-devtools/subversion/subversion-1.7.8/libtool2.patch b/meta/recipes-devtools/subversion/subversion-1.7.8/libtool2.patch
new file mode 100644
index 0000000000..5cd572bfc8
--- /dev/null
+++ b/meta/recipes-devtools/subversion/subversion-1.7.8/libtool2.patch
@@ -0,0 +1,15 @@
1Upstream-Status: Inappropriate [embedded specific]
2
3--- a/configure.ac 2011-10-20 21:56:02.230663987 +0200
4+++ b/configure.ac 2011-08-17 15:01:30.000000000 +0200
5@@ -227,8 +227,8 @@
6 LIBTOOL="$sh_libtool"
7 SVN_LIBTOOL="$sh_libtool"
8 else
9- sh_libtool="$abs_builddir/libtool"
10- SVN_LIBTOOL="\$(SHELL) $sh_libtool"
11+ sh_libtool="$abs_builddir/$host_alias-libtool"
12+ SVN_LIBTOOL="\$(SHELL) \$(abs_builddir)/$host_alias-libtool"
13 fi
14 AC_SUBST(SVN_LIBTOOL)
15