summaryrefslogtreecommitdiffstats
path: root/chromium/build/patches/chromium_no_rsyncable.patch
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2016-11-28 09:25:14 +0000
committer Eric Hameleers <alien@slackware.com>2016-11-28 09:25:14 +0000
commit7df95f39967ae8ec4fbe0289d085d0df489a2a60 (patch)
tree9b1aa0c2070d9b84218111ccdf87255b1a8b63ff /chromium/build/patches/chromium_no_rsyncable.patch
parent2fc0bba69616e22692b36bc10718d03e15372950 (diff)
downloadasb-7df95f39967ae8ec4fbe0289d085d0df489a2a60.tar.gz
asb-7df95f39967ae8ec4fbe0289d085d0df489a2a60.tar.xz
Initial revision
Diffstat (limited to 'chromium/build/patches/chromium_no_rsyncable.patch')
-rw-r--r--chromium/build/patches/chromium_no_rsyncable.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/chromium/build/patches/chromium_no_rsyncable.patch b/chromium/build/patches/chromium_no_rsyncable.patch
new file mode 100644
index 00000000..3a45158e
--- /dev/null
+++ b/chromium/build/patches/chromium_no_rsyncable.patch
@@ -0,0 +1,19 @@
+In Slackware 14.1 and older, gzip does not support the --rsyncable option.
+The compilation errors out as a result. So we remove the 'rsyncable' flag.
+
+diff --git a/tools/grit/grit/format/gzip_string.py b/tools/grit/grit/format/gzip_string.py
+index 4f54aac..68f9ea1 100644
+--- a/tools/grit/grit/format/gzip_string.py
++++ b/tools/grit/grit/format/gzip_string.py
+@@ -15,7 +15,7 @@ def GzipStringRsyncable(data):
+ # Instead, --rsyncable breaks the file into small chunks, so that one doesn't
+ # affect the other in compression, and then only that chunk will have to be
+ # updated.
+- gzip_proc = subprocess.Popen(['gzip', '--stdout', '--rsyncable',
++ gzip_proc = subprocess.Popen(['gzip', '--stdout',
+ '--best', '--no-name'],
+ stdin=subprocess.PIPE,
+ stdout=subprocess.PIPE,
+--
+2.7.4
+