source: patches/hfsutils-3.2.6-fixes-1.patch@ 7aa6cc3

clfs-3.0.0-sysvinit sysvinit
Last change on this file since 7aa6cc3 was b3dfbf1, checked in by Jim Gifford <clfs@…>, 16 years ago

Added HFS Utils Patch

  • Property mode set to 100644
File size: 1.0 KB
  • libhfs/os/unix.c

    Submitted by: Jim Gifford (jim at cross-lfs dot org)
    Date: 2009-12-16
    Initial Package Version: 3.2.6
    Upstream Status: Already Applied
    Origin: Jim Gifford
    Description: Missing Errno
                 Support Drives Larger the 2gb
    
    diff -Naur hfsutils-3.2.6.orig/libhfs/os/unix.c hfsutils-3.2.6/libhfs/os/unix.c
    old new  
    1919 * $Id: unix.c,v 1.8 1998/11/02 22:09:13 rob Exp $
    2020 */
    2121
     22#ifdef __linux__
     23#define _FILE_OFFSET_BITS 64
     24#define _LARGE_FILES
     25#endif
     26
    2227# ifdef HAVE_CONFIG_H
    2328#  include "config.h"
    2429# endif
  • hfsutils-3.2.6

    diff -Naur hfsutils-3.2.6.orig/tclhfs.c hfsutils-3.2.6/tclhfs.c
    old new  
    4343# include "charset.h"
    4444# include "suid.h"
    4545# include "version.h"
    46 
    47 extern int errno;
     46# include <errno.h>
    4847
    4948# define ERROR(code, str)       (hfs_error = (str), errno = (code))
    5049
Note: See TracBrowser for help on using the repository browser.