aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/package/strace.az
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-05-20 05:57:13 +0900
committerOphestra <cat@gensokyo.uk>2026-05-20 05:57:26 +0900
commit656059278d96c86987c261ae842592617ee17962 (patch)
tree469c3e195589e7f4005477bfe391707472ef4c29 /internal/rosa/package/strace.az
parent1a9974ffdc63e9deb24e4c83f4b4ce566311360f (diff)
internal/rosa/package: migrate remaining trivial packages
The rest are migrated individually. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/package/strace.az')
-rw-r--r--internal/rosa/package/strace.az38
1 files changed, 38 insertions, 0 deletions
diff --git a/internal/rosa/package/strace.az b/internal/rosa/package/strace.az
new file mode 100644
index 00000000..fa10a749
--- /dev/null
+++ b/internal/rosa/package/strace.az
@@ -0,0 +1,38 @@
+package strace {
+ description = "a diagnostic, debugging and instructional userspace utility";
+ website = "https://strace.io";
+ anitya = 4897;
+
+ version* = "6.19";
+ source = remoteFile {
+ url = "https://strace.io/files/"+version+"/strace-"+version+".tar.xz";
+ checksum = "XJFJJ9XLh_1rHS3m_QNjLKzkkBAooE-QT9p9lJNNWowAmd54IJop_fI4-IFtjeeL";
+ };
+
+ early = `
+sed -i 's/off64_t/off_t/g' \
+ tests/readahead.c \
+ tests/sync_file_range.c \
+ tests/sync_file_range2.c
+sed -i 's/unsigned int msg_len;$/uint32_t msg_len;/g' \
+ tests/nlattr.c
+`;
+
+ exec = make {
+ configure = {
+ // tests broken on clang
+ "disable-gcc-Werror";
+
+ "enable-mpers": "no";
+ };
+
+ // does not compile on musl
+ skipCheck = true;
+ };
+
+ inputs = [
+ xz,
+
+ kernel-headers,
+ ];
+}