Bento fix for net/pmf
PR: ports/45656 Submitted by: Clement Laforet <sheepkiller@cultdeadsheep.org>
This commit is contained in:
parent
05c4566a46
commit
a98b4af282
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=70919
@ -1,6 +1,14 @@
|
|||||||
--- main.c.orig Sun Sep 22 12:13:43 1991
|
--- main.c.orig Sun Sep 22 12:13:43 1991
|
||||||
+++ main.c Fri Feb 11 04:14:00 2000
|
+++ main.c Fri Feb 11 04:14:00 2000
|
||||||
@@ -37,7 +37,7 @@
|
@@ -15,6 +15,7 @@
|
||||||
|
#include <sgtty.h>
|
||||||
|
#include <signal.h>
|
||||||
|
#include <setjmp.h>
|
||||||
|
+#include <sys/param.h>
|
||||||
|
#include "safe_malloc.h"
|
||||||
|
#include "str_galore.h"
|
||||||
|
#include "config.h"
|
||||||
|
@@ -37,7 +38,7 @@
|
||||||
extern int stop_printing();
|
extern int stop_printing();
|
||||||
extern int continue_printing();
|
extern int continue_printing();
|
||||||
|
|
||||||
@ -9,7 +17,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Longjmp buffer, jump there after error() or CTRL-C */
|
/* Longjmp buffer, jump there after error() or CTRL-C */
|
||||||
@@ -58,7 +58,7 @@
|
@@ -58,7 +59,7 @@
|
||||||
ldisplay("\n");
|
ldisplay("\n");
|
||||||
ldisplay("%s", rl_line_buffer);
|
ldisplay("%s", rl_line_buffer);
|
||||||
rl_redisplay(count, key);
|
rl_redisplay(count, key);
|
||||||
@ -18,3 +26,15 @@
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -191,7 +192,11 @@
|
||||||
|
#endif
|
||||||
|
|
||||||
|
if (debug && exitval) {
|
||||||
|
+ #if defined(__FreeBSD__) && (__FreeBSD_version >= 500035)
|
||||||
|
+ signal(SIGABRT, SIG_DFL);
|
||||||
|
+ #else
|
||||||
|
signal(SIGIOT, SIG_DFL);
|
||||||
|
+ #endif
|
||||||
|
abort();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user