Re: git: dc67e7d3009d - main - lang/gcc11: Fix conflict on libgccjit.h and libgccjig++.h
Date: Sun, 06 Nov 2022 23:00:43 UTC
[ Oops, this is now for reference. Looks like my mail stuck while you folks came to the same conclusion. :-) ] On Fri, 4 Nov 2022, Lorenzo Salvadore wrote: > I have fixed the patch, but emacs still fails to find the header, so > instead of committing the fix I have put it in Phabricator for review > and improvements: > > https://reviews.freebsd.org/D37266 > > As I suggest in the review, it might be better to change the emacs port > so that they search the header in the right directory We have this saving: "If the mountain wonąt go to the prophet, then the prophet must go to the mountain." Instead of teaching the emacs build system a new location for include files, how about putting those include files where the emacs build system (via GCC) looks for it? The output of `gcc11 -v -E -` should list all directories in the include path; hopefully one is suitable? Gerald