[MacPorts] #68705: webkit2-gtk @2.28.2: config.rb: in `<top (required)>': undefined method `exists?' for File:Class (NoMethodError)
MacPorts
noreply at macports.org
Tue Apr 30 08:12:40 UTC 2024
#68705: webkit2-gtk @2.28.2: config.rb: in `<top (required)>': undefined method
`exists?' for File:Class (NoMethodError)
---------------------------+----------------------
Reporter: barracuda156 | Owner: mascguy
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords: sonoma
Port: webkit2-gtk |
---------------------------+----------------------
Comment (by JDLH):
Replying to [comment:4 ryandesign]:
> ...make it compatible with ruby 3.2.0 and later by applying the upstream
patch:
>
>
https://github.com/WebKit/WebKit/commit/b7ac5d0ccc7ca3ed6bf4f2d40fde60247ce87d3c
To amuse myself, I did this. It was a backport, actually. The above commit
is for webkit 2.38.0, and MacPorts is on webkit 2.28.2. Thus I agree with
this:
> Better still, update the port to a newer version that already includes
that fix.
12.
But in case it helps others, I have attached a diff file with that patch,
and a Portfile for webkit2-gtk @2.28.2_9 (revision 9) which applies that
patch. It compiles on macOS Monterey 12.7.4 on aarch64.
--
Ticket URL: <https://trac.macports.org/ticket/68705#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list