From 61270ab31f594d9b8a697012ff99aece9f1c3a83 Mon Sep 17 00:00:00 2001 From: Mats Lidell Date: Wed, 10 May 2023 23:02:01 +0200 Subject: app-editors/xemacs: use freewnn with gcc-13 Closes: https://bugs.gentoo.org/905434 Signed-off-by: Mats Lidell --- app-editors/xemacs/xemacs-21.4.24-r10.ebuild | 4 +++- app-editors/xemacs/xemacs-21.5.34-r13.ebuild | 4 +++- app-editors/xemacs/xemacs-21.5.9999.ebuild | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) (limited to 'app-editors') diff --git a/app-editors/xemacs/xemacs-21.4.24-r10.ebuild b/app-editors/xemacs/xemacs-21.4.24-r10.ebuild index cf1b3d10906b..7d1252abe2f3 100644 --- a/app-editors/xemacs/xemacs-21.4.24-r10.ebuild +++ b/app-editors/xemacs/xemacs-21.4.24-r10.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # Note: xemacs currently does not work with position independent code @@ -175,6 +175,8 @@ src_configure() { # see bug 576512 append-cflags -fgnu89-inline + use freewnn && append-cppflags "-I. -I${ESYSROOT}/usr/include/wnn" + # Don't use econf because it uses options which this configure # script does not understand (like --host). ./configure ${myconf} ${EXTRA_ECONF} \ diff --git a/app-editors/xemacs/xemacs-21.5.34-r13.ebuild b/app-editors/xemacs/xemacs-21.5.34-r13.ebuild index d257f4c26662..51b3f8f5095c 100644 --- a/app-editors/xemacs/xemacs-21.5.34-r13.ebuild +++ b/app-editors/xemacs/xemacs-21.5.34-r13.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # Note: xemacs currently does not work with position independent code @@ -168,6 +168,8 @@ src_configure() { use debug && myconf="${myconf} --with-debug" || myconf="${myconf} --with-optimization --with-cflags-debugging=" + use freewnn && append-cppflags "-I. -I${ESYSROOT}/usr/include/wnn" + econf ${myconf} \ $(use_with gif ) \ $(use_with gpm ) \ diff --git a/app-editors/xemacs/xemacs-21.5.9999.ebuild b/app-editors/xemacs/xemacs-21.5.9999.ebuild index c164858b40dd..f2e01acd2ca1 100644 --- a/app-editors/xemacs/xemacs-21.5.9999.ebuild +++ b/app-editors/xemacs/xemacs-21.5.9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # Note: xemacs currently does not work with position independent code @@ -160,6 +160,8 @@ src_configure() { use debug && myconf="${myconf} --with-debug" || myconf="${myconf} --with-optimization --with-cflags-debugging=" + use freewnn && append-cppflags "-I. -I${ESYSROOT}/usr/include/wnn" + econf ${myconf} \ $(use_with gif ) \ $(use_with gpm ) \ -- cgit v1.2.3-65-gdbad