Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ cat spidermonkey-musl.patch
- Fixes "caddr_t undeclared" compile error
- diff -ur mozjs-52.9.1pre1.orig/python/psutil/psutil/_psutil_linux.c mozjs-52.9.1pre1/python/psutil/psutil/_psutil_linux.c
- --- mozjs-52.9.1pre1.orig/python/psutil/psutil/_psutil_linux.c 2018-07-23 18:00:01.000000000 +0000
- +++ mozjs-52.9.1pre1/python/psutil/psutil/_psutil_linux.c 2018-11-25 20:07:15.365771007 +0000
- @@ -21,6 +21,7 @@
- #include <sys/sysinfo.h>
- #include <sys/ioctl.h>
- #include <sys/socket.h>
- +#include <sys/types.h>
- #include <linux/sockios.h>
- #include <linux/if.h>
- #include <linux/ethtool.h>
- $ cat spidermonkey-threadlocal.patch
- Fixes:
- Error relocating /usr/lib/libmozjs-52.so: _ZN2js16TlsPerThreadDataE: symbol not found
- --- mozjs-52.9.1pre1/mfbt/ThreadLocal.h.orig 2018-11-28 09:48:43.746859132 +0000
- +++ mozjs-52.9.1pre1/mfbt/ThreadLocal.h 2018-11-28 09:48:45.930897382 +0000
- @@ -211,7 +211,7 @@
- }
- #ifdef MOZ_HAS_THREAD_LOCAL
- -#define MOZ_THREAD_LOCAL(TYPE) __thread mozilla::detail::ThreadLocal<TYPE>
- +#define MOZ_THREAD_LOCAL(TYPE) MOZ_EXPORT __thread mozilla::detail::ThreadLocal<TYPE>
- #else
- #define MOZ_THREAD_LOCAL(TYPE) mozilla::detail::ThreadLocal<TYPE>
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement