When choosing CAIRO instead of the default AGG renderer, Gnash fails to build with file not found errors: gtk/gtk.cpp:36:11: fatal error: 'vaapi_utils.h' file not found # include "vaapi_utils.h" ^~~~~~~~~~~~~~~ 4 warnings and 1 error generated. gmake[5]: *** [Makefile:2875: gtk_gnash-gtk.o] Error 1 It can be worked around by adding CPPFLAGS to '-I../libdevice/vaapi'.
(In reply to Ting-Wei Lan from comment #0) Thank you for your report. Could you include your proposed change in comment 0 as an attachment please
(In reply to Kubilay Kocak from comment #1) It is just an ugly workaround which is unlikely to be an aceeptable solution ...
Thanks, I will test and create a patch myself
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=bd1ab07919dc0fb801b9499834731e5f3508e7ad commit bd1ab07919dc0fb801b9499834731e5f3508e7ad Author: Dirk Meyer <dinoex@FreeBSD.org> AuthorDate: 2021-07-19 04:26:48 +0000 Commit: Dirk Meyer <dinoex@FreeBSD.org> CommitDate: 2021-07-19 04:26:48 +0000 graphics/gnash: fix option CAIRO PR: 257246 Reported by: Ting-Wei Lan graphics/gnash/Makefile | 1 + 1 file changed, 1 insertion(+)
Fix committed