summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Jezak <josejx@gentoo.org>2005-02-20 04:59:31 +0000
committerJoseph Jezak <josejx@gentoo.org>2005-02-20 04:59:31 +0000
commitef2a42ac73a3e97c52a60d716ed91f728df64b45 (patch)
tree441baaa9494372f50b7d78a65799f28894ecfaed /app-emulation/mol
parentMarked ppc stable for bug #82545. (diff)
downloadgentoo-2-ef2a42ac73a3e97c52a60d716ed91f728df64b45.tar.gz
gentoo-2-ef2a42ac73a3e97c52a60d716ed91f728df64b45.tar.bz2
gentoo-2-ef2a42ac73a3e97c52a60d716ed91f728df64b45.zip
Added big filesystem image patch from bug #80098.
(Portage version: 2.0.51-r15)
Diffstat (limited to 'app-emulation/mol')
-rw-r--r--app-emulation/mol/ChangeLog6
-rw-r--r--app-emulation/mol/files/mol-0.9.71_pre1-big-filesystem.patch11
-rw-r--r--app-emulation/mol/mol-0.9.71_pre1.ebuild5
3 files changed, 20 insertions, 2 deletions
diff --git a/app-emulation/mol/ChangeLog b/app-emulation/mol/ChangeLog
index 04cfe3fe51b1..715f9919cb11 100644
--- a/app-emulation/mol/ChangeLog
+++ b/app-emulation/mol/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-emulation/mol
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/mol/ChangeLog,v 1.44 2005/01/28 20:06:05 hansmi Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/mol/ChangeLog,v 1.45 2005/02/20 04:59:31 josejx Exp $
+
+ 20 Feb 2005; Joseph Jezak <josejx@gentoo.org>
+ +files/mol-0.9.71_pre1-big-filesystem.patch, mol-0.9.71_pre1.ebuild:
+ Added big filesystem image patch from bug #80098.
28 Jan 2005; Michael Hanselmann <hansmi@gentoo.org>
+files/mol-0.9.71_pre1-linux-2.6.9.patch, mol-0.9.70.ebuild,
diff --git a/app-emulation/mol/files/mol-0.9.71_pre1-big-filesystem.patch b/app-emulation/mol/files/mol-0.9.71_pre1-big-filesystem.patch
new file mode 100644
index 000000000000..5be5b4fdc2c2
--- /dev/null
+++ b/app-emulation/mol/files/mol-0.9.71_pre1-big-filesystem.patch
@@ -0,0 +1,11 @@
+--- src/lib/llseek.c.old 2005-02-19 20:12:10.897625032 +1100
++++ src/lib/llseek.c 2005-02-19 20:12:41.027044664 +1100
+@@ -23,6 +23,8 @@
+ #endif
+ #ifdef __linux__
+ #define BLKGETSIZE _IO(0x12,96) /* from <linux/fs.h> */
++#define _FILE_OFFSET_BITS 64
++#define _LARGE_FILES
+ #endif
+
+ ulong
diff --git a/app-emulation/mol/mol-0.9.71_pre1.ebuild b/app-emulation/mol/mol-0.9.71_pre1.ebuild
index 9a5294998ca2..7b5b35a1abe1 100644
--- a/app-emulation/mol/mol-0.9.71_pre1.ebuild
+++ b/app-emulation/mol/mol-0.9.71_pre1.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/app-emulation/mol/mol-0.9.71_pre1.ebuild,v 1.3 2005/01/28 20:06:05 hansmi Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/mol/mol-0.9.71_pre1.ebuild,v 1.4 2005/02/20 04:59:31 josejx Exp $
inherit flag-o-matic eutils
@@ -39,6 +39,9 @@ src_unpack() {
# Fixes bug 79428
epatch ${FILESDIR}/${P}-linux-2.6.9.patch
+ # Adds big filesystem (>2Gb) image support, bug #80098
+ epatch ${FILESDIR}/${P}-big-filesystem.patch
+
# dhcp config fix and show dchpd messages on starting mol
sed -i "s:#ddns-update-style:ddns-update-style:g" Doc/config/dhcpd-mol.conf || die
sed -i "s:DHCPD\ -q\ -cf:DHCPD\ -cf:g" Doc/config/tunconfig || die