Last active
August 25, 2020 17:58
-
-
Save miguelmota/8fbe67032ddb5fa48420d5e24a1eb0ac to your computer and use it in GitHub Desktop.
FreeBSD create port patch example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# note: i'm a *bsd noob so there's better ways out there | |
sudo - | |
cd /usr/ports/finance/cointop | |
cp Makefile Makefile.orig | |
vim Makefile | |
make makesum # generate distinfo | |
diff -ruN Makefile.orig Makefile > patch | |
patch < patch # apply patch using unix patch command | |
# bug patch for reference: https://bugs.freebsd.org/bugzilla/attachment.cgi?id=217512 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment