Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66]) by www.NetBSD.org (Postfix) with ESMTP id 5181063B85F for ; Thu, 12 Jul 2012 13:47:27 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id C3AF914A2D0; Thu, 12 Jul 2012 13:47:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 51CA414A297 for ; Thu, 12 Jul 2012 13:47:24 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id OQ-42Fe1D97C for ; Thu, 12 Jul 2012 13:47:23 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id C88FF14A268 for ; Thu, 12 Jul 2012 13:47:23 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id BB034175DD; Thu, 12 Jul 2012 13:47:23 +0000 (UTC) MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Date: Thu, 12 Jul 2012 13:47:23 +0000 From: "John Marino" Subject: CVS commit: pkgsrc/lang/gcc47 To: pkgsrc-changes@NetBSD.org Reply-To: marino@netbsd.org X-Mailer: log_accum Message-Id: <20120712134723.BB034175DD@cvs.netbsd.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk Module Name: pkgsrc Committed By: marino Date: Thu Jul 12 13:47:23 UTC 2012 Modified Files: pkgsrc/lang/gcc47: Makefile distinfo pkgsrc/lang/gcc47/patches: patch-gcc_config_i386_dragonfly.h Log Message: lang/gcc47: Fix DragonFly32 floating point handling Like i386-FreeBSD, the i386-DragonFly floating point unit uses a 53-bit mantissa. GCC uses the TARGET_96_ROUND_53_LONG_DOUBLE macro to know which platforms behave this way. Unfortunately, setting this macro to 1 breaks precision on Ada, and leaving it at 0 breaks precision on c/c++ long double handling. However lang/gcc47 likely will never support Ada, so we'll favor c/c++. This is only an issue for i386; the setting on x86_64 should be zero as it uses 64-bit precision. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 pkgsrc/lang/gcc47/Makefile cvs rdiff -u -r1.7 -r1.8 pkgsrc/lang/gcc47/distinfo cvs rdiff -u -r1.1 -r1.2 \ pkgsrc/lang/gcc47/patches/patch-gcc_config_i386_dragonfly.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.