Am 24.01.2018 um 15:08 schrieb Riccardo (Jack) Lucchetti:
On Wed, 24 Jan 2018, Artur T. wrote:
> Sorry Jack but could you or somebody else direct me or give me a hint
> what to do? I've never really used the git system -- despite
> retrieving gretl updates before compiling stuff...
It's very simple, actually. Put the file somewhere (let's say,
/tmp/at.diff), then go to the directory wher you have the gretl source
and issue the following command:
patch -p1 < /tmp/at.diff
That should be it. If you want to undo the patch, so you go back
in,ine with the SF git repo, just do
patch -R -p1 < /tmp/at.diff
Ok, the source files are under /home/at/git/gretl-git/lib/src . Running
the above mentioned command yields
<terminal>
at@ati7:~/git/gretl-git/lib/src$ patch -R -p1 < /home/at/git/at.diff
(Stripping trailing CRs from patch; use --binary to disable.)
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/lib/src/geneval.c b/lib/src/geneval.c
|index 28fc61f0d..01250c37a 100644
|--- a/lib/src/geneval.c
|+++ b/lib/src/geneval.c
--------------------------
File to patch: geneval.c
patching file geneval.c
Hunk #1 succeeded at 8296 with fuzz 2 (offset -10 lines).
(Stripping trailing CRs from patch; use --binary to disable.)
can't find file to patch at input line 20
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/lib/src/gretl_foreign.c b/lib/src/gretl_foreign.c
|index 1356bb2e4..310e8a2a1 100644
|--- a/lib/src/gretl_foreign.c
|+++ b/lib/src/gretl_foreign.c
--------------------------
File to patch: gretl_foreign.c
patching file gretl_foreign.c
Hunk #3 succeeded at 2612 (offset 4 lines).
</terminal>
Both files gretl_foreign.c and geneval.c were renamed by adding *.orig
at the end. However, re-running the script does not add any further
information in the terminal window. I also re-compiled gretl (using just
"./configure", "make", "sudo make install").
Thanks for your effort! I am just wondering that nobody else seems to
face this issue...
Artur