Re: [gtk-osx-users] Glade: can't find file to patch.





On Aug 23, 2020, at 2:08 AM, Pascal <p p14 orange fr> wrote:

Hello,

When building glade, I've got:

*** Checking out glade *** [3/3]
xzcat -d "/opt/src-2020/pkgs/glade-3.22.1.tar.xz" | tar xf -
*** Applying patch https://gitlab.gnome.org/GNOME/gtk-osx/raw/master/patches/glade-3.22.1-xslproc.patch *** 
[3/3]
patch -p1 < "/opt/src-2020/cache/jhbuild/glade-3.22.1-xslproc.patch"
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- Development/gtk-build/gtk-stable-10.13-x86_64/src/glade-3.22.1/man/Makefile.in~  2019-11-07 
15:14:16.000000000 -0800
|+++ Development/gtk-build/gtk-stable-10.13-x86_64/src/glade-3.22.1/man/Makefile.in   2019-11-07 
15:21:01.000000000 -0800
--------------------------
File to patch: /opt/src-2020/glade-3.22.1/man/Makefile.in      ### set file path manually
patching file /opt/src-2020/glade-3.22.1/man/Makefile.in
Hunk #1 succeeded at 364 with fuzz 1.
*** Configuring glade *** [3/3]

It seemed to work before.
Why I have to set the file path manually now?

I don't know why it worked before, as you can see from the path the strip level would have had to be 5 
instead of 1. I just pushed a fixed patch with the git standard "a/man/Makefile.in b/man/Makefile.in".

Thanks.

Regards,
John Ralls



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]