File grub2-ppc64-cas-new-scope.patch of Package grub2

--- a/grub-core/normal/main.c
+++ b/grub-core/normal/main.c
@@ -283,10 +283,11 @@
       int boot;
       boot = 0;
       char *script;
+      char *dummy[1] = { NULL };
       script = grub_malloc (1024);
       if (! grub_ieee1275_cas_reboot (script))
         {
-          if (! grub_script_execute_sourcecode (script))
+          if (! grub_script_execute_new_scope (script, 0, dummy))
             boot = 1;
         }
       grub_free (script);
openSUSE Build Service is sponsored by