Mon Jul 20 18:51:54 2009 UTC ()
Make it build on DragonFly (and probably some other systems).


(hasso)
diff -r1.1.1.1 -r1.2 pkgsrc/x11/xsel/distinfo
diff -r0 -r1.1 pkgsrc/x11/xsel/patches/patch-aa

cvs diff -r1.1.1.1 -r1.2 pkgsrc/x11/xsel/distinfo (expand / switch to unified diff)

--- pkgsrc/x11/xsel/distinfo 2008/04/05 13:07:35 1.1.1.1
+++ pkgsrc/x11/xsel/distinfo 2009/07/20 18:51:53 1.2
@@ -1,5 +1,6 @@ @@ -1,5 +1,6 @@
1$NetBSD: distinfo,v 1.1.1.1 2008/04/05 13:07:35 obache Exp $ 1$NetBSD: distinfo,v 1.2 2009/07/20 18:51:53 hasso Exp $
2 2
3SHA1 (xsel-1.2.0.tar.gz) = e48df89d7ce7e1256b0c7464393533a0c296eca1 3SHA1 (xsel-1.2.0.tar.gz) = e48df89d7ce7e1256b0c7464393533a0c296eca1
4RMD160 (xsel-1.2.0.tar.gz) = 53fc7fe06e4e4ebe3c47a3a97408876cd0c5faed 4RMD160 (xsel-1.2.0.tar.gz) = 53fc7fe06e4e4ebe3c47a3a97408876cd0c5faed
5Size (xsel-1.2.0.tar.gz) = 169155 bytes 5Size (xsel-1.2.0.tar.gz) = 169155 bytes
 6SHA1 (patch-aa) = 85a45f1baa6a8a788b52e637af337ff06e0ff0d5

File Added: pkgsrc/x11/xsel/patches/patch-aa
$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)