diff --git a/lib/compilation-prepare.sh b/lib/compilation-prepare.sh index 442d0b79e..f350ba335 100644 --- a/lib/compilation-prepare.sh +++ b/lib/compilation-prepare.sh @@ -78,8 +78,8 @@ compilation_prepare() if linux-version compare "${version}" ge 5.4; then display_alert "Adding" "Kernel splash file" "info" - if linux-version compare "${version}" lt 5.8; then - process_patch_file "${SRC}/patch/misc/0001-bootsplash-pre-5.8.10.patch" "applying" + if linux-version compare "${version}" ge 5.8 && linux-version compare "${version}" lt 5.9 ; then + process_patch_file "${SRC}/patch/misc/0001-bootsplash-5.8.patch" "applying -- assumes patchlevel 5.8.10 or above" else process_patch_file "${SRC}/patch/misc/0001-bootsplash.patch" "applying" fi diff --git a/patch/misc/0001-bootsplash-pre-5.8.10.patch b/patch/misc/0001-bootsplash-5.8.patch similarity index 99% rename from patch/misc/0001-bootsplash-pre-5.8.10.patch rename to patch/misc/0001-bootsplash-5.8.patch index d5835e5ca..4d9d733bf 100644 --- a/patch/misc/0001-bootsplash-pre-5.8.10.patch +++ b/patch/misc/0001-bootsplash-5.8.patch @@ -581,7 +581,7 @@ index 000000000000..8c22ff92ce24 +} + +static void dummy_cursor(struct vc_data *vc, struct fb_info *info, int mode, -+ int softback_lines, int fg, int bg) ++ int fg, int bg) +{ + ; +} diff --git a/patch/misc/0001-bootsplash.patch b/patch/misc/0001-bootsplash.patch index 4d9d733bf..d5835e5ca 100644 --- a/patch/misc/0001-bootsplash.patch +++ b/patch/misc/0001-bootsplash.patch @@ -581,7 +581,7 @@ index 000000000000..8c22ff92ce24 +} + +static void dummy_cursor(struct vc_data *vc, struct fb_info *info, int mode, -+ int fg, int bg) ++ int softback_lines, int fg, int bg) +{ + ; +}