On 02/18/2018 12:14 PM, Neil Bothwick wrote: > On Sun, 18 Feb 2018 12:01:54 -0700, the...@sys-concept.com wrote: > >> I've tried this propose patch. >> https://621532.bugs.gentoo.org/attachment.cgi?id=511304 >> >> save it to a file patch.patch >> went to directory: >> cd /usr/portage/net-libs/webkit-gtk/ >> patch -p0 < patch.patch >> >> It ask me what file I want to patch, I entered: >> JSStringRef.h >> >> run: >> ebuild /usr/portage/net-libs/webkit-gtk/webkit-gtk-2.4.11-r200.ebuild >> digest >> >> But it still fails to compile. >> Am I applying patch the same way. > > The patch is to be applied to the source files, not the ebuild > > mkdir /etc/portage/patches/net-libs/webkit-gtk/webkit-gtk-2.4.11-r200 > then copy the patch file to that directory and portage will apply it to > the source after unpacking.
Did not work. ll /etc/portage/patches/net-libs/webkit-gtk/webkit-gtk-2.4.11-r200 total 4 -rw-r--r-- 1 thelma thelma 525 Feb 18 10:54 patch.patch emerge webkit-gtk produces same error message. make[1]: Leaving directory '/var/tmp/portage/net-libs/webkit-gtk-2.4.11-r200/work/webkitgtk-2.4.11' make: *** [GNUmakefile:25837: all] Error 2 * ERROR: net-libs/webkit-gtk-2.4.11-r200::gentoo failed (compile phase): * emake failed Thelma