diff -Nru node-webfont-11.4.0+dfsg2+~cs35.7.26/debian/changelog node-webfont-11.4.0+dfsg2+~cs35.7.26/debian/changelog --- node-webfont-11.4.0+dfsg2+~cs35.7.26/debian/changelog 2025-04-16 22:58:14.000000000 +0200 +++ node-webfont-11.4.0+dfsg2+~cs35.7.26/debian/changelog 2025-07-22 14:52:03.000000000 +0200 @@ -1,3 +1,9 @@ +node-webfont (11.4.0+dfsg2+~cs35.7.26-13ubuntu2) questing; urgency=medium + + * Disable lto to fix build of wawoff2 + + -- Gianfranco Costamagna Tue, 22 Jul 2025 14:52:03 +0200 + node-webfont (11.4.0+dfsg2+~cs35.7.26-13) unstable; urgency=medium * Disable svgicons2svgfont and wawoff2 build-time test except on amd64; diff -Nru node-webfont-11.4.0+dfsg2+~cs35.7.26/debian/patches/build-wawoff2.patch node-webfont-11.4.0+dfsg2+~cs35.7.26/debian/patches/build-wawoff2.patch --- node-webfont-11.4.0+dfsg2+~cs35.7.26/debian/patches/build-wawoff2.patch 2025-04-16 22:58:14.000000000 +0200 +++ node-webfont-11.4.0+dfsg2+~cs35.7.26/debian/patches/build-wawoff2.patch 2025-07-22 14:52:03.000000000 +0200 @@ -20,7 +20,7 @@ +# emcc cannot handle stack protection, see +# https://github.com/emscripten-core/emscripten/issues/17030 +# so we have to disable it -+EMOPTS = $(shell DEB_BUILD_MAINT_OPTIONS=hardening=-stackprotector,-branch dpkg-buildflags --export=sh) ++EMOPTS = $(shell DEB_BUILD_MAINT_OPTIONS="hardening=-stackprotector,-branch optimize=-lto" dpkg-buildflags --export=sh) + +CARGS = --bind -s NODEJS_CATCH_REJECTION=0 -s NODEJS_CATCH_EXIT=0 -s ALLOW_MEMORY_GROWTH=1 -s SINGLE_FILE=1 -O3 +