summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-02-06 20:02:58 +0000
committerMike Frysinger <vapier@gentoo.org>2005-02-06 20:02:58 +0000
commit39b5e12df2a6c0fce8b882a8b2f9ab296afff62c (patch)
tree36f9cd6aba655786e504e2b633de01dad54c0f26 /sys-apps/util-linux
parentforce wrapper for now (diff)
downloadgentoo-2-39b5e12df2a6c0fce8b882a8b2f9ab296afff62c.tar.gz
gentoo-2-39b5e12df2a6c0fce8b882a8b2f9ab296afff62c.tar.bz2
gentoo-2-39b5e12df2a6c0fce8b882a8b2f9ab296afff62c.zip
Touchup the swapon patch to work properly.
(Portage version: 2.0.51-r15)
Diffstat (limited to 'sys-apps/util-linux')
-rw-r--r--sys-apps/util-linux/ChangeLog8
-rw-r--r--sys-apps/util-linux/files/digest-util-linux-2.12p-r1 (renamed from sys-apps/util-linux/files/digest-util-linux-2.12p)0
-rw-r--r--sys-apps/util-linux/files/util-linux-2.12p-swapon-check-symlinks.patch7
-rw-r--r--sys-apps/util-linux/util-linux-2.12p-r1.ebuild (renamed from sys-apps/util-linux/util-linux-2.12p.ebuild)2
4 files changed, 12 insertions, 5 deletions
diff --git a/sys-apps/util-linux/ChangeLog b/sys-apps/util-linux/ChangeLog
index 1746773e87b3..9dbdbcce93ab 100644
--- a/sys-apps/util-linux/ChangeLog
+++ b/sys-apps/util-linux/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-apps/util-linux
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/ChangeLog,v 1.99 2005/01/14 13:49:48 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/ChangeLog,v 1.100 2005/02/06 20:02:58 vapier Exp $
+
+*util-linux-2.12p-r1 (06 Feb 2005)
+
+ 06 Feb 2005; Mike Frysinger <vapier@gentoo.org>
+ files/util-linux-2.12p-swapon-check-symlinks.patch:
+ Touchup the swapon patch to work properly.
14 Jan 2005; Jeremy Huddleston <eradicator@gentoo.org>
util-linux-2.12i-r1.ebuild, util-linux-2.12p.ebuild:
diff --git a/sys-apps/util-linux/files/digest-util-linux-2.12p b/sys-apps/util-linux/files/digest-util-linux-2.12p-r1
index 6fc34d2bb6e1..6fc34d2bb6e1 100644
--- a/sys-apps/util-linux/files/digest-util-linux-2.12p
+++ b/sys-apps/util-linux/files/digest-util-linux-2.12p-r1
diff --git a/sys-apps/util-linux/files/util-linux-2.12p-swapon-check-symlinks.patch b/sys-apps/util-linux/files/util-linux-2.12p-swapon-check-symlinks.patch
index 31d78594c06a..f421458049f1 100644
--- a/sys-apps/util-linux/files/util-linux-2.12p-swapon-check-symlinks.patch
+++ b/sys-apps/util-linux/files/util-linux-2.12p-swapon-check-symlinks.patch
@@ -1,10 +1,10 @@
---- util-linux-2.12b/mount/swapon.c.orig 2004-10-28 10:02:44.320023600 -0400
-+++ util-linux-2.12b/mount/swapon.c 2004-10-28 10:02:14.384574000 -0400
+--- util-linux-2.12b/mount/swapon.c
++++ util-linux-2.12b/mount/swapon.c
@@ -7,2 +7,3 @@
#include <stdlib.h>
+#include <sys/param.h>
#include <stdio.h>
-@@ -137,10 +138,26 @@
+@@ -137,10 +138,27 @@
static int
is_in_proc_swaps(const char *fname) {
int i;
@@ -22,6 +22,7 @@
+ if (!lstat(fname, &fstatbuf))
+ if (S_ISLNK(fstatbuf.st_mode)) {
+ struct stat swapstatbuf;
++ stat(fname, &fstatbuf);
+ for (i = 0; i < numSwaps; i++)
+ if (swapFiles[i] && !stat(swapFiles[i], &swapstatbuf) && \
+ swapstatbuf.st_rdev == fstatbuf.st_rdev)
diff --git a/sys-apps/util-linux/util-linux-2.12p.ebuild b/sys-apps/util-linux/util-linux-2.12p-r1.ebuild
index 74520523c54e..d5d07c4302e4 100644
--- a/sys-apps/util-linux/util-linux-2.12p.ebuild
+++ b/sys-apps/util-linux/util-linux-2.12p-r1.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-apps/util-linux/util-linux-2.12p.ebuild,v 1.6 2005/01/29 07:01:50 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/util-linux-2.12p-r1.ebuild,v 1.1 2005/02/06 20:02:58 vapier Exp $
inherit eutils flag-o-matic toolchain-funcs