diff --git a/srcpkgs/efibootmgr/patches/gcc7-duplicate-const.patch b/srcpkgs/efibootmgr/patches/gcc7-duplicate-const.patch new file mode 100644 index 00000000000..cb222a2cec4 --- /dev/null +++ b/srcpkgs/efibootmgr/patches/gcc7-duplicate-const.patch @@ -0,0 +1,31 @@ +--- src/efibootdump.c 2016-09-27 23:00:36.000000000 +0200 ++++ src/efibootdump.c 2017-05-09 12:33:41.756321719 +0200 +@@ -39,7 +39,7 @@ + uint8_t *optional_data = NULL; + size_t optional_data_len = 0; + uint16_t pathlen; +- const unsigned char const *desc; ++ const unsigned char *desc; + char *raw; + size_t raw_len; + +--- src/efibootmgr.c 2017-05-09 12:32:45.939316598 +0200 ++++ src/efibootmgr.c 2017-05-09 12:34:02.281323682 +0200 +@@ -221,7 +221,7 @@ + list_t *pos; + var_entry_t *entry; + efi_load_option *load_option; +- const unsigned char const *desc; ++ const unsigned char *desc; + + list_for_each(pos, var_list) { + entry = list_entry(pos, var_entry_t, list); +@@ -873,7 +873,7 @@ + { + list_t *pos; + var_entry_t *boot; +- const unsigned char const *description; ++ const unsigned char *description; + efi_load_option *load_option; + efidp dp = NULL; + unsigned char *optional_data = NULL;