From 54ebbe1146919dbb474dd25e6f48dbf3bca0e2ca Mon Sep 17 00:00:00 2001 From: waddlesplash Date: Tue, 18 Jan 2022 23:10:41 -0500 Subject: [PATCH] gtk3: Reorder sections in BUILD in attempt to fix the build. --- x11-libs/gtk3/gtk3-3.24.30.recipe | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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()