public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: x11-misc/lineak-defaultplugin/files/, x11-misc/lineak-defaultplugin/
@ 2023-01-05  7:47 Sam James
  0 siblings, 0 replies; only message in thread
From: Sam James @ 2023-01-05  7:47 UTC (permalink / raw
  To: gentoo-commits

commit:     9547993f99fcdad6e6a15cbd83a7fc36560408a9
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jan  5 07:45:07 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jan  5 07:45:28 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9547993f

x11-misc/lineak-defaultplugin: fix configure w/ clang 16

Closes: https://bugs.gentoo.org/879781
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../lineak-defaultplugin-0.9.0-configure-clang16.patch     | 14 ++++++++++++++
 ....9.0-r2.ebuild => lineak-defaultplugin-0.9.0-r3.ebuild} |  5 +++--
 2 files changed, 17 insertions(+), 2 deletions(-)

diff --git a/x11-misc/lineak-defaultplugin/files/lineak-defaultplugin-0.9.0-configure-clang16.patch b/x11-misc/lineak-defaultplugin/files/lineak-defaultplugin-0.9.0-configure-clang16.patch
new file mode 100644
index 000000000000..17818dc42cf5
--- /dev/null
+++ b/x11-misc/lineak-defaultplugin/files/lineak-defaultplugin-0.9.0-configure-clang16.patch
@@ -0,0 +1,14 @@
+autoreconf fails and it's a trivial fix to the generated configure, so let's
+just patch that instead. This is fixed in autoconf itself in newer versions.
+
+https://bugs.gentoo.org/879781
+--- a/configure
++++ b/configure
+@@ -7685,6 +7685,7 @@ cat confdefs.h >>conftest.$ac_ext
+ cat >>conftest.$ac_ext <<_ACEOF
+ /* end confdefs.h.  */
+ #include <ctype.h>
++#include <stdlib.h>
+ #if ((' ' & 0x0FF) == 0x020)
+ # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
+ # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))

diff --git a/x11-misc/lineak-defaultplugin/lineak-defaultplugin-0.9.0-r2.ebuild b/x11-misc/lineak-defaultplugin/lineak-defaultplugin-0.9.0-r3.ebuild
similarity index 89%
rename from x11-misc/lineak-defaultplugin/lineak-defaultplugin-0.9.0-r2.ebuild
rename to x11-misc/lineak-defaultplugin/lineak-defaultplugin-0.9.0-r3.ebuild
index 823e10812860..3c59326074c8 100644
--- a/x11-misc/lineak-defaultplugin/lineak-defaultplugin-0.9.0-r2.ebuild
+++ b/x11-misc/lineak-defaultplugin/lineak-defaultplugin-0.9.0-r3.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 MY_P=${P/.0/}
 
@@ -26,6 +26,7 @@ DOCS=( AUTHORS README )
 PATCHES=(
 	"${FILESDIR}"/${P}-gcc43.patch
 	"${FILESDIR}"/${P}-gcc47.patch
+	"${FILESDIR}"/${P}-configure-clang16.patch
 )
 
 src_prepare() {


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2023-01-05  7:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-05  7:47 [gentoo-commits] repo/gentoo:master commit in: x11-misc/lineak-defaultplugin/files/, x11-misc/lineak-defaultplugin/ Sam James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox