freebsd-ports/mbone/mcl/files/patch-display.c
Pav Lucistnik c5093c3118 - Update to 2.99.1
Changes in software:
- vendor's bugfixes
- new FLUTE support
- new dependencies in gdome-2 and glib20
- properly install the shared library and headers
- replace -pthread with $PTHREAD_LIBS
- fix compilation warnings due to C++ headers in -current

PR:		ports/61068
Submitted by:	Panagiotis Astithas <past@noc.ntua.gr> (maintainer)
2004-01-09 00:12:51 +00:00

14 lines
472 B
C

--- flute/display.c.orig Wed Jan 7 12:08:23 2004
+++ flute/display.c Wed Jan 7 12:07:24 2004
@@ -65,7 +65,11 @@
signal (SIGTERM, sig_catcher);
sigaction (SIGTERM, (struct sigaction *) 0, &sa);
sa.sa_flags |= SA_RESTART;
+#if defined(FREEBSD)
+ sa.sa_flags &= ~SA_NOCLDSTOP;
+#else
sa.sa_flags &= ~SA_INTERRUPT;
+#endif
sigaction (SIGTERM, &sa, (struct sigaction *) 0);
sigaction (SIGINT, &sa, (struct sigaction *) 0);
tcsetattr(0, TCSANOW, &new_settings);