Ticket #64624: debian_fix_1.patch

File debian_fix_1.patch, 2.2 KB (added by bradleyCPA (B. Holder), 3 years ago)
  • communicate.c

    old new  
    2424   In this file, we want 'struct stat' to have a 32-bit 'ino_t'.
    2525   We use 'struct stat64' when we need a 64-bit 'ino_t'.
    2626*/
    27 #define _DARWIN_NO_64_BIT_INODE
     27# include <sys/types.h>
     28# if __DARWIN_ONLY_64_BIT_INO_T
     29#  define _DARWIN_USE_64_BIT_INODE
     30# else
     31#  define _DARWIN_NO_64_BIT_INODE
     32# endif
    2833#endif
    2934
    3035#include "communicate.h"
  • communicate.h

    old new  
    9191# include <inttypes.h>
    9292#endif
    9393
     94#if __DARWIN_ONLY_64_BIT_INO_T
     95struct stat64 __DARWIN_STRUCT_STAT64;
     96#endif
     97
    9498#ifndef FAKEROOT_FAKENET
    9599# define FAKEROOTKEY_ENV          "FAKEROOTKEY"
    96100#endif /* ! FAKEROOT_FAKENET */
  • faked.c

    old new  
    8484   In this file, we want 'struct stat' to have a 32-bit 'ino_t'.
    8585   We use 'struct stat64' when we need a 64-bit 'ino_t'.
    8686*/
    87 #define _DARWIN_NO_64_BIT_INODE
     87# include <sys/types.h>
     88# if __DARWIN_ONLY_64_BIT_INO_T
     89#  define _DARWIN_USE_64_BIT_INODE
     90# else
     91#  define _DARWIN_NO_64_BIT_INODE
     92# endif
    8893#endif
    8994
    9095#include "config.h"
  • libfakeroot.c

    old new  
    3838   In this file, we want 'struct stat' to have a 32-bit 'ino_t'.
    3939   We use 'struct stat64' when we need a 64-bit 'ino_t'.
    4040*/
    41 #define _DARWIN_NO_64_BIT_INODE
     41# include <sys/types.h>
     42# if __DARWIN_ONLY_64_BIT_INO_T
     43#  define _DARWIN_USE_64_BIT_INODE
     44# else
     45#  define _DARWIN_NO_64_BIT_INODE
     46# endif
    4247
    4348/* The helper _unix2003 version of this file calls a few functions in this file
    4449   that are marked with static_nonapple so that needs to become private instead
  • libfakeroot_inode64.c

    old new  
    3636#include <fts.h>
    3737#endif /* HAVE_FTS_H */
    3838
     39void load_library_symbols(void);
     40
    3941#include "wrapped.h"
    4042#include "wraptmpf.h"
    4143#include "wrapdef.h"
  • libfakeroot_unix2003.c

    old new  
    1818   In this file, we want 'struct stat' to have a 32-bit 'ino_t'.
    1919   We use 'struct stat64' when we need a 64-bit 'ino_t'.
    2020*/
    21 #define _DARWIN_NO_64_BIT_INODE
     21# if __DARWIN_ONLY_64_BIT_INO_T
     22#  define _DARWIN_USE_64_BIT_INODE
     23# else
     24#  define _DARWIN_NO_64_BIT_INODE
     25# endif
    2226
    2327/*
    2428   This file is for 32-bit symbols which have the "$UNIX2003" version, i.e.