ports/ftp/bbftp-client/files/patch-setsignals.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

11 lines
475 B
C

--- setsignals.c.orig 2005-03-29 12:48:21 UTC
+++ setsignals.c
@@ -134,7 +134,7 @@ void blockallsignals()
if ( sigaction(SIGTSTP,&sga,0) < 0 ) {
printmessage(stderr,CASE_FATAL_ERROR,32,timestamp,"Error setting signal SIGTSTP : %s \n",strerror(errno)) ;
}
-#ifndef DARWIN
+#ifdef SIGPOLL
if ( sigaction(SIGPOLL,&sga,0) < 0 ) {
printmessage(stderr,CASE_FATAL_ERROR,32,timestamp,"Error setting signal SIGPOLL : %s \n",strerror(errno)) ;
}