diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-11-17 20:57:16 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-11-17 20:57:16 +0900 |
| commit | afd774019410871ec6ed2f7babbb3d9d339b7118 (patch) | |
| tree | 4f5b97807fe6db1d9a01fd72f1da4534cb7fc677 /internal | |
| parent | 4ecad5f1d3443038706014783ad2d2db8b1efa00 (diff) | |
internal/rosa/package: error-standalone
Required by many poorly written programs relying on this glibcism.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal')
| -rw-r--r-- | internal/rosa/package/error-standalone.az | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/internal/rosa/package/error-standalone.az b/internal/rosa/package/error-standalone.az new file mode 100644 index 00000000..d89b6b1a --- /dev/null +++ b/internal/rosa/package/error-standalone.az @@ -0,0 +1,26 @@ +package error-standalone { + description = "standalone <error.h> implementation intended for musl"; + website = "https://hacktivis.me/git/error-standalone"; + + version# = "2.0"; + source = remoteGit { + url = "https://anongit.hacktivis.me/git/error-standalone.git"; + tag = version; + checksum = "qUwsBQk_kTeF9ae_OFvqICv5L64kxWw0JIpMUj8AyVxyxb6-mRhvD-Ks1LrLSV7l"; + }; + + enterSource = true; + writable = true; + exec = make { + chdir = false; + configure = nil; + make = [ + "PREFIX="+prefix, + `CFLAGS="${CFLAGS:-} -fPIC"`, + ]; + install = "make install-static PREFIX="+prefix+" DESTDIR=/work"; + check = [ "test-error" ]; + }; + + unlikely = true; +} |
