Changes between Initial Version and Version 1 of Ticket #52582, comment 25


Ignore:
Timestamp:
Dec 28, 2016, 1:57:13 AM (8 years ago)
Author:
sunoterra (Michael Stilson)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #52582, comment 25

    initial v1  
    22> Could someone™ please provide noob-proof instructions on how to apply the patch?
    33
     4== v ^(edit)
    45https://trac.macports.org/wiki/howto/PatchLocal
    56
    67it's pretty much that process, replace `arb` with `ghc` obviously, and do not use the "-devel" suffix in your naming.
    78
    8 instead manually updating source, like in the example, just add this file:
     9instead of manually updating source, like in the example, just add this file:
    910https://trac.macports.org/raw-attachment/ticket/52582/patch-Fix-GetTime.c-on-Darwin-with-clock_gettime.diff
    1011to 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).
     
    1617clean and build to verify.
    1718
    18 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.
     19NB: upon successful build, if your are installing this as a dependency of another port, just re-run your command to install that port and let it finish installing ghc; otherwise, if you do install `ghc` before your requested port, then you can `sudo port unsetrequested ghc` after install.