From patchwork Tue Nov 6 18:36:09 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Titus von Boxberg X-Patchwork-Id: 197533 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 13C982C007D for ; Wed, 7 Nov 2012 05:37:16 +1100 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=sourceware.org; s=default; x=1352831837; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Received:Content-Type:MIME-Version:Content-Transfer-Encoding: Subject:Message-Id:In-Reply-To:References:User-Agent:Date:From: To:Mailing-List:Precedence:List-Id:List-Unsubscribe: List-Subscribe:List-Archive:List-Post:List-Help:Sender: Delivered-To; bh=Q8vctoud8PvmLp7j09Ke9jBQ2lw=; b=rkNSLTkZ9fq1Y/z oHAnqyBglr5UlBHl2720I7P3DNiHpllkYHnQe9JSL31LSQ95uLBVUZdL/qomncI/ 0ZF4vN8TDIvGeva3wcDlSjhcZ3Ovm2+gIl3l7AAkOToCiWlJAae77/A9qQqnyVFb 44DU0hnphCJQ4sE+eWoNDZ5e+dyE= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=sourceware.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:Received:Received:Content-Type:MIME-Version:Content-Transfer-Encoding:Subject:X-Mercurial-Node:Message-Id:In-Reply-To:References:User-Agent:Date:From:To:X-IsSubscribed:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Subscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=m7Q3l3hoTMS04mntoXQ5O20I9n8IrUSn0nBMbVueZvTsPdoR9a2FKPepbL3gxj P0gRIJJlg8X8WMeRmHGkDww+C3BuYpg+m8QnwLe3MDKvLphTkQv5GUjDfJtI5ZaU 8AcjfeCsnx0bOuUptrabY93vcMlUOvWAW1873/y/wFd3c=; Received: (qmail 4365 invoked by alias); 6 Nov 2012 18:36:52 -0000 Received: (qmail 3749 invoked by uid 22791); 6 Nov 2012 18:36:43 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL, BAYES_00, KHOP_THREADED, RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from tschetwerikow.v9g.de (HELO tschetwerikow.v9g.de) (217.92.164.63) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 06 Nov 2012 18:36:39 +0000 Received: from localhost (localhost [127.0.0.1]) by tschetwerikow.v9g.de (Postfix) with ESMTP id E24F5283625D for ; Tue, 6 Nov 2012 19:36:37 +0100 (CET) Received: from tschetwerikow.v9g.de ([127.0.0.1]) by localhost (tschetwerikow.boxberg.lan [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tj9dX4DSreI8 for ; Tue, 6 Nov 2012 19:36:34 +0100 (CET) Received: from tschetwerikow.boxberg.lan (localhost [IPv6:::1]) by tschetwerikow.v9g.de (Postfix) with ESMTPSA id 6C6E22836244 for ; Tue, 6 Nov 2012 19:36:32 +0100 (CET) MIME-Version: 1.0 Subject: [PATCH 2 of 2] patches/binutils/2.22: do not fwd declare struct stat X-Mercurial-Node: ba9b356542d2d0f702d7c719cc09799579994dba Message-Id: In-Reply-To: References: User-Agent: Mercurial-patchbomb/2.3.1 Date: Tue, 06 Nov 2012 19:36:09 +0100 From: Titus von Boxberg To: crossgcc@sourceware.org X-IsSubscribed: yes Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Delivered-To: mailing list crossgcc@sourceware.org # HG changeset patch # User Titus von Boxberg # Date 1352220159 -3600 # Node ID ba9b356542d2d0f702d7c719cc09799579994dba # Parent 51587db99510a9ec08f831b2ed596017efb253a5 patches/binutils/2.22: do not fwd declare struct stat. For canadian cross to host i686-mingw32 fwd declaring struct stat is not possible. Instead #include --- For unsubscribe information see http://sourceware.org/lists.html#faq diff -r 51587db99510 -r ba9b356542d2 patches/binutils/2.22/500-fix-struct-stat.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/binutils/2.22/500-fix-struct-stat.patch Tue Nov 06 17:42:39 2012 +0100 @@ -0,0 +1,42 @@ +diff -ur binutils-2.22.org/bfd/bfd-in2.h binutils-2.22/bfd/bfd-in2.h +--- binutils-2.22.org/bfd/bfd-in2.h 2011-09-16 03:15:18.000000000 +0200 ++++ binutils-2.22/bfd/bfd-in2.h 2012-11-03 18:25:20.365668349 +0100 +@@ -32,6 +32,8 @@ + #ifndef __BFD_H_SEEN__ + #define __BFD_H_SEEN__ + ++#include ++ + #ifdef __cplusplus + extern "C" { + #endif +@@ -308,8 +310,6 @@ + && (sec)->sec_info_type != ELF_INFO_TYPE_MERGE \ + && (sec)->sec_info_type != ELF_INFO_TYPE_JUST_SYMS) + +-/* Forward define. */ +-struct stat; + + typedef enum bfd_print_symbol + { +diff -ur binutils-2.22.org/bfd/bfd-in.h binutils-2.22/bfd/bfd-in.h +--- binutils-2.22.org/bfd/bfd-in.h 2011-09-16 03:15:18.000000000 +0200 ++++ binutils-2.22/bfd/bfd-in.h 2012-11-03 18:24:43.397783645 +0100 +@@ -25,6 +25,8 @@ + #ifndef __BFD_H_SEEN__ + #define __BFD_H_SEEN__ + ++#include ++ + #ifdef __cplusplus + extern "C" { + #endif +@@ -301,8 +303,6 @@ + && (sec)->sec_info_type != ELF_INFO_TYPE_MERGE \ + && (sec)->sec_info_type != ELF_INFO_TYPE_JUST_SYMS) + +-/* Forward define. */ +-struct stat; + + typedef enum bfd_print_symbol + {