Files
takana/recipes/incoming-kde/libxml2.toml
T

30 lines
1.1 KiB
TOML

# libxml2 2.13.9 — VARIANTE PIC + SHARED para la campaña KDE (ADR 0011, Capa 0). La canónica
# (recipes/libxml2.toml) es static-sin-PIC ⇒ libqalculate (y otros consumidores .so) fallan al linkearla
# ("R_X86_64_PC32 ... xmlFree ... recompile with -fPIC"). Aquí --enable-shared (libxml2.so) + PIC. Override
# incoming-kde (mismo name). compiler=gcc (zig miscompila). Sin python/lzma; CON zlib no (mantener mínimo).
name = "libxml2"
version = "2.13.9"
[source]
tarball = "https://download.gnome.org/sources/libxml2/2.13/libxml2-2.13.9.tar.xz"
sha256 = "a2c9ae7b770da34860050c309f903221c67830c86e4a7e760692b803df95143a"
patches = ["CVE-2026-6732.patch", "CVE-2026-6732-test.patch"]
[build]
compiler = "gcc"
target = "x86_64-linux-musl"
link = "dynamic"
flags = []
[build.phases]
configure = '''
./configure \
--build=$CBUILD --host=$CHOST \
--prefix=/usr \
--enable-shared --disable-static --with-pic \
--without-python --without-lzma --without-zlib \
--with-legacy
'''
compile = 'make'
install = "make DESTDIR=/out install && find /out -name '*.la' -delete"