From owner-freebsd-gecko@FreeBSD.ORG Wed Jan 22 14:16:29 2014 Return-Path: Delivered-To: gecko@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8522427D for ; Wed, 22 Jan 2014 14:16:29 +0000 (UTC) Received: from mail.lysator.liu.se (mail.lysator.liu.se [IPv6:2001:6b0:17:f0a0::3]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2F7C41D04 for ; Wed, 22 Jan 2014 14:16:29 +0000 (UTC) Received: from mail.lysator.liu.se (localhost [127.0.0.1]) by mail.lysator.liu.se (Postfix) with ESMTP id 565A040014 for ; Wed, 22 Jan 2014 15:16:27 +0100 (CET) Received: by mail.lysator.liu.se (Postfix, from userid 1004) id 4C3CD40015; Wed, 22 Jan 2014 15:16:27 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on bernadotte.lysator.liu.se X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=AWL autolearn=disabled version=3.3.1 X-Spam-Score: 0.0 Received: from mx.daemonic.se (mx.daemonic.se [IPv6:2001:470:dca9:0:1::3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.lysator.liu.se (Postfix) with ESMTPSA id EF55B40014 for ; Wed, 22 Jan 2014 15:16:26 +0100 (CET) Received: from mailscanner.daemonic.se (mailscanner.daemonic.se [IPv6:2001:470:dca9:0:1::6]) by mx.daemonic.se (Postfix) with ESMTPS id 3f8TF65vvnz8ggx for ; Wed, 22 Jan 2014 15:16:26 +0100 (CET) X-Virus-Scanned: amavisd-new at daemonic.se Received: from mx.daemonic.se ([IPv6:2001:470:dca9:0:1::3]) (using TLS with cipher CAMELLIA256-SHA) by mailscanner.daemonic.se (mailscanner.daemonic.se [IPv6:2001:470:dca9:0:1::6]) (amavisd-new, port 10025) with ESMTPS id VvPeYk05k8vk for ; Wed, 22 Jan 2014 15:16:24 +0100 (CET) Received: from mail.daemonic.se (mail.daemonic.se [10.1.0.4]) by mx.daemonic.se (Postfix) with ESMTPS id 3f8TF42Vcbz8ggv for ; Wed, 22 Jan 2014 15:16:24 +0100 (CET) Received: from vivi.daemonic.se (vivi.daemonic.se [IPv6:2001:470:dca9:1::4]) by mail.daemonic.se (Postfix) with ESMTPSA id 3f8TF420GDz9CvV for ; Wed, 22 Jan 2014 15:16:24 +0100 (CET) Message-ID: <52DFD2B8.1010901@daemonic.se> Date: Wed, 22 Jan 2014 15:16:24 +0100 From: Niclas Zeising User-Agent: Mutt/1.5.21 MIME-Version: 1.0 To: gecko@freebsd.org Subject: Fix thunderbird build with clang 3.4 X-Enigmail-Version: 1.5.1 Content-Type: multipart/mixed; boundary="------------010902020902020702050901" X-Virus-Scanned: ClamAV using ClamSMTP X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jan 2014 14:16:29 -0000 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--