freebsd-ports/irc/ircII/files/patch-source_mksiginc.c
Sylvio Cesar Teixeira a6cbb5fd54 - Update to 20110228
PR:		ports/158676
Submitted by:	Adam Weinberger <adamw@freebsd.org>
2011-07-27 20:21:34 +00:00

14 lines
389 B
C

--- source/mksiginc.c.orig 2011-07-05 19:26:18.000000000 -0400
+++ source/mksiginc.c 2011-07-05 19:27:39.000000000 -0400
@@ -39,7 +39,11 @@ IRCII_RCSID("@(#)$eterna: mksiginc.c,v 1
#define NSIG 64
#endif
+#if defined(SIGRTMAX) && (SIGRTMAX > NSIG)
+#define MY_MAXSIG SIGRTMAX+1
+#else
#define MY_MAXSIG NSIG+1
+#endif
char *signames[MY_MAXSIG];
int main(int, char *[], char *[]);