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

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