[GRASS-dev] method does not change the output v.surf.bspline
Markus Neteler
neteler at osgeo.org
Mon Jun 22 07:39:20 PDT 2020
Hi Paulo,
On Mon, Jun 22, 2020 at 4:19 PM Paulo van Breugel
<p.vanbreugel at gmail.com> wrote:
>
> Hi Markus,
>
> Thanks. I'll like to try out, but I am not sure how this works. Do I need to recompile grass gis? But how to incorporate the pull request? Sorry, not very familiar with the procedure?
That's pretty easy:
# go to wherever your local source code copy is:
cd grass78_git_src/
# fetch diff of pull request:
wget https://github.com/OSGeo/grass/pull/727.diff
# apply diff
git apply 727.diff
# check for the change
git status
# ... this should show: `modified: vector/v.surf.bspline/main.c`
# compile it
cd vector/v.surf.bspline/
make
# ONLY in case you always do `make install`
# (e.g. I don't since I use it directly from `bin.x86_64-pc-linux-gnu/grass78`)
cd ../../
sudo make install
# to revert the local change (needed after merge of PR, to be able to
locally update):
git apply 727.diff --reverse
HTH,
Markus
PS: see also
https://trac.osgeo.org/grass/wiki/HowToGit#Applyingadifffilelocally
More information about the grass-dev
mailing list