diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-12-14 14:25:47 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-12-14 14:25:47 +0100 |
commit | 4d4007854125818bf3d71ef1a94c9fad3f6c8e0e (patch) | |
tree | 8d8a6088788fe7990a8b1a7e3ba22ccb3dd8623f /debian/patches | |
parent | d4ed069896a9d49eb33966a0f871e39b5c24da8a (diff) | |
parent | f8b4d811de90457c2c826c01dcc86d8d985a19aa (diff) |
Merge branch 'release/3.0.0-2'3.0.0-2
Diffstat (limited to 'debian/patches')
-rw-r--r-- | debian/patches/0125-printf_regression.patch | 37 | ||||
-rw-r--r-- | debian/patches/series | 1 |
2 files changed, 38 insertions, 0 deletions
diff --git a/debian/patches/0125-printf_regression.patch b/debian/patches/0125-printf_regression.patch new file mode 100644 index 0000000..1d5cee0 --- /dev/null +++ b/debian/patches/0125-printf_regression.patch @@ -0,0 +1,37 @@ +Description: Support python 2 print statements in SConscripts + This fixes a regression introduced in scons-3.0.0, where + SConscripts containing python 2 print statements would cause + syntax errors even when executing scons with python 2.7. +Origin: upstream, https://github.com/SConsProject/scons/commit/2e0de3c55f22b3eaa7767b69740b898f3d2f46bf +Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=878327 +Forwarded: not-needed +Last-Update: 2017-10-13 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +Index: trunk/CHANGES.txt +=================================================================== +--- trunk.orig/CHANGES.txt ++++ trunk/CHANGES.txt +@@ -11,6 +11,9 @@ NOTE: This is a major release. You shou + Significant changes in some python action signatures. Also switching between PY 2.7 and PY 3.5, 3.6 + will cause rebuilds. + ++ From Thomas Berg: ++ - Fixed a regression in scons-3.0.0 where "from __future__ import print_function" was imposed ++ on the scope where SConstruct is executed, breaking existing builds using PY 2.7. + + From William Blevins: + - Updated D language scanner support to latest: 2.071.1. (PR #1924) +Index: trunk/engine/SCons/Script/SConscript.py +=================================================================== +--- trunk.orig/engine/SCons/Script/SConscript.py ++++ trunk/engine/SCons/Script/SConscript.py +@@ -5,8 +5,6 @@ files. + + """ + +-from __future__ import print_function +- + # + # Copyright (c) 2001 - 2017 The SCons Foundation + # diff --git a/debian/patches/series b/debian/patches/series index 3b82bac..f390c4b 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -4,3 +4,4 @@ 0110-remove_stale_files.patch 0100-parallel_build.patch 0120-fix-bibtex-call.patch +0125-printf_regression.patch |