forked from Lainports/freebsd-ports
with lots of libraries etc. There are two knobs which are in development at the moment so I disabled them with an IGNORE message. They need some work and maybe some testing. PR: ports/81136 Submitted by: Kay Lehmann <kay_lehmann@web.de>
20 lines
672 B
C++
20 lines
672 B
C++
--- mbdyn/base/solver.cc.orig Thu Feb 10 14:49:22 2005
|
|
+++ mbdyn/base/solver.cc Sat Feb 12 17:14:57 2005
|
|
@@ -95,10 +95,17 @@
|
|
|
|
#ifdef HAVE_SIGNAL
|
|
static volatile sig_atomic_t mbdyn_keep_going = 1;
|
|
+#if defined(__FreeBSD__)
|
|
+static __sighandler_t *mbdyn_sh_term = SIG_DFL;
|
|
+static __sighandler_t *mbdyn_sh_int = SIG_DFL;
|
|
+static __sighandler_t *mbdyn_sh_hup = SIG_DFL;
|
|
+static __sighandler_t *mbdyn_sh_pipe = SIG_DFL;
|
|
+#else
|
|
static __sighandler_t mbdyn_sh_term = SIG_DFL;
|
|
static __sighandler_t mbdyn_sh_int = SIG_DFL;
|
|
static __sighandler_t mbdyn_sh_hup = SIG_DFL;
|
|
static __sighandler_t mbdyn_sh_pipe = SIG_DFL;
|
|
+#endif
|
|
|
|
static void
|
|
really_exit_handler(int signum)
|