[packages/mozjs68] - rust is not needed tro build pure C++ library

baggins baggins at pld-linux.org
Fri May 1 11:03:13 CEST 2020


commit 4e515346cbca7e4045854007f6ed0eccb10ccce7
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Fri May 1 11:00:38 2020 +0200

    - rust is not needed tro build pure C++ library

 mozjs68.spec  |  2 ++
 no-rust.patch | 14 ++++++++++++++
 2 files changed, 16 insertions(+)
---
diff --git a/mozjs68.spec b/mozjs68.spec
index 45f0073..6f99979 100644
--- a/mozjs68.spec
+++ b/mozjs68.spec
@@ -16,6 +16,7 @@ Patch0:		copy-headers.patch
 Patch1:		system-virtualenv.patch
 Patch2:		include-configure-script.patch
 Patch3:		x32.patch
+Patch4:		no-rust.patch
 URL:		https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey
 BuildRequires:	autoconf2_13 >= 2.13
 # "TestWrappingOperations.cpp:27:1: error: non-constant condition for static assertion" with -fwrapv on gcc 6 and 7
@@ -69,6 +70,7 @@ Pliki nagłówkowe do biblioteki JavaScript.
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 %build
 export PYTHON="%{__python}"
diff --git a/no-rust.patch b/no-rust.patch
new file mode 100644
index 0000000..9c5df9c
--- /dev/null
+++ b/no-rust.patch
@@ -0,0 +1,14 @@
+--- firefox-68.7.0/js/moz.configure~	2020-04-03 21:29:56.000000000 +0200
++++ firefox-68.7.0/js/moz.configure	2020-05-01 10:20:08.759893678 +0200
+@@ -18,11 +18,6 @@
+ option(env='JS_STANDALONE', default=building_js,
+        help='Reserved for internal use')
+ 
+-include('../build/moz.configure/rust.configure',
+-        when='--enable-compile-environment')
+-include('../build/moz.configure/bindgen.configure',
+-        when='--enable-compile-environment')
+-
+ @depends('JS_STANDALONE')
+ def js_standalone(value):
+     if value:
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mozjs68.git/commitdiff/4e515346cbca7e4045854007f6ed0eccb10ccce7



More information about the pld-cvs-commit mailing list