From 4595c17a733089caf28946dbfb459e67bdf96a1c Mon Sep 17 00:00:00 2001 From: Ophestra Date: Mon, 26 Oct 2026 01:04:26 +0900 Subject: internal/rosa/package/musl: move patches to shared source This avoids having two source artifacts and also possible future divergence if a patch modifies some header. Signed-off-by: Ophestra --- internal/rosa/llvm_test.go | 2 +- internal/rosa/package/musl/package.az | 8 +------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/internal/rosa/llvm_test.go b/internal/rosa/llvm_test.go index 547611f9..83182ddc 100644 --- a/internal/rosa/llvm_test.go +++ b/internal/rosa/llvm_test.go @@ -8,7 +8,7 @@ import ( ) func TestLLVMInputs(t *testing.T) { - const wantInputCount = 635 + const wantInputCount = 624 _, llvm := rosa.MustLoad(rosa.H("llvm")) var n int diff --git a/internal/rosa/package/musl/package.az b/internal/rosa/package/musl/package.az index 6eb01fd8..91f7b47b 100644 --- a/internal/rosa/package/musl/package.az +++ b/internal/rosa/package/musl/package.az @@ -8,6 +8,7 @@ package musl-source { checksum = "WtWb_OV_XxLDAB5NerOL9loLlHVadV00MmGk65PPBU1evaolagoMHfvpZp_vxEzS"; compress = gzip; }; + patches = [ "ldso-rosa.patch" ]; } package musl-headers { @@ -15,9 +16,6 @@ package musl-headers { source = musl-source; - // expected to be writable in copies - chmod = true; - libc = false; env = [ "LDFLAGS=" + earlyLDFLAGS, @@ -39,10 +37,6 @@ package musl { anitya = 11688; source = musl-source; - patches = [ "ldso-rosa.patch" ]; - - // expected to be writable in copies - chmod = true; libc = false; env = [ -- cgit v1.3.1