From be1c8c4d634d7b8240e062f3b8d48d8cc0f70e68 Mon Sep 17 00:00:00 2001 From: Daiderd Jordan Date: Wed, 22 Mar 2017 20:08:56 +0100 Subject: fox: fix build with clang >=4 and possibly other versions --- pkgs/development/libraries/fox/clang.patch | 13 +++++++++++++ pkgs/development/libraries/fox/default.nix | 27 +++++++++++++-------------- 2 files changed, 26 insertions(+), 14 deletions(-) create mode 100644 pkgs/development/libraries/fox/clang.patch (limited to 'pkgs/development/libraries/fox') diff --git a/pkgs/development/libraries/fox/clang.patch b/pkgs/development/libraries/fox/clang.patch new file mode 100644 index 00000000000..0ca2ebf0d8d --- /dev/null +++ b/pkgs/development/libraries/fox/clang.patch @@ -0,0 +1,13 @@ +diff --git a/src/FXReactor.cpp b/src/FXReactor.cpp +index 1ecdb45..9058a30 100644 +--- a/src/FXReactor.cpp ++++ b/src/FXReactor.cpp +@@ -452,7 +452,7 @@ FXint FXReactor::processActiveHandles(FXTime block,FXuint flags){ + } + + // Normal case +- if(0<=hand){ ++ if(0==hand){ + + // Any handles active? + if(0