summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-09-23 11:03:19 +0000
committerMike Frysinger <vapier@gentoo.org>2006-09-23 11:03:19 +0000
commit349ab21494181f6b5532c119479872bdf3c37942 (patch)
treeaffab38394012710a699c6fed136899415ea1026 /sys-apps/rlocate
parentAdded ~ppc64; bug #148689 (diff)
downloadgentoo-2-349ab21494181f6b5532c119479872bdf3c37942.tar.gz
gentoo-2-349ab21494181f6b5532c119479872bdf3c37942.tar.bz2
gentoo-2-349ab21494181f6b5532c119479872bdf3c37942.zip
Add support for 2.6.18+ via utsversion.h #147567 by Tobias Klausmann.
(Portage version: 2.1.2_pre1)
Diffstat (limited to 'sys-apps/rlocate')
-rw-r--r--sys-apps/rlocate/ChangeLog6
-rw-r--r--sys-apps/rlocate/files/rlocate-0.5.2-utsversion.patch16
-rw-r--r--sys-apps/rlocate/rlocate-0.5.2.ebuild3
3 files changed, 23 insertions, 2 deletions
diff --git a/sys-apps/rlocate/ChangeLog b/sys-apps/rlocate/ChangeLog
index d031e452d6c5..74a261c01055 100644
--- a/sys-apps/rlocate/ChangeLog
+++ b/sys-apps/rlocate/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-apps/rlocate
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/rlocate/ChangeLog,v 1.17 2006/09/16 22:21:52 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/rlocate/ChangeLog,v 1.18 2006/09/23 11:03:19 vapier Exp $
+
+ 23 Sep 2006; Mike Frysinger <vapier@gentoo.org>
+ +files/rlocate-0.5.2-utsversion.patch, rlocate-0.5.2.ebuild:
+ Add support for 2.6.18+ via utsversion.h #147567 by Tobias Klausmann.
16 Sep 2006; Mike Frysinger <vapier@gentoo.org>
+files/rlocate-0.5.2-no-devfs.patch, rlocate-0.5.2.ebuild:
diff --git a/sys-apps/rlocate/files/rlocate-0.5.2-utsversion.patch b/sys-apps/rlocate/files/rlocate-0.5.2-utsversion.patch
new file mode 100644
index 000000000000..9bfdd1755aa8
--- /dev/null
+++ b/sys-apps/rlocate/files/rlocate-0.5.2-utsversion.patch
@@ -0,0 +1,16 @@
+http://bugs.gentoo.org/147567
+
+--- configure
++++ configure
+@@ -3721,6 +3721,11 @@
+ #endif
+
+ #include "$kerneldir/include/linux/version.h"
++
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,18)
++# include "$kerneldir/include/linux/utsversion.h"
++#endif
++
+ int
+ main ()
+ {
diff --git a/sys-apps/rlocate/rlocate-0.5.2.ebuild b/sys-apps/rlocate/rlocate-0.5.2.ebuild
index 25033778088b..30038007dbd6 100644
--- a/sys-apps/rlocate/rlocate-0.5.2.ebuild
+++ b/sys-apps/rlocate/rlocate-0.5.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/rlocate/rlocate-0.5.2.ebuild,v 1.2 2006/09/16 22:21:52 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/rlocate/rlocate-0.5.2.ebuild,v 1.3 2006/09/23 11:03:19 vapier Exp $
inherit eutils linux-mod
@@ -30,6 +30,7 @@ src_unpack() {
cd "${S}"
epatch "${FILESDIR}"/${PN}-0.5.2-build.patch
epatch "${FILESDIR}"/${PN}-0.5.2-no-devfs.patch
+ epatch "${FILESDIR}"/${PN}-0.5.2-utsversion.patch
}
src_compile() {