summaryrefslogtreecommitdiffstats
path: root/source/l/mozjs52/patches/copy-headers.patch
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2018-11-19 02:46:11 +0000
committer Eric Hameleers <alien@slackware.com>2018-11-19 08:59:43 +0100
commit595bebf6676bdb224371224673779e411b9428a9 (patch)
tree10a40fc1c5f1e775fb4ddfc77c47209554b6bb41 /source/l/mozjs52/patches/copy-headers.patch
parent6a677844125bf74f4dac1fc2e4e7181281f7ae39 (diff)
downloadcurrent-595bebf6676bdb224371224673779e411b9428a9.tar.gz
current-595bebf6676bdb224371224673779e411b9428a9.tar.xz
Mon Nov 19 02:46:11 UTC 201820181119024611
l/js185-1.0.0-x86_64-2.txz: Removed. l/libwebp-1.0.1-x86_64-1.txz: Upgraded. l/mozjs52-52.9.0esr-x86_64-1.txz: Added. Required by the new version of polkit. l/polkit-0.115-x86_64-1.txz: Upgraded. Thanks to Robby Workman.
Diffstat (limited to 'source/l/mozjs52/patches/copy-headers.patch')
-rw-r--r--source/l/mozjs52/patches/copy-headers.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/source/l/mozjs52/patches/copy-headers.patch b/source/l/mozjs52/patches/copy-headers.patch
new file mode 100644
index 00000000..69b21615
--- /dev/null
+++ b/source/l/mozjs52/patches/copy-headers.patch
@@ -0,0 +1,30 @@
+From 8b2d7a77bfb4dbd513763501ed7e9722058ee9af Mon Sep 17 00:00:00 2001
+From: Rico Tzschichholz <ricotz@ubuntu.com>
+Date: Wed, 5 Jul 2017 22:45:59 -0700
+Subject: [PATCH] build: Copy headers on install instead of symlinking
+
+Patch ported forward to mozjs52 by Philip Chimento
+<philip.chimento@gmail.com>.
+---
+ python/mozbuild/mozbuild/backend/recursivemake.py | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/python/mozbuild/mozbuild/backend/recursivemake.py b/python/mozbuild/mozbuild/backend/recursivemake.py
+index 132dcf94..33d489a6 100644
+--- a/python/mozbuild/mozbuild/backend/recursivemake.py
++++ b/python/mozbuild/mozbuild/backend/recursivemake.py
+@@ -1307,11 +1307,11 @@ def _process_final_target_files(self, obj, files, backend_file):
+ raise Exception("Wildcards are only supported in the filename part of "
+ "srcdir-relative or absolute paths.")
+
+- install_manifest.add_pattern_symlink(basepath, wild, path)
++ install_manifest.add_pattern_copy(basepath, wild, path)
+ else:
+- install_manifest.add_pattern_symlink(f.srcdir, f, path)
++ install_manifest.add_pattern_copy(f.srcdir, f, path)
+ else:
+- install_manifest.add_symlink(f.full_path, dest)
++ install_manifest.add_copy(f.full_path, dest)
+ else:
+ install_manifest.add_optional_exists(dest)
+ backend_file.write('%s_FILES += %s\n' % (