diff --git a/devel/ninja/files/patch-configure.py b/devel/ninja/files/patch-configure.py index 0b47fda..2e83ab4 100644 --- a/devel/ninja/files/patch-configure.py +++ b/devel/ninja/files/patch-configure.py @@ -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 17:37:47 UTC ++++ configure.py +@@ -164,7 +164,7 @@ class Bootstrap: + """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 @@ if platform.is_msvc(): cflags += ['/Ox', '/DNDEBUG', '/GL'] ldflags += ['/LTCG', '/OPT:REF', '/OPT:ICF'] else: