diff options
Diffstat (limited to '0001-Python-3-portability-fix-for-waf-build.patch')
-rw-r--r-- | 0001-Python-3-portability-fix-for-waf-build.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/0001-Python-3-portability-fix-for-waf-build.patch b/0001-Python-3-portability-fix-for-waf-build.patch new file mode 100644 index 000000000000..6a172862dba2 --- /dev/null +++ b/0001-Python-3-portability-fix-for-waf-build.patch @@ -0,0 +1,25 @@ +From d4483a35cb2f872415fd7c2330827c61483fbfab Mon Sep 17 00:00:00 2001 +From: Thomas Nagy <nagy@waf.io> +Date: Tue, 29 Nov 2016 17:25:49 -0500 +Subject: [PATCH] Python 3 portability fix for waf build. + +--- + docs/wscript | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/docs/wscript b/docs/wscript +index a036b76..2084ffd 100644 +--- a/docs/wscript ++++ b/docs/wscript +@@ -1,7 +1,7 @@ + def build(ctx): + + doc_source = ctx.path.ant_glob("*.txt") +- doc_source = filter(lambda x: "body" not in str(x), doc_source) ++ doc_source = ctx.path.ant_glob("*.txt", excl='*-body.txt') + + ctx( + target = "doc", +-- +2.10.2 + |