summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/acpihalt.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/debian/patches/acpihalt.patch b/debian/patches/acpihalt.patch
index 17ff686..e914672 100644
--- a/debian/patches/acpihalt.patch
+++ b/debian/patches/acpihalt.patch
@@ -2265,6 +2265,35 @@ index 0000000..23df44f
+ grub_puts_ (N_("ACPI shutdown failed"));
+}
+#endif
+diff --git a/i386/i386at/acpihalt.h b/i386/i386at/acpihalt.h
+new file mode 100644
+index 0000000..a4fdb07
+--- /dev/null
++++ b/i386/i386at/acpihalt.h
+@@ -0,0 +1,23 @@
++/*
++ * Copyright (c) 2014 Free Software Foundation.
++ *
++ * This program is free software; you can redistribute it and/or modify
++ * it under the terms of the GNU General Public License as published by
++ * the Free Software Foundation; either version 2 of the License, or
++ * (at your option) any later version.
++ *
++ * This program is distributed in the hope that it will be useful,
++ * but WITHOUT ANY WARRANTY; without even the implied warranty of
++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++ * GNU General Public License for more details.
++ *
++ * You should have received a copy of the GNU General Public License
++ * along with this program. If not, see <http://www.gnu.org/licenses/>.
++ */
++
++#ifndef _ACPIHALT_H_
++#define _ACPIHALT_H_
++
++void grub_acpi_halt (void);
++
++#endif /* _ACPIHALT_H_ */
diff --git a/i386/i386at/grub_glue.c b/i386/i386at/grub_glue.c
new file mode 100644
index 0000000..68a4cb1