From 4563cce7ce5c8de0cf16e1bda2741c1767fe98d6 Mon Sep 17 00:00:00 2001 From: hasso Date: Mon, 20 Jul 2009 18:51:53 +0000 Subject: Make it build on DragonFly (and probably some other systems). --- x11/xsel/distinfo | 3 ++- x11/xsel/patches/patch-aa | 13 +++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 x11/xsel/patches/patch-aa diff --git a/x11/xsel/distinfo b/x11/xsel/distinfo index e8aae169748..a288ac70286 100644 --- a/x11/xsel/distinfo +++ b/x11/xsel/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.1.1.1 2008/04/05 13:07:35 obache Exp $ +$NetBSD: distinfo,v 1.2 2009/07/20 18:51:53 hasso Exp $ SHA1 (xsel-1.2.0.tar.gz) = e48df89d7ce7e1256b0c7464393533a0c296eca1 RMD160 (xsel-1.2.0.tar.gz) = 53fc7fe06e4e4ebe3c47a3a97408876cd0c5faed Size (xsel-1.2.0.tar.gz) = 169155 bytes +SHA1 (patch-aa) = 85a45f1baa6a8a788b52e637af337ff06e0ff0d5 diff --git a/x11/xsel/patches/patch-aa b/x11/xsel/patches/patch-aa new file mode 100644 index 00000000000..5bf09ce80c2 --- /dev/null +++ b/x11/xsel/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1 2009/07/20 18:51:53 hasso Exp $ + +--- xsel.c.orig 2009-07-20 21:08:25 +0300 ++++ xsel.c 2009-07-20 21:09:11 +0300 +@@ -465,7 +465,7 @@ get_timestamp (void) + */ + + /* The jmp_buf to longjmp out of the signal handler */ +-static jmp_buf env_alrm; ++static sigjmp_buf env_alrm; + + /* + * alarm_handler (sig) -- cgit v1.2.3