[MacPorts] #45011: octave-3.8.1 build fails with Xcode 6
MacPorts
noreply at macports.org
Mon Sep 29 05:24:55 PDT 2014
#45011: octave-3.8.1 build fails with Xcode 6
-----------------------+------------------------------------------
Reporter: arthur@… | Owner: michaelld@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.1
Resolution: | Keywords: yosemite, mavericks, Xcode 6
Port: octave |
-----------------------+------------------------------------------
Comment (by michaelld@…):
@mike at podiumbound.com: Ryan's patch is now included in what MacPorts
provides; you just have to update the ports info. We generally recommend
you do this by updating "port" itself, via:
{{{
sudo port selfupdate
}}}
If you know that "port" has recently been updated, you can just
synchronize the ports info:
{{{
sudo port sync
}}}
To answer your specific question:
(1) download the patch from this ticket, by clicking on the (hopefully
obvious) download icon next to the filename, or the text "Original Format"
if you are viewing the actual item itself. Let's say you do a standard
download of the file "octave.diff" into ~/Downloads/.
(2) in this case, the patch is for a Portfile itself, which is contained
the ports tree that MacPorts uses. You get to Octave's location via
{{{
cd `port dir octave`
}}}
and if you do a directory listing there (for example: "ls -l") you'll see
a file "Portfile". To do the patch (assuming it is not already in place),
you'll issue:
{{{
sudo patch -p0 < ~/Downloads/octave.diff
}}}
assuming all is well, then "patch" will tell you the file was patched.
Please remember that if you do this type of patching, port a "sync" or
"selfupdate' will generally result in a conflict for the port in issue
that you'll need to resolve -- when port is being updated, it provides a
means for you to select which version to use or to delay decisions.
I hope the above answers your questions. If not, please email me off
ticket.
--
Ticket URL: <https://trac.macports.org/ticket/45011#comment:34>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list