ports/sysutils/grub2-pcbsd/files/patch-include_grub_emu_getroot.h
Kevin Lo 310466c582 sysutils/grub2-pcbsd: fix build with gcc10
Revive grub2-pcbsd and grub2-efi ports.
Thanks to lwhsu for valuable input.
Approved by:	lwhsu
2021-07-06 19:57:08 +08:00

11 lines
478 B
C

--- include/grub/emu/getroot.h.orig 2015-01-23 02:27:45 UTC
+++ include/grub/emu/getroot.h
@@ -44,6 +44,8 @@ char *grub_util_get_grub_dev (const char
#if defined (__FreeBSD__) || defined(__FreeBSD_kernel__)
void grub_util_follow_gpart_up (const char *name, grub_disk_addr_t *off_out,
char **name_out);
+int grub_util_check_geom_label(const char *name);
+const char *grub_util_convert_geom_label_to_dev (const char *name, int *full_path);
#endif
#include <sys/stat.h>