[MacPorts] #15707: vobcopy lfs not enabled
MacPorts
noreply at macports.org
Mon Jun 30 04:51:51 PDT 2008
#15707: vobcopy lfs not enabled
------------------------------+---------------------------------------------
Reporter: tom.duck at dal.ca | Owner: macports-tickets at lists.macosforge.org
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.6.0
Resolution: | Keywords: vobcopy lfs
------------------------------+---------------------------------------------
Comment (by 0booo5b02 at sneakemail.com):
I've been having a look and these are my conclusions:
* {{{HAS_LARGEFILE}}} is not defined no matter what options are given to
configure (on OS X)
* There is no need for all the {{{O_LARGEFILE}}} juggling in the source.
A regular open is sufficient (I tried this experimentally and it worked)
* The code dealing with these issues is a mess
Given all the previous points this is a bug from the upstream program.
What I propose is this:
I will make a patch that FAPP sets {{{HAS_LARGEFILE}}} but all open calls
will be made without {{{O_LARGEFILE}}}).
This will result in the {{{-l}}} being available but only really working
on systems in which large file support doesn't depend on special options
on open. On systems where that does happen a run time error will probably
occur.
I don't know in what systems this port will be compiled so the previous
solution might break on some.
Unless someone objects I'll write this patch to the source-code and attach
it here.
This project could really use something like autotools.
--
Ticket URL: <http://trac.macports.org/ticket/15707#comment:5>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list