summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmc <jmc@pkgsrc.org>2003-06-10 00:32:54 +0000
committerjmc <jmc@pkgsrc.org>2003-06-10 00:32:54 +0000
commit012be9d2a84b1e6c1cd620bd8e469c96798bb3bf (patch)
tree9a63d06f1c70bf73b8bf9d4b03bade0f82b19342
parent00914a324bd9bf6f2a6f06a6cda9f53bdb7b94a4 (diff)
downloadpkgsrc-012be9d2a84b1e6c1cd620bd8e469c96798bb3bf.tar.gz
On pth platforms sched_yield is a #define so pthread.h must be included
in any file calling it.
-rw-r--r--devel/cvsync/distinfo3
-rw-r--r--devel/cvsync/patches/patch-aa13
2 files changed, 15 insertions, 1 deletions
diff --git a/devel/cvsync/distinfo b/devel/cvsync/distinfo
index f468baa0697..5a38d6b1ae4 100644
--- a/devel/cvsync/distinfo
+++ b/devel/cvsync/distinfo
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.30 2003/06/04 15:32:13 gehenna Exp $
+$NetBSD: distinfo,v 1.31 2003/06/10 00:32:54 jmc Exp $
SHA1 (cvsync-0.23.0.tar.gz) = 2153f60f53b1f83f62a34a397c8db941066ca903
Size (cvsync-0.23.0.tar.gz) = 107662 bytes
+SHA1 (patch-aa) = 1718f24585a960fd47757a6ed9b35f28981228be
diff --git a/devel/cvsync/patches/patch-aa b/devel/cvsync/patches/patch-aa
new file mode 100644
index 00000000000..89354b9cc13
--- /dev/null
+++ b/devel/cvsync/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.3 2003/06/10 00:32:55 jmc Exp $
+
+--- common/scanfile.c.orig Tue Jun 10 00:29:36 2003
++++ common/scanfile.c Tue Jun 10 00:29:52 2003
+@@ -27,6 +27,8 @@
+ * SUCH DAMAGE.
+ */
+
++#include <pthread.h>
++
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <sys/uio.h>