diff options
author | Matteo Bernardini | 2019-02-10 08:24:16 +0100 |
---|---|---|
committer | Matteo Bernardini | 2019-02-10 08:24:16 +0100 |
commit | 082425de77642723e77944b1d5eb726faadfa957 (patch) | |
tree | b2c49cdf46c33eb597c60eec4dd96e0cca70af80 /development/mozjs/patches | |
parent | d80298d80370c2c670a9e5182c5bc4eb40c4a0e0 (diff) | |
download | slackbuilds-current-20190210.1.tar.gz |
20190210.1 global branch merge.current-20190210.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'development/mozjs/patches')
-rw-r--r-- | development/mozjs/patches/moz38-dont-hardcode-libc-soname.patch | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/development/mozjs/patches/moz38-dont-hardcode-libc-soname.patch b/development/mozjs/patches/moz38-dont-hardcode-libc-soname.patch deleted file mode 100644 index 708c749697..0000000000 --- a/development/mozjs/patches/moz38-dont-hardcode-libc-soname.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- a/testing/mozbase/mozinfo/mozinfo/mozinfo.py 2018-01-12 12:21:16.764318254 -0500 -+++ b/testing/mozbase/mozinfo/mozinfo/mozinfo.py 2018-01-12 12:22:23.392069398 -0500 -@@ -93,10 +93,11 @@ - - if info['os'] == 'linux': - import ctypes -+ import ctypes.util - import errno - PR_SET_SECCOMP = 22 - SECCOMP_MODE_FILTER = 2 -- ctypes.CDLL("libc.so.6", use_errno=True).prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, 0) -+ ctypes.CDLL(ctypes.util.find_library('c'), use_errno=True).prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, 0) - info['has_sandbox'] = ctypes.get_errno() == errno.EFAULT - else: - info['has_sandbox'] = True |