I applied the patch using the “patch” command, and then I recompiled: ./configure --with-xwidgets --with-json --with-native-compilation make make install (Notice, no --without-native-image-api.) If what I did was correct, then the result is as follows: - Emacs does not crash. Good! - The images have strange sizes. Oops! See the attached screenshot. R+