commit: e74d9fe25bc44d91108682fca997c7ae9c986de5
Author: Mats Lidell <matsl <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 11 16:59:20 2026 +0000
Commit: Mats Lidell <matsl <AT> gentoo <DOT> org>
CommitDate: Sun Jan 11 17:03:42 2026 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e74d9fe2
app-editors/xemacs: restore XAW_INTERNATIONALIZATION
Signed-off-by: Mats Lidell <matsl <AT> gentoo.org>
app-editors/xemacs/files/xemacs-21.5.36-xaw3d.patch | 13 +++++++++++++
.../{xemacs-21.5.36-r5.ebuild => xemacs-21.5.36-r6.ebuild} | 3 ++-
2 files changed, 15 insertions(+), 1 deletion(-)
diff --git a/app-editors/xemacs/files/xemacs-21.5.36-xaw3d.patch
b/app-editors/xemacs/files/xemacs-21.5.36-xaw3d.patch
new file mode 100644
index 000000000000..06115f4310d8
--- /dev/null
+++ b/app-editors/xemacs/files/xemacs-21.5.36-xaw3d.patch
@@ -0,0 +1,13 @@
+diff --git a/src/config.h.in b/src/config.h.in
+--- a/src/config.h.in
++++ b/src/config.h.in
+@@ -826,6 +826,9 @@
+ #undef LWLIB_WIDGETS_ATHENA
+ #undef HAVE_ATHENA_3D
+ #undef HAVE_ATHENA_I18N
++#ifdef HAVE_ATHENA_I18N
++#define XAW_INTERNATIONALIZATION 1
++#endif
+
+ /* Other things that can be disabled by configure. */
+ #undef HAVE_MENUBARS
diff --git a/app-editors/xemacs/xemacs-21.5.36-r5.ebuild
b/app-editors/xemacs/xemacs-21.5.36-r6.ebuild
similarity index 98%
rename from app-editors/xemacs/xemacs-21.5.36-r5.ebuild
rename to app-editors/xemacs/xemacs-21.5.36-r6.ebuild
index 9c71caa62cdc..57bce4932c09 100644
--- a/app-editors/xemacs/xemacs-21.5.36-r5.ebuild
+++ b/app-editors/xemacs/xemacs-21.5.36-r6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -65,6 +65,7 @@ src_prepare() {
eapply "${FILESDIR}/${P}-configure-postgresql.patch"
eapply "${FILESDIR}/${P}-berkdb-5.3.patch"
eapply "${FILESDIR}/${P}-cus-dep.patch"
+ eapply "${FILESDIR}/${P}-xaw3d.patch"
eapply_user
eautoconf