summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Ludd <solar@gentoo.org>2005-01-29 15:07:45 +0000
committerNed Ludd <solar@gentoo.org>2005-01-29 15:07:45 +0000
commit2be99cba889ff1d6a78553847b6d7a67396049a2 (patch)
tree1967df6c4f0529543b624b71286ab6604edbc0e6 /sys-fs/xfsprogs/files
parentAdd blockers on split packages derived from koffice. (diff)
downloadgentoo-2-2be99cba889ff1d6a78553847b6d7a67396049a2.tar.gz
gentoo-2-2be99cba889ff1d6a78553847b6d7a67396049a2.tar.bz2
gentoo-2-2be99cba889ff1d6a78553847b6d7a67396049a2.zip
- temp work around to disable posix_fadvise till such times as _syscall6() exists for uClibc. bug #73855
(Portage version: 2.0.51-r15)
Diffstat (limited to 'sys-fs/xfsprogs/files')
-rw-r--r--sys-fs/xfsprogs/files/2.6.25-uclibc-fadvise.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/sys-fs/xfsprogs/files/2.6.25-uclibc-fadvise.patch b/sys-fs/xfsprogs/files/2.6.25-uclibc-fadvise.patch
new file mode 100644
index 000000000000..1c83a62b8687
--- /dev/null
+++ b/sys-fs/xfsprogs/files/2.6.25-uclibc-fadvise.patch
@@ -0,0 +1,28 @@
+--- xfsprogs-2.6.25/aclocal.m4.orig 2004-12-09 00:16:24 +0000
++++ xfsprogs-2.6.25/aclocal.m4 2004-12-09 00:17:03 +0000
+@@ -243,8 +243,8 @@
+ #include <fcntl.h>
+ ], [
+ posix_fadvise(0, 1, 0, POSIX_FADV_NORMAL);
+- ], have_fadvise=yes
+- AC_MSG_RESULT(yes),
++ ], have_fadvise=no
++ AC_MSG_RESULT(no),
+ AC_MSG_RESULT(no))
+ AC_SUBST(have_fadvise)
+ ])
+--- xfsprogs-2.6.25/configure.orig 2004-12-09 00:19:21 +0000
++++ xfsprogs-2.6.25/configure 2004-12-09 00:24:56 +0000
+@@ -4119,9 +4119,9 @@
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+- have_fadvise=yes
+- echo "$as_me:$LINENO: result: yes" >&5
+-echo "${ECHO_T}yes" >&6
++ have_fadvise=no
++ echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
+ else
+ echo "$as_me: failed program was:" >&5
+ sed 's/^/| /' conftest.$ac_ext >&5