File fix-gcc6.patch of Package xye

diff -Nur xye-0.12.2/src/xsb_level.cpp new/src/xsb_level.cpp
--- xye-0.12.2/src/xsb_level.cpp	2012-09-15 22:21:06.000000000 +0200
+++ new/src/xsb_level.cpp	2016-07-07 23:43:13.282643185 +0200
@@ -784,7 +784,7 @@
 
 bool FromXyeDFS(int* mem, unsigned char x, unsigned char y)
 {
-    static const unsigned char dx[4] = {0,0,-1,1}, dy[4] = {-1,1,0,0};
+    static const unsigned char dx[4] = {0,0,255,1}, dy[4] = {255,1,0,0};
     int &res =  mem[y*XYE_HORZ+x];
     if( res==0)
     {
openSUSE Build Service is sponsored by