Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jan 2015 20:35:20 +0000 (UTC)
From:      Grzegorz Blach <gblach@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r377346 - head/devel/ninja/files
Message-ID:  <201501182035.t0IKZKMK037633@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gblach
Date: Sun Jan 18 20:35:19 2015
New Revision: 377346
URL: https://svnweb.freebsd.org/changeset/ports/377346
QAT: https://qat.redports.org/buildarchive/r377346/

Log:
  Fix build with Python 3
  
  PR:		196402
  Submitted by:	Kevin Zheng (kevinz5000 <at> gmail <dot> com)

Modified:
  head/devel/ninja/files/patch-configure.py

Modified: head/devel/ninja/files/patch-configure.py
==============================================================================
--- head/devel/ninja/files/patch-configure.py	Sun Jan 18 20:21:32 2015	(r377345)
+++ head/devel/ninja/files/patch-configure.py	Sun Jan 18 20:35:19 2015	(r377346)
@@ -1,6 +1,15 @@
---- configure.py.orig	2012-06-26 19:09:41.000000000 +0200
-+++ configure.py	2012-06-26 19:09:54.000000000 +0200
-@@ -117,7 +117,7 @@
+--- configure.py.orig	2014-11-24 18:37:47.000000000 +0100
++++ configure.py	2015-01-18 21:26:42.000000000 +0100
+@@ -164,7 +164,7 @@
+         """Run a subcommand, quietly.  Prints the full command on error."""
+         try:
+             subprocess.check_call(cmdline, shell=True)
+-        except subprocess.CalledProcessError, e:
++        except subprocess.CalledProcessError:
+             print('when running: ', cmdline)
+             raise
+ 
+@@ -297,7 +297,7 @@
          cflags += ['/Ox', '/DNDEBUG', '/GL']
          ldflags += ['/LTCG', '/OPT:REF', '/OPT:ICF']
  else:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501182035.t0IKZKMK037633>