From 0ee1b38bf6cd303d09003b08fdfd50876d394d5b Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 24 Mar 2016 10:02:04 +0000 Subject: import grub from gentoo --- sys-boot/grub/files/grub-2.02_beta2-libzfs.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 sys-boot/grub/files/grub-2.02_beta2-libzfs.patch (limited to 'sys-boot/grub/files/grub-2.02_beta2-libzfs.patch') diff --git a/sys-boot/grub/files/grub-2.02_beta2-libzfs.patch b/sys-boot/grub/files/grub-2.02_beta2-libzfs.patch new file mode 100644 index 00000000..d76a903c --- /dev/null +++ b/sys-boot/grub/files/grub-2.02_beta2-libzfs.patch @@ -0,0 +1,19 @@ +commit 6ba983559dcffa0fa69c7fc861b5a16b4877a92c +Author: Mike Gilbert +Date: Sat Jan 18 19:41:15 2014 +0100 + + * Makefile.util.def: Link grub-ofpathname with zfs libs. + +diff --git a/Makefile.util.def b/Makefile.util.def +index 83df212..a286a89 100644 +--- a/Makefile.util.def ++++ b/Makefile.util.def +@@ -384,7 +384,7 @@ program = { + ldadd = libgrubgcry.a; + ldadd = libgrubkern.a; + ldadd = grub-core/gnulib/libgnu.a; +- ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBGEOM)'; ++ ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; + }; + + program = { -- cgit v1.2.3