Index: emacs-29.4/src/Makefile.in =================================================================== --- emacs-29.4.orig/src/Makefile.in +++ emacs-29.4/src/Makefile.in @@ -640,7 +640,7 @@ endif ifeq ($(DUMPING),pdumper) $(pdmp): emacs$(EXEEXT) $(lispsource)/loaddefs.el $(lispsource)/loaddefs.elc - LC_ALL=C $(RUN_TEMACS) -batch $(BUILD_DETAILS) -l loadup --temacs=pdump \ + LC_ALL=C MAGICK_THREAD_LIMIT=1 timeout 10m taskset 1 dettrace -- $(RUN_TEMACS) -batch $(BUILD_DETAILS) -l loadup --temacs=pdump \ --bin-dest $(BIN_DESTDIR) --eln-dest $(ELN_DESTDIR) cp -f $@ $(bootstrap_pdmp) endif @@ -883,7 +883,7 @@ NATIVE_COMPILATION_AOT = @NATIVE_COMPILA if test $(SYSTEM_TYPE) = cygwin; then \ find $@ -name '*.eln' | rebase -v -O -T -; \ fi; \ - LC_ALL=C $(RUN_TEMACS) -batch $(BUILD_DETAILS) -l loadup --temacs=pdump \ + LC_ALL=C MAGICK_THREAD_LIMIT=1 timeout 10m taskset 1 dettrace -- $(RUN_TEMACS) -batch $(BUILD_DETAILS) -l loadup --temacs=pdump \ --bin-dest $(BIN_DESTDIR) --eln-dest $(ELN_DESTDIR) \ && cp -f emacs$(EXEEXT) bootstrap-emacs$(EXEEXT) \ && cp -f $(pdmp) $(bootstrap_pdmp); \ Index: emacs-29.4/src/image.c =================================================================== --- emacs-29.4.orig/src/image.c +++ emacs-29.4/src/image.c @@ -10747,6 +10747,7 @@ and `imagemagick-types-inhibit'. */) size_t i; imagemagick_initialize (); + /* ex = AcquireExceptionInfo (); imtypes = GetMagickList ("*", &numf, ex); DestroyExceptionInfo (ex); @@ -10759,6 +10760,7 @@ and `imagemagick-types-inhibit'. */) } MagickRelinquishMemory (imtypes); + */ return Fnreverse (typelist); }