[MacPorts] #52582: ghc @7.8.3_4: RTS incompatibility with Sierra

MacPorts noreply at macports.org
Tue Dec 27 06:20:29 CET 2016


#52582: ghc @7.8.3_4: RTS incompatibility with Sierra
-------------------------+-----------------------------
  Reporter:  shanemikel  |      Owner:  neverpanic
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.3.4
Resolution:              |   Keywords:  sierra haspatch
      Port:  ghc         |
-------------------------+-----------------------------

Comment (by sunoterra):

 Replying to [comment:24 rbq]:
 > Could someoneā„¢ please provide noob-proof instructions on how to apply
 the patch?

 https://trac.macports.org/wiki/howto/PatchLocal

 it's pretty much that process, replace `arb` with `ghc` obviously, and do
 not use the "-devel" suffix in your naming.

 instead manually updating source, like in the example, just add this file:
 https://trac.macports.org/raw-attachment/ticket/52582/patch-Fix-GetTime.c
 -on-Darwin-with-clock_gettime.diff
 to your patches (i.e. `cp ~/Dowloads/patch-Fix-GetTime.c-on-Darwin-with-
 clock_gettime.diff $(port dir ghc)/files/` after the indexing of the local
 ports repo is done).

 and patch your Portfile with:
 https://trac.macports.org/raw-attachment/ticket/52582/Portfile.diff
 (`cd $(port dir ghc)` and `patch -p0 < ~/Downloads/Portfile.diff`)

 clean and build to verify.

 NB: if your are installing this as a dependency to pandoc, as i am, just
 re-run your command to install that and let it finish installing ghc;
 otherwise, `sudo port unsetrequested ghc` after you install it.

--
Ticket URL: <https://trac.macports.org/ticket/52582#comment:25>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list