File trunc.patch of Package xstereograph
--- libsx-2.03/src/colorsel.c.orig 2015-06-28 14:14:45.765337556 +0100 +++ libsx-2.03/src/colorsel.c 2015-06-28 14:16:12.564387032 +0100 @@ -63,6 +63,7 @@ static void show_best_match(Widget w, CSelData *cdata); */ +#define trunc my_trunc int trunc(float v) { return (int)(0.5+v);