diff options
author | Mike Swanson | 2016-12-01 14:39:14 -0800 |
---|---|---|
committer | Mike Swanson | 2016-12-01 14:39:14 -0800 |
commit | cc00bb303c9b8abc60acf5b1ec23c6411c179ca1 (patch) | |
tree | c3e54d4e5d3e44714f6d2ed42486225af11879ed /0001-Python-3-portability-fix-for-waf-build.patch | |
parent | ffb1e6445862d992fca156d1418033031d679255 (diff) | |
download | aur-cc00bb303c9b8abc60acf5b1ec23c6411c179ca1.tar.gz |
Fix the building of docs by backporting a newer commit
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 + |