pkgsrc/mail/thunderbird52/patches/patch-mozilla_js_src_jit_arm_Architecture-arm.cpp
ryoon 52f373d9e6 mail/thunderbird52: import thunderbird52-52.9.1nb3
Mozilla Thunderbird is a redesign of the Mozilla mail component. The
goal is to produce a cross platform stand alone mail application using
the XUL user interface language. This version uses the gtk2 toolkit.
2018-12-16 08:29:48 +00:00

13 lines
692 B
C++

$NetBSD: patch-mozilla_js_src_jit_arm_Architecture-arm.cpp,v 1.1 2018/12/16 08:29:48 ryoon Exp $
--- mozilla/js/src/jit/arm/Architecture-arm.cpp.orig 2017-04-14 04:53:12.000000000 +0000
+++ mozilla/js/src/jit/arm/Architecture-arm.cpp
@@ -16,7 +16,7 @@
#include "jit/arm/Assembler-arm.h"
#include "jit/RegisterSets.h"
-#if !defined(__linux__) || defined(ANDROID) || defined(JS_SIMULATOR_ARM)
+#if !defined(__linux__) || defined(ANDROID) || defined(JS_SIMULATOR_ARM) || defined(__NetBSD__)
// The Android NDK and B2G do not include the hwcap.h kernel header, and it is not
// defined when building the simulator, so inline the header defines we need.
# define HWCAP_VFP (1 << 6)