aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/mtools
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-06-07 00:35:43 +0800
committersteve <steve@FreeBSD.org>1999-06-07 00:35:43 +0800
commit1d916bb1e7977c08381153f5eae2ee1643c1fb74 (patch)
treef1ab2f432f80eddd67eecc363f64f7f57fdada3c /emulators/mtools
parentfc42a766e73a092c48ebf61edb7c1bd63a1019c3 (diff)
downloadfreebsd-ports-gnome-1d916bb1e7977c08381153f5eae2ee1643c1fb74.tar.gz
freebsd-ports-gnome-1d916bb1e7977c08381153f5eae2ee1643c1fb74.tar.zst
freebsd-ports-gnome-1d916bb1e7977c08381153f5eae2ee1643c1fb74.zip
Just in case someone wants to turn on floppyd support, fixup the
compilation errors in floppyd.c. PR: 11962 Submitted by: Dann Lunsford <dann@greycat.com>
Diffstat (limited to 'emulators/mtools')
-rw-r--r--emulators/mtools/files/patch-e20
1 files changed, 20 insertions, 0 deletions
diff --git a/emulators/mtools/files/patch-e b/emulators/mtools/files/patch-e
new file mode 100644
index 000000000000..8fb2a617be52
--- /dev/null
+++ b/emulators/mtools/files/patch-e
@@ -0,0 +1,20 @@
+--- floppyd.c.orig Sat Jun 5 15:54:11 1999
++++ floppyd.c Sat Jun 5 15:55:41 1999
+@@ -668,7 +668,7 @@
+ /*
+ * Ignore dead servers so no zombies should be left hanging.
+ */
+- signal(SIGCLD, SIG_IGN);
++ signal(SIGCHLD, SIG_IGN);
+
+ for (;;) {
+ int new_sock;
+@@ -972,7 +972,7 @@
+ * Start a new session and group.
+ */
+ setsid();
+- setpgrp();
++ setpgrp(0, 0);
+ #ifndef DEBUG
+ close(2);
+ open("/dev/null", O_WRONLY);