From 14b8bbd54067df58ab67d18c6d975c2d1b31870b Mon Sep 17 00:00:00 2001 From: Brett A C Sheffield Date: Wed, 5 Aug 2026 07:51:39 +0000 Subject: [PATCH] x11-libs/libXfont2: add 2.0.9 - fixes for CVE-2026-44950, CVE-2026-59679 - fontserver support now disabled by default (upstream change) Bug: https://bugs.gentoo.org/980377 Part-of: https://codeberg.org/gentoo/gentoo/pulls/1620 Merges: https://codeberg.org/gentoo/gentoo/pulls/1620 Signed-off-by: Brett A C Sheffield Signed-off-by: Matt Turner --- x11-libs/libXfont2/Manifest | 1 + x11-libs/libXfont2/libXfont2-2.0.9.ebuild | 34 +++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 x11-libs/libXfont2/libXfont2-2.0.9.ebuild diff --git a/x11-libs/libXfont2/Manifest b/x11-libs/libXfont2/Manifest index 48104dfeeebf6..94653917c654e 100644 --- a/x11-libs/libXfont2/Manifest +++ b/x11-libs/libXfont2/Manifest @@ -1 +1,2 @@ DIST libXfont2-2.0.8.tar.xz 474560 BLAKE2B 9764ea6307c1e92a2187b6b2db07aee276e9df4120f05d72a0733607ae19bf968b31a1918c94c01fbf80642f8e55ffbc31c33c96a90f67474a7d0086914d98ff SHA512 e14cc3fa03d7baa4554ee5754ab33f69ac1da3d509c686a5f705fde8cd07772be564d68cc18d9fd0beb5ed7b2f864fcd7f6bf4983f5c0db08a9c747d0e001531 +DIST libXfont2-2.0.9.tar.xz 478844 BLAKE2B aafe0306472f8d9793c66038840cf6485a69ff178af27defff3d3a2787544c0e24b0e237a571a5451bdd396df151ec112c4ffd64e131785e556e3810bdb0112f SHA512 ccd6d6abf6aa814a940d137813dba638f8259c3672abf00808d82df033c1026ae29d40c9068da4f112637338ad0d0fc15818a4afa9369a626c8f17e466b4fa72 diff --git a/x11-libs/libXfont2/libXfont2-2.0.9.ebuild b/x11-libs/libXfont2/libXfont2-2.0.9.ebuild new file mode 100644 index 0000000000000..4e46d78ffebde --- /dev/null +++ b/x11-libs/libXfont2/libXfont2-2.0.9.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +XORG_DOC=doc +XORG_PACKAGE_NAME=libxfont +inherit xorg-3 + +DESCRIPTION="X.Org Xfont library" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos ~x64-solaris" +IUSE="bzip2 truetype" + +RDEPEND="virtual/zlib:= + elibc_glibc? ( || ( >=sys-libs/glibc-2.38 dev-libs/libbsd ) ) + x11-libs/libfontenc + bzip2? ( app-arch/bzip2 ) + truetype? ( >=media-libs/freetype-2 )" +DEPEND="${RDEPEND} + x11-base/xorg-proto + x11-libs/xtrans" + +src_configure() { + local XORG_CONFIGURE_OPTIONS=( + --enable-ipv6 + $(use_enable doc devel-docs) + $(use_with doc xmlto) + $(use_with bzip2) + $(use_enable truetype freetype) + --without-fop + ) + xorg-3_src_configure +}