1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/ftp/bbftp-server/files/patch-bbftpd__signals.c
Alexey Dokuchaev 06105161eb - Split into client and server ports: upstream now provides separate
distfiles and also this allows to simplify configure and build glue
  in the Makefiles considerably
- Update to version 3.2.1, reword both COMMENTs accordingly
- Actualize MASTER_SITES and WWW line in the port description
- Unbreak the build against contemporary versions of OpenSSL
- Define LICENSE (GPLv2+) and install provided documentation files
2021-01-30 09:01:08 +00:00

12 lines
403 B
C

--- bbftpd_signals.c.orig 2013-02-07 10:46:27 UTC
+++ bbftpd_signals.c
@@ -376,7 +376,7 @@ int bbftpd_blockallsignals() {
syslog(BBFTPD_ERR,"Error sigaction SIGTSTP : %s",strerror(errno)) ;
return(-1) ;
}
-#ifndef DARWIN
+#ifdef SIGPOLL
if ( sigaction(SIGPOLL,&sga,0) < 0 ) {
syslog(BBFTPD_ERR,"Error sigaction SIGPOLL : %s",strerror(errno)) ;
return(-1) ;