public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: games-util/glbsp/files/, games-util/glbsp/
@ 2021-06-03  0:17 Ionen Wolkens
  0 siblings, 0 replies; only message in thread
From: Ionen Wolkens @ 2021-06-03  0:17 UTC (permalink / raw
  To: gentoo-commits

commit:     3e3601fa7d66be964e0ec785bcb9e8ad9e15dc6a
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Thu Jun  3 00:14:15 2021 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Thu Jun  3 00:16:03 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e3601fa

games-util/glbsp: fix build with USE=fltk

Closes: https://bugs.gentoo.org/627412
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 games-util/glbsp/files/glbsp-2.24-return-type.patch | 9 +++++++++
 games-util/glbsp/glbsp-2.24.ebuild                  | 1 +
 2 files changed, 10 insertions(+)

diff --git a/games-util/glbsp/files/glbsp-2.24-return-type.patch b/games-util/glbsp/files/glbsp-2.24-return-type.patch
new file mode 100644
index 00000000000..c1ae57cec8d
--- /dev/null
+++ b/games-util/glbsp/files/glbsp-2.24-return-type.patch
@@ -0,0 +1,9 @@
+Fix build failure with USE=fltk due to wrong return type.
+https://bugs.gentoo.org/627412
+--- a/nodeview/path.cc
++++ b/nodeview/path.cc
+@@ -47,3 +47,3 @@
+     PrintWarn("Unable to open path file: %s\n", strerror(errno));
+-    return false;
++    return NULL;
+   }

diff --git a/games-util/glbsp/glbsp-2.24.ebuild b/games-util/glbsp/glbsp-2.24.ebuild
index 79ed87ae128..335f4b3cd57 100644
--- a/games-util/glbsp/glbsp-2.24.ebuild
+++ b/games-util/glbsp/glbsp-2.24.ebuild
@@ -21,6 +21,7 @@ RDEPEND="${DEPEND}"
 
 PATCHES=(
 	"${FILESDIR}"/${P}-ldflags.patch
+	"${FILESDIR}"/${P}-return-type.patch
 )
 
 src_prepare() {


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

only message in thread, other threads:[~2021-06-03  0:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-03  0:17 [gentoo-commits] repo/gentoo:master commit in: games-util/glbsp/files/, games-util/glbsp/ Ionen Wolkens

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