SHARE
TWEET

Untitled

a guest Mar 25th, 2019 79 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $ cat spidermonkey-musl.patch
  2. Fixes "caddr_t undeclared" compile error
  3.  
  4. diff -ur mozjs-52.9.1pre1.orig/python/psutil/psutil/_psutil_linux.c mozjs-52.9.1pre1/python/psutil/psutil/_psutil_linux.c
  5. --- mozjs-52.9.1pre1.orig/python/psutil/psutil/_psutil_linux.c  2018-07-23 18:00:01.000000000 +0000
  6. +++ mozjs-52.9.1pre1/python/psutil/psutil/_psutil_linux.c   2018-11-25 20:07:15.365771007 +0000
  7. @@ -21,6 +21,7 @@
  8.  #include <sys/sysinfo.h>
  9.  #include <sys/ioctl.h>
  10.  #include <sys/socket.h>
  11. +#include <sys/types.h>
  12.  #include <linux/sockios.h>
  13.  #include <linux/if.h>
  14.  #include <linux/ethtool.h>
  15.  
  16. $ cat spidermonkey-threadlocal.patch
  17. Fixes:
  18.   Error relocating /usr/lib/libmozjs-52.so: _ZN2js16TlsPerThreadDataE: symbol not found
  19.  
  20. --- mozjs-52.9.1pre1/mfbt/ThreadLocal.h.orig    2018-11-28 09:48:43.746859132 +0000
  21. +++ mozjs-52.9.1pre1/mfbt/ThreadLocal.h 2018-11-28 09:48:45.930897382 +0000
  22. @@ -211,7 +211,7 @@
  23.  }
  24.  
  25.  #ifdef MOZ_HAS_THREAD_LOCAL
  26. -#define MOZ_THREAD_LOCAL(TYPE) __thread mozilla::detail::ThreadLocal<TYPE>
  27. +#define MOZ_THREAD_LOCAL(TYPE) MOZ_EXPORT __thread mozilla::detail::ThreadLocal<TYPE>
  28.  #else
  29.  #define MOZ_THREAD_LOCAL(TYPE) mozilla::detail::ThreadLocal<TYPE>
  30.  #endif
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top