[packages/mozjs52] - no sysctl on x32

baggins baggins at pld-linux.org
Sat Oct 14 23:09:24 CEST 2017


commit 3b0fa2230d64817b0dca67b75c36be7b48804207
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sat Oct 14 23:09:05 2017 +0200

    - no sysctl on x32

 mozjs52-x32.patch | 11 +++++++++++
 1 file changed, 11 insertions(+)
---
diff --git a/mozjs52-x32.patch b/mozjs52-x32.patch
index ba0990f..e821824 100644
--- a/mozjs52-x32.patch
+++ b/mozjs52-x32.patch
@@ -20,3 +20,14 @@
          kernel=Kernel(canonical_kernel),
          os=OS(canonical_os),
          endianness=Endianness(endianness),
+--- firefox-52.4.0esr/memory/mozjemalloc/jemalloc.c~	2017-05-12 02:25:50.000000000 +0200
++++ firefox-52.4.0esr/memory/mozjemalloc/jemalloc.c	2017-10-14 23:08:32.676380395 +0200
+@@ -331,7 +331,7 @@
+ #endif
+ #include <sys/time.h>
+ #include <sys/types.h>
+-#if !defined(MOZ_MEMORY_SOLARIS) && !defined(MOZ_MEMORY_ANDROID)
++#if !defined(MOZ_MEMORY_SOLARIS) && !defined(MOZ_MEMORY_ANDROID) && !defined(__ILP32__)
+ #include <sys/sysctl.h>
+ #endif
+ #include <sys/uio.h>
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mozjs52.git/commitdiff/3b0fa2230d64817b0dca67b75c36be7b48804207



More information about the pld-cvs-commit mailing list