ports/audio/rawrec/files/patch-main.c
Craig Leres b087fefc9c audio/rawrec: Fix port issues
- Makefile WWW link bad - fix it

 - Clean portlint nit

 - Change patches to avoid REINPLACE_CMD

 - Initialize sigaction structures better

 - Remove commenting out of pthread_attr_scope stuff since FreeBSD
   supports that now

Should be no functional change

PR:		277461
Approved by:	antonfb@hesiod.org (maintainer)
2024-03-03 15:33:26 -08:00

11 lines
456 B
C

--- main.c.orig 2006-01-22 02:40:17 UTC
+++ main.c
@@ -119,6 +119,8 @@ int main(int argc, char *argv[])
/* at the moment, this application goes with the default for most signals */
ignorer_act.sa_handler = SIG_IGN;
+ ignorer_act.sa_flags = 0;
+ sigemptyset(&ignorer_act.sa_mask);
/* because I'm unclear on how SIGIO is supposed to work, it's not
applicable here, and I'm paranoid */
if ( sigaction(SIGIO, &ignorer_act, NULL) == -1 )