Files
nixpkgs/pkgs/tools/package-management/rpm/sighandler_t-macos.patch
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

20 lines
514 B
Diff

Revert "signal() returns sighandler_t, not void *"
sadly, on darwin, sighandler_t is not defined
This reverts commit 7bb4dfd0bcadc7c6177d6fe88a4bcccf7fac98b9
diff --git a/build/rpmfc.c b/build/rpmfc.c
index 86dd36d14..48643a321 100644
--- a/build/rpmfc.c
+++ b/build/rpmfc.c
@@ -295,7 +295,7 @@ static int getOutputFrom(ARGV_t argv,
return -1;
}
- sighandler_t oldhandler = signal(SIGPIPE, SIG_IGN);
+ void *oldhandler = signal(SIGPIPE, SIG_IGN);
child = fork();
if (child < 0) {