311a96bc94
Cherry-picked from Qt upstream (commit e488f852fa18c2afc2842a88eff8f66ad4105a45). Original patch source: https://download.qt.io/official_releases/qt/6.11/CVE-2026-6210-qtsvg-6.11.diff Fix: Test types of nodes before downcasting them. A bad cast in QSvgMarker::drawHelper led to endless recursion resulting in a heap overflow. While fixing that, another similar case was also fixed.
40 lines
1.1 KiB
TOML
40 lines
1.1 KiB
TOML
[source]
|
|
tar = "https://ftp.gnu.org/gnu/diffutils/diffutils-3.12.tar.xz"
|
|
blake3 = "363fb378c85505b43f91d6e7c7382d571f2f7b47e4d334c18d522baf55599d18"
|
|
patches = ["diffutils.patch"]
|
|
script = """
|
|
autoreconf
|
|
"""
|
|
|
|
[build]
|
|
template = "custom"
|
|
dependencies = ["relibc"]
|
|
script = """
|
|
DYNAMIC_INIT
|
|
export HELP2MAN=true
|
|
export MAKEINFO=true
|
|
COOKBOOK_CONFIGURE_FLAGS+=(
|
|
gt_cv_locale_fr=false
|
|
gt_cv_locale_fr_utf8=false
|
|
gt_cv_locale_ja=false
|
|
gt_cv_locale_tr_utf8=false
|
|
gt_cv_locale_zh_CN=false
|
|
gl_cv_func_working_mktime=yes
|
|
ac_cv_func_getprogname=yes
|
|
gl_cv_header_working_stddef_h=yes
|
|
gl_cv_header_working_stdint_h=yes
|
|
gl_cv_header_sys_types_h=yes
|
|
ac_cv_header_wchar_h=yes
|
|
ac_cv_header_stdio_h=yes
|
|
ac_cv_path_HELP2MAN=true
|
|
ac_cv_path_MAKEINFO=true
|
|
)
|
|
cookbook_configure
|
|
"${COOKBOOK_MAKE}" -j "${COOKBOOK_MAKE_JOBS}" HELP2MAN=true MAKEINFO=true
|
|
"${COOKBOOK_MAKE}" install DESTDIR="${COOKBOOK_STAGE}" HELP2MAN=true MAKEINFO=true
|
|
rm -f "${COOKBOOK_STAGE}/usr/share/info/dir"
|
|
"""
|
|
|
|
[package]
|
|
description = "GNU diffutils 3.12 (gnulib bypass enabled)"
|