mirror of
https://git.freebsd.org/ports.git
synced 2025-05-29 01:16:28 -04:00
When the option SMB is ON, the port fails to package. While here: * Reorder Makefile variables * Change obsolete @unexec to @postexec * Rework patches to comply with makepatch format PR: 244778 Submitted by: tommyhp2@gmail.com Approved by: lukas.slebodnik@intrak.sk (maintainer, timeout)
22 lines
700 B
C
22 lines
700 B
C
--- src/util/server.c.orig 2014-09-17 13:01:37 UTC
|
|
+++ src/util/server.c
|
|
@@ -322,12 +322,14 @@ static void setup_signals(void)
|
|
BlockSignals(false, SIGTERM);
|
|
|
|
CatchSignal(SIGHUP, sig_hup);
|
|
-
|
|
#ifndef HAVE_PRCTL
|
|
- /* If prctl is not defined on the system, try to handle
|
|
- * some common termination signals gracefully */
|
|
- CatchSignal(SIGSEGV, sig_segv_abrt);
|
|
- CatchSignal(SIGABRT, sig_segv_abrt);
|
|
+ /* If prctl is not defined on the system, try to handle
|
|
+ * some common termination signals gracefully */
|
|
+ (void) sig_segv_abrt; /* unused */
|
|
+ /*
|
|
+ CatchSignal(SIGSEGV, sig_segv_abrt);
|
|
+ CatchSignal(SIGABRT, sig_segv_abrt);
|
|
+ */
|
|
#endif
|
|
|
|
}
|