summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhasso <hasso@pkgsrc.org>2009-07-20 18:51:53 +0000
committerhasso <hasso@pkgsrc.org>2009-07-20 18:51:53 +0000
commit4563cce7ce5c8de0cf16e1bda2741c1767fe98d6 (patch)
tree4d6aaabd2d31b7db9dbe8303bb65f4db4e28b314
parenta84c0cb12c9879d37103daec655d04c9bd08a7b0 (diff)
downloadpkgsrc-4563cce7ce5c8de0cf16e1bda2741c1767fe98d6.tar.gz
Make it build on DragonFly (and probably some other systems).
-rw-r--r--x11/xsel/distinfo3
-rw-r--r--x11/xsel/patches/patch-aa13
2 files changed, 15 insertions, 1 deletions
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)