component(developer/golang-123): Add Component
[oi-userland.git] / components / desktop / xscreensaver / patches / 14-papercube.patch
blobe5d20b8ef13b6feb13bce3d7c89dd9858c218beb
1 --- xscreensaver-6.08/hacks/glx/papercube.c.orig 2023-08-02 20:45:42.291318997 +0200
2 +++ xscreensaver-6.08/hacks/glx/papercube.c 2023-10-26 22:08:16.913136092 +0200
3 @@ -858,7 +858,7 @@
4 double angle = 90.0;
5 double fold = FOLD_DURATION / speed;
6 double pause = PAUSE_DURATION / speed;
7 - double sun = SUN_DURATION / speed;
8 + double xxxsun = SUN_DURATION / speed;
9 double spin = SPIN_DURATION / speed;
10 double spin_rps = SPIN_RPS;
11 double time = 0;
12 @@ -866,7 +866,7 @@
13 struct field_move *field_move;
14 int i;
16 - set_move(&moves->sunrise, time, sun, 0.0, brightness);
17 + set_move(&moves->sunrise, time, xxxsun, 0.0, brightness);
19 time = moves->sunrise.stop + pause;
21 @@ -901,12 +901,12 @@
23 time = field_move->move.stop + pause;
25 - set_move(&moves->spin, time, time + spin + sun,
26 - 0.0, (spin + sun) * spin_rps * 360);
27 + set_move(&moves->spin, time, time + spin + xxxsun,
28 + 0.0, (spin + xxxsun) * spin_rps * 360);
30 time += spin;
32 - set_move(&moves->sunset, time, time + sun, brightness, 0.0);
33 + set_move(&moves->sunset, time, time + xxxsun, brightness, 0.0);
35 moves->stage = Sunrise;
36 set_move_time_big_bang(&moves->move_time);