80826c19a2
from almost 11 years ago! Add IPv6 support as well as fixing the dsirc script for modern Perl courtesy of the NetBSD port. Also add a stripped down version of that patch which will let dsirc work with modern Perl even without IPv6. Use OPTIONS to handle IPv6 and SOCKS support. Also include the addon scripts from the author's site as an OPTION. Take advantage of PORTDOCS support, and fix the plist as a side effect. If the user chooses to add SOCKS support print a pkg-message to tell them how to set it up, and make the README.socks PORTDOC conditional. Fix the shebang line in dsirc to respect PREFIX. Change the default IRC server to irc.efnet.org using sed on dsirc instead of trying to handle it in the sirc script. The effect is the same, and the user can still override this trivially in their ~/.sircrc.pl file. Patch ssfe.c to include string.h so that it compiles without errors. Bump PORTREVISION to signify the significant nature of the update.
18 lines
409 B
C
18 lines
409 B
C
--- ssfe.c.orig 1998-03-10 04:55:53.000000000 -0800
|
|
+++ ssfe.c 2009-03-04 22:46:01.000000000 -0800
|
|
@@ -23,6 +23,7 @@
|
|
#include <fcntl.h>
|
|
#include <unistd.h>
|
|
#include <signal.h>
|
|
+#include <string.h>
|
|
#include <errno.h>
|
|
|
|
#ifdef USE_SGTTY
|
|
@@ -106,7 +107,6 @@
|
|
int ansi_cs = 0;
|
|
|
|
fd_set ready, result;
|
|
-extern int errno;
|
|
|
|
#ifdef __GNUC__
|
|
extern unsigned char *tgoto(unsigned char *cm, int col, int line);
|