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
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')
-rw-r--r--sys-fs/xfsprogs/ChangeLog7
-rw-r--r--sys-fs/xfsprogs/Manifest9
-rw-r--r--sys-fs/xfsprogs/files/2.6.25-uclibc-fadvise.patch28
-rw-r--r--sys-fs/xfsprogs/xfsprogs-2.6.25.ebuild8
4 files changed, 45 insertions, 7 deletions
diff --git a/sys-fs/xfsprogs/ChangeLog b/sys-fs/xfsprogs/ChangeLog
index 20cab424ee36..ce08d5916839 100644
--- a/sys-fs/xfsprogs/ChangeLog
+++ b/sys-fs/xfsprogs/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-fs/xfsprogs
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/xfsprogs/ChangeLog,v 1.28 2005/01/19 13:19:40 kumba Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/xfsprogs/ChangeLog,v 1.29 2005/01/29 15:07:45 solar Exp $
+
+ 29 Jan 2005; <solar@gentoo.org> +files/2.6.25-uclibc-fadvise.patch,
+ xfsprogs-2.6.25.ebuild:
+ - temp work around to disable posix_fadvise till such times as _syscall6()
+ exists for uClibc. bug #73855
19 Jan 2005; Joshua Kinard <kumba@gentoo.org> xfsprogs-2.6.25.ebuild:
Marked stable on mips.
diff --git a/sys-fs/xfsprogs/Manifest b/sys-fs/xfsprogs/Manifest
index bb4b90286c7d..9313382bba12 100644
--- a/sys-fs/xfsprogs/Manifest
+++ b/sys-fs/xfsprogs/Manifest
@@ -1,8 +1,9 @@
-MD5 08f8e1b41f5bbdd03b9db8a100b3e132 ChangeLog 7480
+MD5 e55310c8333ad45b2ef6885586ade50f xfsprogs-2.6.25.ebuild 1747
+MD5 04243571973f1ae4ad52d75e2c91c17e ChangeLog 7686
MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
MD5 a719cf48b1b97beb3422daf7d375c294 xfsprogs-2.6.13.ebuild 1920
-MD5 2a08e2d121ec0da11a69aad3320db569 xfsprogs-2.6.25.ebuild 1618
-MD5 911b4db00dda0d9aad7d79c8f2de99c3 files/2.6.13-configure.patch 238
-MD5 7b6e7879f947d56d486f1d17f3c8f3e1 files/2.6.13-uclibc-mincore.patch 1141
+MD5 8eba105c0398707194a64a5be0075310 files/2.6.25-uclibc-fadvise.patch 849
MD5 3d4e4aea1da9c2a07cc9581930aab671 files/digest-xfsprogs-2.6.13 71
MD5 0ccba5779bd5c7edc42cac54ed360fa5 files/digest-xfsprogs-2.6.25 71
+MD5 7b6e7879f947d56d486f1d17f3c8f3e1 files/2.6.13-uclibc-mincore.patch 1141
+MD5 911b4db00dda0d9aad7d79c8f2de99c3 files/2.6.13-configure.patch 238
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
diff --git a/sys-fs/xfsprogs/xfsprogs-2.6.25.ebuild b/sys-fs/xfsprogs/xfsprogs-2.6.25.ebuild
index b48ed97cabe8..3d3362079ad1 100644
--- a/sys-fs/xfsprogs/xfsprogs-2.6.25.ebuild
+++ b/sys-fs/xfsprogs/xfsprogs-2.6.25.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/xfsprogs/xfsprogs-2.6.25.ebuild,v 1.7 2005/01/19 13:19:40 kumba Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/xfsprogs/xfsprogs-2.6.25.ebuild,v 1.8 2005/01/29 15:07:45 solar Exp $
inherit flag-o-matic eutils
@@ -11,7 +11,7 @@ SRC_URI="ftp://oss.sgi.com/projects/xfs/download/cmd_tars/${P}.src.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha amd64 hppa ia64 mips ~ppc ~sparc x86"
-IUSE="nls"
+IUSE="nls uclibc"
RDEPEND="virtual/libc
sys-fs/e2fsprogs"
@@ -22,6 +22,10 @@ DEPEND="${RDEPEND}
src_unpack() {
unpack ${A}
cd ${S}
+
+ # temp work around till a _syscall6() exists. bug #73855
+ use uclibc && epatch ${FILESDIR}/2.6.25-uclibc-fadvise.patch
+
sed -i \
-e '/^GCFLAGS/s:-O1::' \
-e "/^PKG_DOC_DIR/s:=.*:= /usr/share/doc/${PF}:" \