patches/binutils/2.22/500-fix-struct-stat.patch
author danielrubiob@gmail.com
Tue Feb 11 21:34:48 2014 +0100 (2014-02-11)
changeset 3285 a8cb9039fade
permissions -rw-r--r--
complibs/cloog: bump version

Signed-off-by: Daniel Rubio Bonilla <danielrubiob@gmail.com>
[yann.morin.1998@free.fr: re-order versions]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Cody P Schafer <dev@codyps.com>
Message-Id: <c2de3964cd6d5e4173cc.1391984023@uemo>
Patchwork-Id: 318637
     1 diff -ur binutils-2.22.org/bfd/bfd-in2.h binutils-2.22/bfd/bfd-in2.h
     2 --- binutils-2.22.org/bfd/bfd-in2.h	2011-09-16 03:15:18.000000000 +0200
     3 +++ binutils-2.22/bfd/bfd-in2.h	2012-11-03 18:25:20.365668349 +0100
     4 @@ -32,6 +32,8 @@
     5  #ifndef __BFD_H_SEEN__
     6  #define __BFD_H_SEEN__
     7  
     8 +#include <sys/stat.h>
     9 +
    10  #ifdef __cplusplus
    11  extern "C" {
    12  #endif
    13 @@ -308,8 +310,6 @@
    14     && (sec)->sec_info_type != ELF_INFO_TYPE_MERGE		\
    15     && (sec)->sec_info_type != ELF_INFO_TYPE_JUST_SYMS)
    16  
    17 -/* Forward define.  */
    18 -struct stat;
    19  
    20  typedef enum bfd_print_symbol
    21  {
    22 diff -ur binutils-2.22.org/bfd/bfd-in.h binutils-2.22/bfd/bfd-in.h
    23 --- binutils-2.22.org/bfd/bfd-in.h	2011-09-16 03:15:18.000000000 +0200
    24 +++ binutils-2.22/bfd/bfd-in.h	2012-11-03 18:24:43.397783645 +0100
    25 @@ -25,6 +25,8 @@
    26  #ifndef __BFD_H_SEEN__
    27  #define __BFD_H_SEEN__
    28  
    29 +#include <sys/stat.h>
    30 +
    31  #ifdef __cplusplus
    32  extern "C" {
    33  #endif
    34 @@ -301,8 +303,6 @@
    35     && (sec)->sec_info_type != ELF_INFO_TYPE_MERGE		\
    36     && (sec)->sec_info_type != ELF_INFO_TYPE_JUST_SYMS)
    37  
    38 -/* Forward define.  */
    39 -struct stat;
    40  
    41  typedef enum bfd_print_symbol
    42  {