diff --git a/x11-libs/gtk3/gtk3-3.24.30.recipe b/x11-libs/gtk3/gtk3-3.24.30.recipe index a121d4e58..48c030d67 100644 --- a/x11-libs/gtk3/gtk3-3.24.30.recipe +++ b/x11-libs/gtk3/gtk3-3.24.30.recipe @@ -100,13 +100,16 @@ BUILD() runConfigure ./configure \ --disable-gtk-doc --with-included-immodules=xim + # build once, this will fail + make $jobArgs || true + # patch disable some things in typefuncs.inc - make -C gtk gtktypefuncs.inc sed -i '/gdk_x11_device_manager_xi2_get_type/s@^@//@' gtk/gtktypefuncs.inc sed -i '/gdk_x11_device_xi2_get_type/s@^@//@' gtk/gtktypefuncs.inc sed -i '/gdk_x11_gl_context_get_type/s@^@//@' gtk/gtktypefuncs.inc - make $jobArgs -o gtk/gtktypefuncs.inc + # now build with the patched files + make $jobArgs } INSTALL()