commit:     9d0ca4747f1a2fdd8cfdd4fb8d78610d4379a469
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 23 06:08:45 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jan 23 06:09:43 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d0ca474

x11-libs/libXt: fix typo in header

Signed-off-by: Sam James <sam <AT> gentoo.org>

 x11-libs/libXt/files/libXt-1.3.1-ppc.patch | 27 +++++++++++++++++++++++
 x11-libs/libXt/libXt-1.3.1-r1.ebuild       | 35 ++++++++++++++++++++++++++++++
 2 files changed, 62 insertions(+)

diff --git a/x11-libs/libXt/files/libXt-1.3.1-ppc.patch 
b/x11-libs/libXt/files/libXt-1.3.1-ppc.patch
new file mode 100644
index 000000000000..55f5ff0fcfc7
--- /dev/null
+++ b/x11-libs/libXt/files/libXt-1.3.1-ppc.patch
@@ -0,0 +1,27 @@
+https://gitlab.freedesktop.org/xorg/lib/libxt/-/commit/c058592b4de3522e13dbe6f4fa631802da7a6f0c
+
+From c058592b4de3522e13dbe6f4fa631802da7a6f0c Mon Sep 17 00:00:00 2001
+From: Niveditha Rau <niveditha....@oracle.com>
+Date: Mon, 30 Dec 2024 00:02:22 +0000
+Subject: [PATCH] Fix mismatched paren
+
+Part-of: <https://gitlab.freedesktop.org/xorg/lib/libxt/-/merge_requests/72>
+---
+ include/X11/Xtos.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/include/X11/Xtos.h b/include/X11/Xtos.h
+index 599dbe2..91b956f 100644
+--- a/include/X11/Xtos.h
++++ b/include/X11/Xtos.h
+@@ -64,7 +64,7 @@ SOFTWARE.
+     defined(__s390x__) || \
+     (defined(__hppa__) && defined(__LP64__)) || \
+     defined(__amd64__) || defined(amd64) || \
+-    defined(__powerpc64__))
++    defined(__powerpc64__)
+ #define LONG64
+ #endif
+ 
+-- 
+GitLab

diff --git a/x11-libs/libXt/libXt-1.3.1-r1.ebuild 
b/x11-libs/libXt/libXt-1.3.1-r1.ebuild
new file mode 100644
index 000000000000..f714c7614f95
--- /dev/null
+++ b/x11-libs/libXt/libXt-1.3.1-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+XORG_DOC=doc
+XORG_MULTILIB=yes
+inherit xorg-3
+
+DESCRIPTION="X.Org X Toolkit Intrinsics library"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~x64-solaris"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+       >=x11-libs/libICE-1.0.8-r1[${MULTILIB_USEDEP}]
+       >=x11-libs/libSM-1.2.1-r1[${MULTILIB_USEDEP}]
+       >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]"
+DEPEND="${RDEPEND}
+       x11-base/xorg-proto
+       test? ( dev-libs/glib[${MULTILIB_USEDEP}] )"
+
+PATCHES=(
+       "${FILESDIR}"/${P}-ppc.patch
+)
+
+src_configure() {
+       local XORG_CONFIGURE_OPTIONS=(
+               $(use_with doc xmlto)
+               $(use_enable doc specs)
+               $(use_enable test unit-tests)
+               --without-fop
+       )
+       xorg-3_src_configure
+}

Reply via email to