Changes between Version 1 and Version 2 of Ticket #52582, comment 25
- Timestamp:
- Dec 31, 2016, 7:09:43 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #52582, comment 25
v1 v2 3 3 4 4 == v ^(edit) 5 https://trac.macports.org/wiki/howto/PatchLocal5 wiki:howto/PatchLocal 6 6 7 7 it's pretty much that process, replace `arb` with `ghc` obviously, and do not use the "-devel" suffix in your naming. 8 8 9 9 instead of manually updating source, like in the example, just add this file: 10 https://trac.macports.org/raw-attachment/ticket/52582/patch-Fix-GetTime.c-on-Darwin-with-clock_gettime.diff10 raw-attachment:patch-Fix-GetTime.c-on-Darwin-with-clock_gettime.diff 11 11 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). 12 12 13 13 and patch your Portfile with: 14 https://trac.macports.org/raw-attachment/ticket/52582/Portfile.diff14 raw-attachment:Portfile.diff 15 15 (`cd $(port dir ghc)` and `patch -p0 < ~/Downloads/Portfile.diff`) 16 16