Re: method does not change the output v.surf.bspline

Markus Neteler <[email protected]>
Newsgroups gmane.comp.gis.grass.devel
Message-ID <CALFmHhvmnOPK0xK-VtZrpKCVcb0NqijKwDGi4=hmSEJvocPEuQ@mail.gmail.com>
Hi Paulo,

On Mon, Jun 22, 2020 at 4:19 PM Paulo van Breugel
<[email protected]> 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
_______________________________________________
grass-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/grass-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.