wok-current view lilo/stuff/lilo.gcc10.patch @ rev 25788
Mass update to fix build with gcc10 and up others packages
| author | Stanislas Leduc <shann@slitaz.org> |
|---|---|
| date | Tue Sep 30 07:43:04 2025 +0000 (3 weeks ago) |
| parents | |
| children |
line source
1 Description: Fix ftbfs with GCC-10
3 Author: Ryan Finnie <ryan@finnie.org>
4 Bug-Debian: https://bugs.debian.org/957490
5 Forwarded: no
7 ---
9 --- a/src/raid.h
10 +++ b/src/raid.h
11 @@ -8,7 +8,7 @@
12 * in the source directory.
13 */
15 -int do_md_install, ndisk, md_bios;
16 +extern int ndisk, md_bios;
18 int raid_setup(void);
19 void raid_final(void);
20 --- a/src/bsect.c
21 +++ b/src/bsect.c
22 @@ -54,8 +54,6 @@
23 #endif
26 -int boot_dev_nr;
27 -
28 static BOOT_SECTOR bsect,bsect_orig;
29 static MENUTABLE menuparams;
30 static DESCR_SECTORS descrs;
31 --- a/src/identify.c
32 +++ b/src/identify.c
33 @@ -19,7 +19,6 @@
34 #include "common.h"
35 #include "cfg.h"
37 -char *identify;
38 static char *opt;
39 static char *first, *dflt;
40 static int idefault;
41 --- a/src/raid.c
42 +++ b/src/raid.c
43 @@ -41,7 +41,7 @@
44 static int raid_bios[MAX_RAID+1];
45 static int device;
46 enum {MD_NULL=0, MD_PARALLEL, MD_MIXED, MD_SKEWED};
47 -int do_md_install, ndisk, md_bios;
48 +int ndisk, md_bios;
49 static char *raid_list[MAX_RAID];
50 static int list_index[MAX_RAID];
51 static int nlist, faulty;