From bbefb5d06a087e495104b1c385ba06b69c3f5504 Mon Sep 17 00:00:00 2001 From: Robin Gloster Date: Mon, 27 Feb 2017 13:39:11 +0100 Subject: [PATCH] warmux: fix build --- pkgs/games/warmux/gcc-fix.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/games/warmux/gcc-fix.patch b/pkgs/games/warmux/gcc-fix.patch index 913b912af7d..6b683aa782f 100644 --- a/pkgs/games/warmux/gcc-fix.patch +++ b/pkgs/games/warmux/gcc-fix.patch @@ -45,7 +45,7 @@ Author: Robin Gloster { if (!show) - return false; -+ return nullptr; ++ return NULL; const std::vector& items = poly->GetItem(); WeaponMenuItem * tmp; Interface::GetInstance()->SetCurrentOverflyWeapon(NULL);