source: clfs-sysroot/patches/util-linux-2.12r-missing_header-1.patch@ 58ccb9a

Last change on this file since 58ccb9a was 8f3d581, checked in by Joe Ciccone <jciccone@…>, 18 years ago

Add all of the patches needed for clfs-sysroot.

  • Property mode set to 100644
File size: 619 bytes
RevLine 
[8f3d581]1Submitted By: Jim Gifford (patches at jg555 dot com)
2Date: 2006-05-30
3Initial Package Version: 2.12r
4Origin: Jim Gifford
5Upstream Status: Sent
6Description: Fixes the missing delcaration of R_OK in swapon.c build
7
8diff -Naur util-linux-2.12r.orig/mount/swapon.c util-linux-2.12r/mount/swapon.c
9--- util-linux-2.12r.orig/mount/swapon.c 2004-12-22 01:50:19.000000000 -0800
10+++ util-linux-2.12r/mount/swapon.c 2006-05-30 00:15:28.979305328 -0700
11@@ -11,6 +11,7 @@
12 #include <mntent.h>
13 #include <errno.h>
14 #include <sys/stat.h>
15+#include <fcntl.h>
16 #include "xmalloc.h"
17 #include "swap_constants.h"
18 #include "swapargs.h"
Note: See TracBrowser for help on using the repository browser.