Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66]) by www.NetBSD.org (Postfix) with ESMTP id 21A4963B293 for ; Sun, 7 Oct 2012 07:23:25 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 9008414A155; Sun, 7 Oct 2012 07:23:24 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id E5CBD14A152 for ; Sun, 7 Oct 2012 07:23:22 +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 s_ahIl-k_ptb for ; Sun, 7 Oct 2012 07:23:22 +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 6EB5E14A14E for ; Sun, 7 Oct 2012 07:23:22 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id D964D175DD; Sun, 7 Oct 2012 07:23:21 +0000 (UTC) MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Date: Sun, 7 Oct 2012 07:23:21 +0000 From: "John Marino" Subject: CVS commit: pkgsrc/net/libfetch To: pkgsrc-changes@NetBSD.org Reply-To: marino@netbsd.org X-Mailer: log_accum Message-Id: <20121007072321.D964D175DD@cvs.netbsd.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk Module Name: pkgsrc Committed By: marino Date: Sun Oct 7 07:23:21 UTC 2012 Modified Files: pkgsrc/net/libfetch: Makefile Log Message: net/libfetch: Fix for gcc4.7 When building with gcc4.7, libfetch fails with the following error: ftp.c: In function 'unmappedaddr': ftp.c:149:2: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing] cc1: all warnings being treated as errors *** Error code 1 The code is intentionally grouping an array of four uint8_t bytes into a uint32_t word. Add -Wno-strict-aliasing in makefile to fix build in gcc4.7. To generate a diff of this commit: cvs rdiff -u -r1.41 -r1.42 pkgsrc/net/libfetch/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.