Blame SOURCES/0284-arm64-setjmp-Add-missing-license-macro.patch

d41074
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
d41074
From: dann frazier <dann.frazier@canonical.com>
d41074
Date: Thu, 21 May 2015 10:28:48 -0600
d41074
Subject: [PATCH] arm64/setjmp: Add missing license macro
d41074
d41074
Including the setjmp module in an arm64-efi image will cause it to
d41074
immediately exit with an "incompatible license" error.
d41074
d41074
The source file includes a GPLv3+ boilerplate, so fix this by declaring a
d41074
GPLv3+ license using the GRUB_MOD_LICENSE macro.
d41074
d41074
Signed-off-by: dann frazier <dann.frazier@canonical.com>
d41074
---
d41074
 grub-core/lib/arm64/setjmp.S | 2 ++
d41074
 1 file changed, 2 insertions(+)
d41074
d41074
diff --git a/grub-core/lib/arm64/setjmp.S b/grub-core/lib/arm64/setjmp.S
d41074
index adaafe40f71..eabfd99b296 100644
d41074
--- a/grub-core/lib/arm64/setjmp.S
d41074
+++ b/grub-core/lib/arm64/setjmp.S
d41074
@@ -17,8 +17,10 @@
d41074
  */
d41074
 
d41074
 #include <grub/symbol.h>
d41074
+#include <grub/dl.h>
d41074
 
d41074
 	.file	"setjmp.S"
d41074
+GRUB_MOD_LICENSE "GPLv3+"
d41074
 	.text
d41074
 
d41074
 /*