summaryrefslogtreecommitdiff
path: root/tools/patches/waflib-tar.patch
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2020-02-23 14:51:56 +0100
committerRobin Gareus <robin@gareus.org>2020-02-23 16:21:50 +0100
commit96ef1dc0ed9862bf4937d182f789edd20c17581f (patch)
tree6851918f213f836e3e4de0bb6cccfa5a270b0ca2 /tools/patches/waflib-tar.patch
parent3e77680a57ee28571ec5558845df2ad82246741a (diff)
Cleanup cource tree: collect patches
Diffstat (limited to 'tools/patches/waflib-tar.patch')
-rw-r--r--tools/patches/waflib-tar.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/patches/waflib-tar.patch b/tools/patches/waflib-tar.patch
new file mode 100644
index 0000000000..9858590d56
--- /dev/null
+++ b/tools/patches/waflib-tar.patch
@@ -0,0 +1,11 @@
+--- .waf-1.6.11-06ee4b7efbeab1252ed3b11499834d2a/waflib/Scripting.py~ 2016-07-14 16:34:10.741387174 -0400
++++ .waf-1.6.11-06ee4b7efbeab1252ed3b11499834d2a/waflib/Scripting.py 2016-08-11 11:45:11.833131519 -0400
+@@ -252,7 +252,7 @@
+ return node.abspath()
+ def add_tar_file(self,x,tar):
+ p=self.get_tar_path(x)
+- tinfo=tar.gettarinfo(name=p,arcname=self.get_tar_prefix()+'/'+x.path_from(self.base_path))
++ tinfo=tar.gettarinfo(name=p,arcname=self.get_tar_prefix()+'/'+(x.path_from(self.base_path)).decode ('utf8'))
+ tinfo.uid=0
+ tinfo.gid=0
+ tinfo.uname='root'