Revert "Revert "patch for waflib internals to allow tarball to be created even when...
authorPaul Davis <paul@linuxaudiosystems.com>
Thu, 25 Aug 2016 17:44:23 +0000 (13:44 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Thu, 25 Aug 2016 17:44:23 +0000 (13:44 -0400)
There was never any problem with this going public! Stupid Paul.

This reverts commit 6063ec2dbb718e3db37b5149f3cf5ee663e7eecd.

tools/waflib-tar.patch [new file with mode: 0644]

diff --git a/tools/waflib-tar.patch b/tools/waflib-tar.patch
new file mode 100644 (file)
index 0000000..9858590
--- /dev/null
@@ -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'