vinix-ports / release-recipes / vinix-desktop-init-x86_64-20261128-1.patch
35 lines · 35 sloc · 2.12 KB · 63f2feef9f437184a04c046485ecca44fe307bb0
Raw
1--- a/vinix-desktop-init/PKGBUILD.vile
2+++ b/vinix-desktop-init/PKGBUILD.vile
3@@ -4 +4 @@
4-revision := if arm { "7f173671b6d1f1a8ceda2c693eadbb0eb58c4aa4" } else { "c34a6707e1d8d3a23d0b1bfe6e6dbb16290e4f75" }
5+revision := "c34a6707e1d8d3a23d0b1bfe6e6dbb16290e4f75"
6@@ -11 +11 @@
7- #:pkgver, if arm { "20261130" } else { "20261128" },
8+ #:pkgver, "20261128",
9@@ -26,2 +26,2 @@
10- list("4ee336414b9b1228be8f4ac8ea691914e71bf5ae34e9db40da66741ea4ffbded",
11- "84b1cce0288d66b83b3eb663fe80de1a1da2c1d429c002e4aabdf08d009692e4")
12+ list("e57193f3e7f0f6f578c0dae03789bf0616c88c7b1fb87c11b141c760a97cce6e",
13+ "18b5d511cd95487c97e71628a5a778ddf24f961e1108ecbd0bd8e6583a1b50f6")
14@@ -35,3 +35 @@
15- host-libraries := get-environment-variable("VINIX_HOST_LIBRARY_PATH")
16- run("env", string-append("LIBRARY_PATH=", if string?(host-libraries) { host-libraries } else { "" }),
17- string-append(support, "/run-v-tool.sh"), string-append(init, "/compile_init.v"),
18+ run(string-append(support, "/run-v-tool.sh"), string-append(init, "/compile_init.v"),
19@@ -39,4 +37 @@
20- ; The raw syscall implementation supplies its own stdio and memory ABI.
21- ; Use Clang's freestanding headers for stdint and stddef.
22- run("clang", "--target=aarch64-linux-none", "-nostdlibinc",
23- "-nostdlib", "-ffreestanding", "-O2",
24+ run("clang", "--target=aarch64-linux-none", "-nostdlib", "-ffreestanding", "-O2",
25@@ -46 +41 @@
26- run("ld.lld", "-m", "aarch64elf", "--nostdlib", "-static", "--gc-sections", "-z", "max-page-size=16384",
27+ run("ld.lld", "-m", "aarch64elf", "--nostdlib", "-static", "--gc-sections",
28@@ -48,5 +42,0 @@
29- run("v", "-os", "linux", "-arch", "arm64", "-gc", "none", "-manualfree",
30- "-d", "no_backtrace", "-d", "no_segfault_handler", "-o", "desktop-watchdog.c",
31- string-append(init, "/desktopwatch/main.v"))
32- run("vinix-cc", "-D_GNU_SOURCE", "-O2", "-static", "-fno-stack-protector",
33- "-o", "desktop-watchdog", "desktop-watchdog.c")
34@@ -62 +51,0 @@
35- run("install", "-Dm755", "desktop-watchdog", string-append(pkgdir(), "/usr/libexec/vinix-desktop-watchdog"))
36