aboutsummaryrefslogtreecommitdiff
path: root/net-im/vicq/files
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2007-06-08 02:06:40 +0000
committerKevin Lo <kevlo@FreeBSD.org>2007-06-08 02:06:40 +0000
commitfab47993bc8a03ae0f54db62fbd50e41f1200f94 (patch)
treea10cc7a4b144e89f1a54be17d845b839f9a0c329 /net-im/vicq/files
parent2908675022dab456c1c5e74106e25837f40a6f32 (diff)
downloadports-fab47993bc8a03ae0f54db62fbd50e41f1200f94.tar.gz
ports-fab47993bc8a03ae0f54db62fbd50e41f1200f94.zip
Notes
Diffstat (limited to 'net-im/vicq/files')
-rw-r--r--net-im/vicq/files/p5.8-patch-sigalrm19
1 files changed, 19 insertions, 0 deletions
diff --git a/net-im/vicq/files/p5.8-patch-sigalrm b/net-im/vicq/files/p5.8-patch-sigalrm
new file mode 100644
index 000000000000..ac7fd494b3f4
--- /dev/null
+++ b/net-im/vicq/files/p5.8-patch-sigalrm
@@ -0,0 +1,19 @@
+--- vicq.orig Thu Jun 7 23:15:28 2007
++++ vicq Thu Jun 7 23:16:41 2007
+@@ -20,6 +20,7 @@
+ use Getopt::Std;
+ use Socket;
+ use POSIX qw(mktime getcwd);
++use POSIX ':signal_h';
+ package main;
+ use locale;
+ #use Data::Dumper;
+@@ -3347,7 +3348,7 @@
+ if(!$err)
+ {
+ print "done!\n";
+- $SIG{ALRM} = \&tick_handler;
++ sigaction SIGALRM, new POSIX::SigAction \&tick_handler;
+ alarm 1;
+ return 0;
+ } else