Commits

Blair Zajac authored 3ad1a2be2b8
py-pysvn: update to 1.8.0 to fix compilation with svn 1.9.0; closes https://trac.macports.org/ticket/48529.

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@142774 d073be05-634f-4543-b044-5fe20cf6d1d6
No tags

python/py-pysvn/files/patch-Source_setup_configure.py.diff

Modified
1 -diff -ru ../../pysvn-1.7.6.orig/Source/setup_configure.py ./setup_configure.py
2 ---- ../../pysvn-1.7.6.orig/Source/setup_configure.py 2012-02-28 10:53:48.000000000 -0800
3 -+++ ./setup_configure.py 2012-08-17 20:25:49.000000000 -0700
4 -@@ -515,7 +515,7 @@
1 +diff -ru ../../pysvn-1.8.0.FCS/Source/setup_configure.py ./setup_configure.py
2 +--- ../../pysvn-1.8.0.FCS/Source/setup_configure.py 2015-08-18 10:28:19.000000000 -0700
3 ++++ ./setup_configure.py 2015-11-22 17:09:15.000000000 -0800
4 +@@ -527,8 +527,8 @@
5 + self._find_paths_svn_lib,
5 6 self.get_lib_name_for_platform( 'libsvn_client-1' ) )
6 7 # if we are using the Fink SVN then remember this
7 - self.is_mac_os_x_fink = folder.startswith( '/sw/' )
8 +- self.is_mac_os_x_fink = folder.startswith( '/sw/' )
8 9 - self.is_mac_os_x_darwin_ports = folder.startswith( '/opt/local/' )
10 ++ self.is_mac_os_x_fink = False
9 11 + self.is_mac_os_x_darwin_ports = False
10 12 return folder
11 13
12 14 def find_apr_inc( self ):
13 -@@ -1014,8 +1014,7 @@
15 +@@ -1032,7 +1032,7 @@
14 16
15 17 def setupUtilities( self ):
16 18 self._addVar( 'CCCFLAGS',
17 19 - '-g '
18 -- '-no-long-double '
19 20 + '-g -O2 '
20 21 '-Wall -fPIC -fexceptions -frtti '
21 - '-I. -I%(APR_INC)s -I%(SVN_INC)s '
22 + '-I. -I%(APR_INC)s -I%(APU_INC)s -I%(SVN_INC)s '
22 23 '-D%(DEBUG)s' )
23 -@@ -1031,8 +1030,7 @@
24 +@@ -1048,7 +1048,7 @@
24 25 self._addVar( 'PYTHON_INC', distutils.sysconfig.get_python_inc() )
25 26
26 27 py_cflags_list = [
27 28 - '-g',
28 -- '-no-long-double',
29 29 + '-g -O2',
30 30 '-Wall -fPIC -fexceptions -frtti',
31 - '-I. -I%(APR_INC)s -I%(SVN_INC)s',
31 + '-I. -I%(APR_INC)s -I%(APU_INC)s -I%(SVN_INC)s',
32 32 '-DPYCXX_PYTHON_2TO3 -I%(PYCXX)s -I%(PYCXX_SRC)s -I%(PYTHON_INC)s',

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut