Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jan 2014 15:16:24 +0100
From:      Niclas Zeising <zeising@daemonic.se>
To:        gecko@freebsd.org
Subject:   Fix thunderbird build with clang 3.4
Message-ID:  <52DFD2B8.1010901@daemonic.se>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------010902020902020702050901
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Hi!
Attached patch fixes, or at least makes the build progress longer,
thunderbird when compiled with the upcoming clang 3.4.
See https://bugzilla.mozilla.org/show_bug.cgi?id=894240 for details.
It's needed both in the dev repo and the ports repo.
Regards!
-- 
Niclas Zeising

--------------010902020902020702050901
Content-Type: text/x-patch;
 name="thunderbird.clang34.fix.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="thunderbird.clang34.fix.diff"

Index: thunderbird/files/patch-mozilla_js_src_shell_jsoptparse.cpp
===================================================================
--- thunderbird/files/patch-mozilla_js_src_shell_jsoptparse.cpp	(revision 0)
+++ thunderbird/files/patch-mozilla_js_src_shell_jsoptparse.cpp	(working copy)
@@ -0,0 +1,11 @@
+--- mozilla/js/src/shell/jsoptparse.cpp.orig	2014-01-22 15:07:02.645224977 +0100
++++ mozilla/js/src/shell/jsoptparse.cpp	2014-01-22 15:07:11.179225750 +0100
+@@ -253,7 +253,7 @@
+     char *eq = strchr(argv[*i], '=');
+     if (eq) {
+         *value = eq + 1;
+-        if (value[0] == '\0')
++        if (*value[0] == '\0')
+             return error("A value is required for option %.*s", eq - argv[*i], argv[*i]);
+         return Okay;
+     }

Property changes on: thunderbird/files/patch-mozilla_js_src_shell_jsoptparse.cpp
___________________________________________________________________
Added: fbsd:nokeywords
## -0,0 +1 ##
+yes
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property

--------------010902020902020702050901--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52DFD2B8.1010901>