[packages/mozjs38] Copy headers on install instead of symlinking. Release 2
megabajt
megabajt at pld-linux.org
Tue Mar 21 19:51:38 CET 2017
commit 0fe111a440383c33e35f72ce0e736038b5c25152
Author: Marcin Banasiak <marcin.banasiak at gmail.com>
Date: Tue Mar 21 19:51:17 2017 +0100
Copy headers on install instead of symlinking. Release 2
mozjs38-copy-headers.patch | 20 ++++++++++++++++++++
mozjs38.spec | 4 +++-
2 files changed, 23 insertions(+), 1 deletion(-)
---
diff --git a/mozjs38.spec b/mozjs38.spec
index a8679e7..6597ce4 100644
--- a/mozjs38.spec
+++ b/mozjs38.spec
@@ -2,7 +2,7 @@ Summary: SpiderMonkey 38 - JavaScript implementation
Summary(pl.UTF-8): SpiderMonkey 38 - implementacja języka JavaScript
Name: mozjs38
Version: 38.8.0
-Release: 1
+Release: 2
License: MPL v2.0
Group: Libraries
Source0: https://ftp.mozilla.org/pub/firefox/releases/%{version}esr/source/firefox-%{version}esr.source.tar.bz2
@@ -13,6 +13,7 @@ Patch2: %{name}-1269317.patch
Patch3: %{name}-system-virtualenv.patch
Patch4: Disable-js-JIT-on-x32.patch
Patch5: %{name}-x32.patch
+Patch6: %{name}-copy-headers.patch
URL: https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey/Releases/38
BuildRequires: libffi-devel >= 5:3.0.9
BuildRequires: libstdc++-devel >= 6:4.4
@@ -65,6 +66,7 @@ Pliki nagłówkowe do biblioteki JavaScript.
%patch3 -p1
%patch4 -p1
%patch5 -p1
+%patch6 -p1
cd js/src
diff --git a/mozjs38-copy-headers.patch b/mozjs38-copy-headers.patch
new file mode 100644
index 0000000..7f352a7
--- /dev/null
+++ b/mozjs38-copy-headers.patch
@@ -0,0 +1,20 @@
+Description: Copy headers on install instead of symlinking
+Author: Rico Tzschichholz <ricotz at ubuntu.com>
+Forwarded: no
+Last-Update: 2014-10-29
+
+---
+
+Index: b/python/mozbuild/mozbuild/backend/recursivemake.py
+===================================================================
+--- a/python/mozbuild/mozbuild/backend/recursivemake.py
++++ b/python/mozbuild/mozbuild/backend/recursivemake.py
+@@ -796,7 +796,7 @@
+ return
+
+ for source, dest, _ in self._walk_hierarchy(obj, exports):
+- self._install_manifests['dist_include'].add_symlink(source, dest)
++ self._install_manifests['dist_include'].add_copy(source, dest)
+
+ if not os.path.exists(source):
+ raise Exception('File listed in EXPORTS does not exist: %s' % source)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/mozjs38.git/commitdiff/0fe111a440383c33e35f72ce0e736038b5c25152
More information about the pld-cvs-commit
mailing list