diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-04-17 15:48:09 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-04-17 15:48:09 +0000 |
commit | b399cba4471bdc7ea344cdf3a6f8615f27c72f04 (patch) | |
tree | 4cc63aa3ebc89b75ef0a4c2061448f919b3294e7 /package/mdadm/mdadm-2.6.1-002.uclibc-not-lfs-fixup.patch | |
parent | c23fcc8e2e10db0203083217300982aad04739a1 (diff) | |
download | buildroot-novena-b399cba4471bdc7ea344cdf3a6f8615f27c72f04.tar.gz buildroot-novena-b399cba4471bdc7ea344cdf3a6f8615f27c72f04.zip |
- make it compile if LFS was turned off
Diffstat (limited to 'package/mdadm/mdadm-2.6.1-002.uclibc-not-lfs-fixup.patch')
-rw-r--r-- | package/mdadm/mdadm-2.6.1-002.uclibc-not-lfs-fixup.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/package/mdadm/mdadm-2.6.1-002.uclibc-not-lfs-fixup.patch b/package/mdadm/mdadm-2.6.1-002.uclibc-not-lfs-fixup.patch new file mode 100644 index 000000000..6c88bc949 --- /dev/null +++ b/package/mdadm/mdadm-2.6.1-002.uclibc-not-lfs-fixup.patch @@ -0,0 +1,13 @@ +diff -rdup mdadm-2.6.1-001/mdadm.h mdadm-2.6.1/mdadm.h +--- mdadm-2.6.1-001/mdadm.h 2007-04-17 17:41:04.000000000 +0200 ++++ mdadm-2.6.1/mdadm.h 2007-04-17 17:38:43.000000000 +0200 +@@ -388,6 +388,9 @@ struct stat64; + # undef HAVE_FTW + # undef HAVE_NFTW + # endif ++# ifndef __UCLIBC_HAS_LFS__ ++# define lseek64 lseek ++# endif + #endif + + #ifdef __dietlibc__ |