[126318] trunk/dports/net/libtorrent-rasterbar/files/ patch-bindings-python-setup.py.diff

devans at macports.org devans at macports.org
Tue Oct 7 15:30:57 PDT 2014


Revision: 126318
          https://trac.macports.org/changeset/126318
Author:   devans at macports.org
Date:     2014-10-07 15:30:57 -0700 (Tue, 07 Oct 2014)
Log Message:
-----------
libtorrent-rasterbar: remove cflag that breaks build on 10.6 and possibly earlier.

Modified Paths:
--------------
    trunk/dports/net/libtorrent-rasterbar/files/patch-bindings-python-setup.py.diff

Modified: trunk/dports/net/libtorrent-rasterbar/files/patch-bindings-python-setup.py.diff
===================================================================
--- trunk/dports/net/libtorrent-rasterbar/files/patch-bindings-python-setup.py.diff	2014-10-07 22:24:19 UTC (rev 126317)
+++ trunk/dports/net/libtorrent-rasterbar/files/patch-bindings-python-setup.py.diff	2014-10-07 22:30:57 UTC (rev 126318)
@@ -1,15 +1,24 @@
---- bindings/python/setup.py.orig	2014-09-04 18:59:17.000000000 -0700
-+++ bindings/python/setup.py	2014-09-10 13:25:03.000000000 -0700
+--- bindings/python/setup.py.orig	2014-10-07 15:21:22.000000000 -0700
++++ bindings/python/setup.py	2014-10-07 15:21:33.000000000 -0700
 @@ -21,8 +21,7 @@
  
  def arch():
  	if platform.system() != 'Darwin': return []
 -	a = os.uname()[4]
 -	if a == 'Power Macintosh': a = 'ppc'
-+	a = '__MP_BUILD_ARCH__'
++	a = 'x86_64'
  	return ['-arch', a]
  
  def target_specific():
+@@ -32,7 +31,7 @@
+ 	# on mavericks, clang will fail when unknown arguments are
+ 	# passed in. python distutils will pass in arguments it doesn't
+ 	# know about
+-	return ['-Wno-error=unused-command-line-argument-hard-error-in-future']
++	return []
+ 
+ try:
+ 	with open('compile_flags') as _file:
 @@ -98,8 +97,8 @@
  		language='c++',
  		include_dirs = parse_cmd(extra_cmd, '-I'),
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141007/291218c7/attachment-0001.html>


More information about the macports-changes mailing list