Summary: | app-emulation/mol-0.9.70.ebuild (Update) LARGE_FILES and FILE_OFFSET_BITS 64 support | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Florian Steinel <Florian.Steinel> |
Component: | New packages | Assignee: | PPC Porters <ppc> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | Florian.Steinel |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 80093, 80095 | ||
Bug Blocks: | |||
Attachments: |
largerthan2gb.diff
Possibly fixed patch? Using a bit more of F. Steinel's patch, try again! |
Description
Florian Steinel
2005-01-30 09:36:21 UTC
I created this updated ebuild while reading http://lists.terrasoftsolutions.com/pipermail/mol-general/2004-November/003542.html . - The new use flag qemu is doesn't work right now. - >2GB diskimage support is working. (source is http://lists.maconlinux.org/pipermail/mol-devel/2003-November.txt ) --- src/lib/llseek.c~bigfile Wed Nov 5 15:57:46 2003 +++ src/lib/llseek.c Wed Nov 5 15:58:47 2003 @@ -21,6 +21,8 @@ #ifdef __linux__ #define BLKGETSIZE _IO(0x12,96) /* from <linux/fs.h> */ +#define _FILE_OFFSET_BITS 64 +#define _LARGE_FILES #endif --------------- Other usefull links: http://soulinfo.com/wiki/index.php/Mol . - for qemu style diskimage patch see http://soulinfo.com/~hugang/mol/qemu_block/patch-14/tgz/mol--mainline--0.9.70--patch-14.tgz I've added the 2G+ big filesystem image patch to mol-0.9.71_pre1, but I'm not too sure about the qemu patch. I think I'll leave that one out for now and if anyone asks for it we'll direct them to the site. Thanks for the patches! i'm sorry, but your patch doesn't work. I get an "fstat: file to large" error, while starting mol. I'll attach my patch (for mol-0.9.70.ebuild), these "LARGE_FILES and FILE_OFFSET_BITS 64" maybe in some files overkill but it doesn't do any harm. Created attachment 51976 [details, diff]
largerthan2gb.diff
I can't test this patch personally, I don't have the disk space. Did the first patch work before? Does your new patch work now? From the thread on the MOL ml, it looks like the first patch should be sufficient. It's only applied to the unstable version of MOL. Are you sure you used that? Created attachment 52846 [details, diff]
Possibly fixed patch?
Created attachment 52847 [details, diff]
Using a bit more of F. Steinel's patch, try again!
Seems to work correctly now, thanks to scoobydu for testing. |