summaryrefslogtreecommitdiff
path: root/mail/thunderbird45/patches/patch-mozilla_js_src_shell_jsoptparse.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mail/thunderbird45/patches/patch-mozilla_js_src_shell_jsoptparse.cpp')
-rw-r--r--mail/thunderbird45/patches/patch-mozilla_js_src_shell_jsoptparse.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/mail/thunderbird45/patches/patch-mozilla_js_src_shell_jsoptparse.cpp b/mail/thunderbird45/patches/patch-mozilla_js_src_shell_jsoptparse.cpp
new file mode 100644
index 00000000000..0e56a7176bb
--- /dev/null
+++ b/mail/thunderbird45/patches/patch-mozilla_js_src_shell_jsoptparse.cpp
@@ -0,0 +1,13 @@
+$NetBSD: patch-mozilla_js_src_shell_jsoptparse.cpp,v 1.1 2017/04/27 13:38:19 ryoon Exp $
+
+--- mozilla/js/src/shell/jsoptparse.cpp.orig 2016-04-07 21:33:25.000000000 +0000
++++ mozilla/js/src/shell/jsoptparse.cpp
+@@ -95,7 +95,7 @@ PrintParagraph(const char* text, unsigne
+ ++it;
+
+ while (*it != '\0') {
+- MOZ_ASSERT(!isspace(*it));
++ MOZ_ASSERT(!isspace((unsigned char)*it));
+
+ /* Delimit the current token. */
+ const char* limit = it;