summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2016-08-25 07:57:52 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2016-08-25 13:42:38 -0400
commite8f7f458e12d16fb8e441eccbaa7520d103b50af (patch)
treeebf3bf6c4e1c1b7ca31aa4bfdb6cb873a9fbf6bd /tools
parent5af281afb12119f2385825ec4a90c50063dbf488 (diff)
patch for waflib internals to allow tarball to be created even when using UTF-8 non-Latin filenames
Diffstat (limited to 'tools')
-rw-r--r--tools/waflib-tar.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/waflib-tar.patch b/tools/waflib-tar.patch
new file mode 100644
index 0000000000..9858590d56
--- /dev/null
+++ b/tools/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'