diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-11 01:13:55 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-11 01:13:55 -0500 |
commit | ec3d896cd187a2ce4e81ecf749f623a262e6aad1 (patch) | |
tree | e4b80f00e640f1a9fbe1fe304a43b56673e0e18b /user/mozjs/0004-build-Copy-headers-on-install-instead-of-symlinking.patch | |
parent | 49bf4eada542ac3e302f1da9864e1f6e02de7c15 (diff) | |
download | packages-ec3d896cd187a2ce4e81ecf749f623a262e6aad1.tar.gz packages-ec3d896cd187a2ce4e81ecf749f623a262e6aad1.tar.bz2 packages-ec3d896cd187a2ce4e81ecf749f623a262e6aad1.tar.xz packages-ec3d896cd187a2ce4e81ecf749f623a262e6aad1.zip |
user/mozjs: new package, THE MOST EPIC PYTHON PATCH EVER MADE
Diffstat (limited to 'user/mozjs/0004-build-Copy-headers-on-install-instead-of-symlinking.patch')
-rw-r--r-- | user/mozjs/0004-build-Copy-headers-on-install-instead-of-symlinking.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/user/mozjs/0004-build-Copy-headers-on-install-instead-of-symlinking.patch b/user/mozjs/0004-build-Copy-headers-on-install-instead-of-symlinking.patch new file mode 100644 index 000000000..cc55486b9 --- /dev/null +++ b/user/mozjs/0004-build-Copy-headers-on-install-instead-of-symlinking.patch @@ -0,0 +1,35 @@ +From 45919a0f627c7adde9f9676228448b4c53b291e5 Mon Sep 17 00:00:00 2001 +From: Rico Tzschichholz <ricotz@ubuntu.com> +Date: Wed, 5 Jul 2017 22:45:59 -0700 +Subject: [PATCH 04/10] build: Copy headers on install instead of symlinking + +Patch ported forward to mozjs52 by Philip Chimento +<philip.chimento@gmail.com>. + +https://bugzilla.mozilla.org/show_bug.cgi?id=1379537 +--- + 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 @@ class RecursiveMakeBackend(CommonBackend): + 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' % ( +-- +2.13.0 + |