summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-12-08 03:00:39 +0000
committerMike Frysinger <vapier@gentoo.org>2004-12-08 03:00:39 +0000
commitb3bc39c7c0b6342b557f0dcf86ad0e3f156cd2ad (patch)
treeff51599344597e22e122390bd4a462c12e9d2782 /sys-apps/module-init-tools
parentDon't install the Smooth theme engine, as gnome-themes provides it (diff)
downloadgentoo-2-b3bc39c7c0b6342b557f0dcf86ad0e3f156cd2ad.tar.gz
gentoo-2-b3bc39c7c0b6342b557f0dcf86ad0e3f156cd2ad.tar.bz2
gentoo-2-b3bc39c7c0b6342b557f0dcf86ad0e3f156cd2ad.zip
PATH_MAX can be found in sys/param.h.
Diffstat (limited to 'sys-apps/module-init-tools')
-rw-r--r--sys-apps/module-init-tools/ChangeLog6
-rw-r--r--sys-apps/module-init-tools/files/modutils-2.4.27-PATH_MAX.patch10
-rw-r--r--sys-apps/module-init-tools/module-init-tools-3.1.ebuild9
3 files changed, 20 insertions, 5 deletions
diff --git a/sys-apps/module-init-tools/ChangeLog b/sys-apps/module-init-tools/ChangeLog
index 552928b3e349..b41efe495f68 100644
--- a/sys-apps/module-init-tools/ChangeLog
+++ b/sys-apps/module-init-tools/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-apps/module-init-tools
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/module-init-tools/ChangeLog,v 1.72 2004/11/22 19:09:55 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/module-init-tools/ChangeLog,v 1.73 2004/12/08 03:00:39 vapier Exp $
+
+ 07 Dec 2004; Mike Frysinger <vapier@gentoo.org>
+ +files/modutils-2.4.27-PATH_MAX.patch, module-init-tools-3.1.ebuild:
+ PATH_MAX can be found in sys/param.h.
22 Nov 2004; Mike Frysinger <vapier@gentoo.org>
+files/3.1-modprobe.d.5.bz2, module-init-tools-3.1.ebuild:
diff --git a/sys-apps/module-init-tools/files/modutils-2.4.27-PATH_MAX.patch b/sys-apps/module-init-tools/files/modutils-2.4.27-PATH_MAX.patch
new file mode 100644
index 000000000000..19bafcd2c127
--- /dev/null
+++ b/sys-apps/module-init-tools/files/modutils-2.4.27-PATH_MAX.patch
@@ -0,0 +1,10 @@
+--- modutils-2.4.27/include/util.h.orig 2004-12-07 22:09:38.964691752 -0500
++++ modutils-2.4.27/include/util.h 2004-12-07 22:09:06.051606217 -0500
+@@ -23,6 +23,7 @@
+ Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+
+
++#include <sys/param.h>
+ #include <stdio.h>
+ #include <sys/stat.h>
+
diff --git a/sys-apps/module-init-tools/module-init-tools-3.1.ebuild b/sys-apps/module-init-tools/module-init-tools-3.1.ebuild
index 911099484aea..31e71b7a8a23 100644
--- a/sys-apps/module-init-tools/module-init-tools-3.1.ebuild
+++ b/sys-apps/module-init-tools/module-init-tools-3.1.ebuild
@@ -1,10 +1,8 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/module-init-tools/module-init-tools-3.1.ebuild,v 1.3 2004/12/05 08:38:40 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/module-init-tools/module-init-tools-3.1.ebuild,v 1.4 2004/12/08 03:00:39 vapier Exp $
-# This ebuild includes backwards compatability for stable 2.4 kernels
-
-inherit flag-o-matic eutils gnuconfig
+inherit flag-o-matic eutils gnuconfig toolchain-funcs
MYP="${P/_pre/-pre}"
S="${WORKDIR}/${MYP}"
@@ -39,6 +37,7 @@ src_unpack() {
if ! use no-old-linux ; then
cd ${WORKDIR}/modutils-${MODUTILS_PV}
epatch ${FILESDIR}/modutils-2.4.22-no-above-below.patch
+ epatch ${FILESDIR}/modutils-2.4.27-PATH_MAX.patch
fi
# Support legacy .o modules
@@ -68,6 +67,8 @@ src_unpack() {
}
src_compile() {
+ export BUILDCC="$(tc-getBUILD_CC)"
+
filter-flags -fPIC
if ! use no-old-linux ; then