aboutsummaryrefslogtreecommitdiff
path: root/games/bsdgames/files/patch-sail_pl_1.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/bsdgames/files/patch-sail_pl_1.c')
-rw-r--r--games/bsdgames/files/patch-sail_pl_1.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/games/bsdgames/files/patch-sail_pl_1.c b/games/bsdgames/files/patch-sail_pl_1.c
new file mode 100644
index 000000000000..c858f5e30bb4
--- /dev/null
+++ b/games/bsdgames/files/patch-sail_pl_1.c
@@ -0,0 +1,14 @@
+--- ./sail/pl_1.c
++++ ./sail/pl_1.c
+@@ -122,7 +122,11 @@ choke(void)
+ void
+ child(void)
+ {
++#ifdef __DragonFly__
+ union wait status;
++#else
++ int status;
++#endif
+ int pid;
+
+ signal(SIGCHLD, SIG_IGN);