summaryrefslogtreecommitdiff
path: root/sys-boot/grub/files/grub-2.02_beta2-libzfs.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2016-03-24 10:02:04 +0000
committerV3n3RiX <venerix@rogentos.ro>2016-03-24 10:02:04 +0000
commit0ee1b38bf6cd303d09003b08fdfd50876d394d5b (patch)
treef1203508990b84338122590555432b3123c3b81b /sys-boot/grub/files/grub-2.02_beta2-libzfs.patch
parentd3b9de9e515a63d6b780435704aa2d1430b36ad5 (diff)
import grub from gentoo
Diffstat (limited to 'sys-boot/grub/files/grub-2.02_beta2-libzfs.patch')
-rw-r--r--sys-boot/grub/files/grub-2.02_beta2-libzfs.patch19
1 files changed, 19 insertions, 0 deletions
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 <floppym@gentoo.org>
+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 = {