pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: graphics/hugin from pkgsrc-2023Q1 startup crash on netbsd-9 amd64



Following up for the archives... this is a known bad interaction between
wxGTK31 (wxWidgets 3.1.7), which defaults to using EGL, & glew 2.2.0, which
doesn't really support EGL (yet). The workaround is to rebuild wxGTK31 with
--disable-glcanvasegl. I went looking again after discovering the same
breakage with the latest wip/prusaslicer.

Should we commit this in the meantime?

--- a/x11/wxGTK31/Makefile
+++ b/x11/wxGTK31/Makefile
@@ -23,6 +23,7 @@ CONFIGURE_ARGS+=      --with-libpng=sys
 CONFIGURE_ARGS+=       --with-libjpeg=sys
 CONFIGURE_ARGS+=       --with-libtiff=sys
 CONFIGURE_ARGS+=       --with-opengl
+CONFIGURE_ARGS+=       --disable-glcanvasegl
 CONFIGURE_ARGS+=       --with-expat=sys
 CONFIGURE_ARGS+=       --with-zlib=sys
 CONFIGURE_ARGS+=       --with-regex=builtin

glew EGL support appears to be tracked in:
https://github.com/nigels-com/glew/issues/372

Cheers,
-- 
Paul Ripke
"Great minds discuss ideas, average minds discuss events, small minds
 discuss people."
-- Disputed: Often attributed to Eleanor Roosevelt. 1948.


Home | Main Index | Thread Index | Old Index