I had the luxury of having to convert a 4.4GB nero image to ISO format. Unfortunately, nrg2iso does not support large-ass files. But that's where I come in to save the day. Supplied is an updated ebuild, as well as a patch that allows you to convert any DVD nrg image to ISO (udf). I have tested this on a PS2 game backup that I have made for myself (really!) and it works like a charm. It only enables support for large files when the dvd useflag is enabled. Reproducible: Always Steps to Reproduce: 1. emerge nrg2iso 2. run 'nrg2iso huge_ass_image.nrg output.iso' Actual Results: On a 2.4 kernel, it stops after 2GB. On a 2.6 kernel, it tells me huge_ass_image.nrg doesn't even exist! Expected Results: A sweet complete output.iso that I can burn with any cdr program.
Created attachment 30596 [details] Updated ebuild Adds extra CFLAGS for largefile support. -D__USE_LARGEFILE64 -D__USE_FILE_OFFSET64 -D_FILE_OFFSET_BITS Only added when 'dvd' useflag is set.
Created attachment 30597 [details, diff] nrg2iso-0.2-largefile.patch Changes int types to off_t where appropriate. This way the size is not limited to 2GB.
0.2-r1 is now in portage, thanks