source: scripts/patches/util-linux-2.12r-gcc4_fixes-1.patch@ 0019206

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 0019206 was a11a2d51, checked in by Jim Gifford <clfs@…>, 19 years ago

r1047@server (orig r1045): ryan | 2006-01-12 00:57:23 -0800

r1081@rei: lfs | 2006-01-12 19:16:25 +1100
Update for util-linux-2.12r


  • Property mode set to 100644
File size: 809 bytes
  • util-linux-2.12q

    Submitted By: Jim Gifford (patches at jg555 dot com)
    Date: 2005-08-28
    Initial Package Version: 2.12q
    Origin: Joe Ciccone 
    Upstream Status: Sent
    Description: Fixes GCC4 Compile Issues
     
    diff -Naur util-linux-2.12q.orig/mount/umount.c util-linux-2.12q/mount/umount.c
    old new  
    4040#include <linux/unistd.h>
    4141#ifdef __NR_umount2
    4242
    43 static int umount2(const char *path, int flags);
     43int umount2(const char *path, int flags);
    4444
    4545_syscall2(int, umount2, const char *, path, int, flags);
    4646
    4747#else /* __NR_umount2 */
    4848
    49 static int
     49int
    5050umount2(const char *path, int flags) {
    5151        fprintf(stderr, _("umount: compiled without support for -f\n"));
    5252        errno = ENOSYS;
Note: See TracBrowser for help on using the repository browser.