Skip to content

Commit

Permalink
subversion: Build without symlink and read link support.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexpux committed Dec 17, 2013
1 parent 2593b87 commit da79f5d
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 5 deletions.
18 changes: 13 additions & 5 deletions subversion/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

pkgname=subversion
pkgver=1.8.5
pkgrel=1
pkgrel=2
pkgdesc="A Modern Concurrent Version Control System"
arch=('i686' 'x86_64')
url="http://subversion.apache.org/"
Expand Down Expand Up @@ -34,7 +34,8 @@ source=(http://www.apache.org/dist/subversion/subversion-${pkgver}.tar.bz2{,.asc
14-fix_svnauthz_tests.patch
15-XFAIL_case_sensitive_tree_conflict.patch
16-XFAIL_sqlite3_temp_table_tests.patch
subversion-1.8.0-msys2.patch)
subversion-1.8.0-msys2.patch
remove-checking-symlink.patch)
md5sums=('77349caf0ef5a612c9718c53516a9934'
'SKIP'
'07ee0cb01bdf8468cb8d4c22c0d6bc04'
Expand All @@ -54,7 +55,8 @@ md5sums=('77349caf0ef5a612c9718c53516a9934'
'ca7fb78bcd33a12845168e603128aa5d'
'19ebc3da4d7735c86195e5c0907ff3cf'
'f4d1dd96a3dd9cb6e19b86cc0bfeb1f6'
'44d3666035747d6fdadb1dff120d56d7')
'44d3666035747d6fdadb1dff120d56d7'
'be151d5feeab94774c1366382044f821')

PYTHON_SITELIB=/usr/lib/python2.7/site-packages

Expand All @@ -64,8 +66,12 @@ prepare() {

cd $srcdir/$pkgname-$pkgver

sed -i 's|/usr/bin/env python|/usr/bin/env python2|' tools/hook-scripts/{,mailer/{,tests/}}*.py
sed -i 's|/usr/bin/env python|/usr/bin/env python2|' gen-make.py
sed -i 's|/usr/bin/env python|/usr/bin/env python2|' \
tools/hook-scripts/{,mailer/{,tests/}}*.py \
tools/client-side/mergeinfo-sanitizer.py

sed -i 's|/usr/bin/env python|/usr/bin/env python2|' gen-make.py build/getversion.py
sed -i 's|except IOError,|except IOError as|' build/getversion.py

patch -p1 -i ${srcdir}/01-make-build-directories.patch
patch -p1 -i ${srcdir}/02-fix-linking.patch
Expand All @@ -84,7 +90,9 @@ prepare() {
patch -p1 -i ${srcdir}/15-XFAIL_case_sensitive_tree_conflict.patch
patch -p1 -i ${srcdir}/16-XFAIL_sqlite3_temp_table_tests.patch
patch -p1 -i ${srcdir}/subversion-1.8.0-msys2.patch
patch -p1 -i ${srcdir}/remove-checking-symlink.patch


PYTHON=/usr/bin/python2 ./autogen.sh
}

Expand Down
12 changes: 12 additions & 0 deletions subversion/remove-checking-symlink.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
--- subversion-1.8.5/configure.ac.orig 2013-10-24 08:02:16.000000000 +0400
+++ subversion-1.8.5/configure.ac 2013-12-17 13:27:49.179600000 +0400
@@ -872,9 +872,6 @@
dnl svn_error's default warning handler uses vfprintf()
AC_FUNC_VPRINTF

-dnl check for functions needed in special file handling
-AC_CHECK_FUNCS(symlink readlink)
-
dnl check for uname
AC_CHECK_HEADERS(sys/utsname.h, [AC_CHECK_FUNCS(uname)], [])

0 comments on commit da79f5d

Please sign in to comment.