From dc6f889ba964f16d679edccc42b36715f998fb05 Mon Sep 17 00:00:00 2001
From: "B. Watson" <yalhcru@gmail.com>
Date: Wed, 21 Jun 2017 12:23:06 -0400
Subject: games/glbsp: Fix build for -current.

Signed-off-by: B. Watson <yalhcru@gmail.com>
---
 games/glbsp/glbsp.SlackBuild | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'games')

diff --git a/games/glbsp/glbsp.SlackBuild b/games/glbsp/glbsp.SlackBuild
index ee793882ac066..495b5663cb4f9 100644
--- a/games/glbsp/glbsp.SlackBuild
+++ b/games/glbsp/glbsp.SlackBuild
@@ -6,6 +6,7 @@
 
 # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
 
+# 20170621 bkw: fix build for -current (post-14.2)
 # 20151126 bkw: fix build for -current (preparing for 14.2)
 
 PRGNAM=glbsp
@@ -67,6 +68,9 @@ fi
 
 sed -i "s/-O2/$SLKCFLAGS/" Makefile.unx
 
+# Fix build on gcc7
+sed -i 's,return *false,return 0,' nodeview/path.cc
+
 make -f Makefile.unx
 make -f Makefile.unx install \
   INSTALL_PREFIX=$PKG/usr \
-- 
cgit v1.2.3