fox: fix build with clang >=4 and possibly other versions
This commit is contained in:
13
pkgs/development/libraries/fox/clang.patch
Normal file
13
pkgs/development/libraries/fox/clang.patch
Normal file
@@ -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<nhand){
|
||||
Reference in New Issue
Block a user