Merge commit '8a245d5c1800627af4cefa99162a89c7a46d8842'

Update grub-extras to fix build failure with GCC 9.
This commit is contained in:
Colin Watson 2019-11-08 08:09:57 +00:00
commit 777c8d2b97
11 changed files with 46 additions and 25 deletions

View File

@ -1,3 +0,0 @@
**/.deps-core
**/.dirstamp
Makefile.core.am

View File

@ -0,0 +1,3 @@
.deps-core
.dirstamp
/Makefile.core.am

View File

@ -758,13 +758,23 @@ static void set_mode(vbios_map * map, cardinal mode, cardinal x, cardinal y, car
vbios_modeline_type2 * modeline = &res->modelines[j]; vbios_modeline_type2 * modeline = &res->modelines[j];
if (modeline->x1 == xprev && modeline->y1 == yprev) { if (modeline->x1 == xprev && modeline->y1 == yprev) {
unsigned long clock;
word hsyncstart, hsyncend, hblank;
word vsyncstart, vsyncend, vblank;
modeline->x1 = modeline->x2 = x-1; modeline->x1 = modeline->x2 = x-1;
modeline->y1 = modeline->y2 = y-1; modeline->y1 = modeline->y2 = y-1;
gtf_timings(x, y, freqs[j], &modeline->clock, gtf_timings(x, y, freqs[j], &clock,
&modeline->hsyncstart, &modeline->hsyncend, &hsyncstart, &hsyncend, &hblank,
&modeline->hblank, &modeline->vsyncstart, &vsyncstart, &vsyncend, &vblank);
&modeline->vsyncend, &modeline->vblank); modeline->clock = clock;
modeline->hsyncstart = hsyncstart;
modeline->hsyncend = hsyncend;
modeline->hblank = hblank;
modeline->vsyncstart = vsyncstart;
modeline->vsyncend = vsyncend;
modeline->vblank = vblank;
if (htotal) if (htotal)
modeline->htotal = htotal; modeline->htotal = htotal;
@ -790,13 +800,24 @@ static void set_mode(vbios_map * map, cardinal mode, cardinal x, cardinal y, car
vbios_modeline_type3 * modeline = &res->modelines[j]; vbios_modeline_type3 * modeline = &res->modelines[j];
if (modeline->x1 == xprev && modeline->y1 == yprev) { if (modeline->x1 == xprev && modeline->y1 == yprev) {
unsigned long clock;
word hsyncstart, hsyncend, hblank;
word vsyncstart, vsyncend, vblank;
modeline->x1 = modeline->x2 = x-1; modeline->x1 = modeline->x2 = x-1;
modeline->y1 = modeline->y2 = y-1; modeline->y1 = modeline->y2 = y-1;
gtf_timings(x, y, freqs[j], &modeline->clock, gtf_timings(x, y, freqs[j], &clock,
&modeline->hsyncstart, &modeline->hsyncend, &hsyncstart, &hsyncend, &hblank,
&modeline->hblank, &modeline->vsyncstart, &vsyncstart, &vsyncend, &vblank);
&modeline->vsyncend, &modeline->vblank); modeline->clock = clock;
modeline->hsyncstart = hsyncstart;
modeline->hsyncend = hsyncend;
modeline->hblank = hblank;
modeline->vsyncstart = vsyncstart;
modeline->vsyncend = vsyncend;
modeline->vblank = vblank;
if (htotal) if (htotal)
modeline->htotal = htotal; modeline->htotal = htotal;
else else

View File

@ -1,3 +0,0 @@
**/.deps-core
**/.dirstamp
Makefile.core.am

View File

@ -0,0 +1,3 @@
.deps-core
.dirstamp
/Makefile.core.am

View File

@ -1,5 +0,0 @@
**/.deps-core
**/.deps-util
**/.dirstamp
Makefile.core.am
Makefile.util.am

View File

@ -0,0 +1,5 @@
.deps-core
.deps-util
.dirstamp
/Makefile.core.am
/Makefile.util.am

View File

@ -1,3 +0,0 @@
**/.deps-core
**/.dirstamp
Makefile.core.am

3
debian/grub-extras/lua/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
.deps-core
.dirstamp
/Makefile.core.am

View File

@ -1,3 +0,0 @@
**/.deps-core
**/.dirstamp
Makefile.core.am

View File

@ -0,0 +1,3 @@
.deps-core
.dirstamp
/Makefile.core.am