summaryrefslogtreecommitdiff
path: root/repo/acpica
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-08-10 09:16:34 +0100
committerdavidovski <david@davidovski.xyz>2022-08-10 09:16:34 +0100
commitc1d3da9ca87c414100b1cb969e36b8d7d05b9a74 (patch)
tree1cd983a42e1a221991d09783e08c6c162d4be5cf /repo/acpica
parent9a26d3fdc7fca2df6f824b56034ab9a823e898d8 (diff)
added ovmf, lolcat, spice, and squashfstools
Diffstat (limited to 'repo/acpica')
-rw-r--r--repo/acpica/acpica.xibuild25
-rw-r--r--repo/acpica/disable-werror.patch13
-rw-r--r--repo/acpica/iasl.xibuild7
3 files changed, 45 insertions, 0 deletions
diff --git a/repo/acpica/acpica.xibuild b/repo/acpica/acpica.xibuild
new file mode 100644
index 0000000..dcc24ce
--- /dev/null
+++ b/repo/acpica/acpica.xibuild
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+NAME="acpica"
+DESC="ACPI Component Architecture utilities"
+
+MAKEDEPS=" flex bison"
+
+PKG_VER=20210930
+SOURCE="https://acpica.org/sites/acpica/files/acpica-unix-$PKG_VER.tar.gz"
+
+ADDITIONAL="
+disable-werror.patch
+"
+
+prepare () {
+ apply_patches
+}
+
+build() {
+ make
+}
+
+package() {
+ make install DESTDIR="$PKG_DEST"
+}
diff --git a/repo/acpica/disable-werror.patch b/repo/acpica/disable-werror.patch
new file mode 100644
index 0000000..da0c7c8
--- /dev/null
+++ b/repo/acpica/disable-werror.patch
@@ -0,0 +1,13 @@
+diff --git a/generate/unix/Makefile.config b/generate/unix/Makefile.config
+index a1f0313..8c4e8e7 100644
+--- a/generate/unix/Makefile.config
++++ b/generate/unix/Makefile.config
+@@ -194,7 +194,7 @@ CWARNINGFLAGS = \
+ -Wall\
+ -Wbad-function-cast\
+ -Wdeclaration-after-statement\
+- -Werror\
++ -Wno-pointer-to-int-cast\
+ -Wformat=2\
+ -Wmissing-declarations\
+ -Wmissing-prototypes\
diff --git a/repo/acpica/iasl.xibuild b/repo/acpica/iasl.xibuild
new file mode 100644
index 0000000..8cd90ca
--- /dev/null
+++ b/repo/acpica/iasl.xibuild
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+DESC="ACPI ASL compiler"
+
+package () {
+ add_from_main usr/bin/iasl
+}