On Thu, Mar 15, 2018 at 07:40:35PM +1100, Jonathan Gray wrote:
> Take a change from xlockmore 5.55 so xlockmore will build with llvm
> 6.0.0.
Ok matthieu@
>
> Index: modes/glx/i_spline.cc
> ===================================================================
> RCS file: /cvs/xenocara/app/xlockmore/modes/glx/i_spline.cc,v
> retrieving revision 1.1.1.1
> diff -u -p -r1.1.1.1 i_spline.cc
> --- modes/glx/i_spline.cc 26 Nov 2006 11:08:51 -0000 1.1.1.1
> +++ modes/glx/i_spline.cc 15 Mar 2018 06:46:24 -0000
> @@ -90,7 +90,10 @@ void printSpline(FILE *fp, TwoJetVec v00
> print_point(fp, v11, 1, 0, 0, 0, binary);
>
> if (binary) {
> - float sts[8] = {s0,t0, s1,t0, s0,t1, s1,t1};
> + float sts[8] = {(float) s0, (float) t0,
> + (float) s1, (float) t0,
> + (float) s0, (float) t1,
> + (float) s1, (float) t1};
> (void) fwrite(&sts, sizeof(float), 8, fp);
> } else {
> (void) fprintf(fp, "%g %g %g %g %g %g %g %g\n\n",
--
Matthieu Herrb