summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-10-04 21:51:31 +0000
committerrillig <rillig@pkgsrc.org>2006-10-04 21:51:31 +0000
commitd24590a24ed941981c40e76d9e13d62aed390d4e (patch)
tree352c94d414814394b1c21ca46e78dd1ea8c951cd
parent768a49f2dd202c008483760d083748710b9ad37e (diff)
downloadpkgsrc-d24590a24ed941981c40e76d9e13d62aed390d4e.tar.gz
Added a patch to make the tests runnable on NetBSD. Sadly, they seem to
reach an endless loop.
-rw-r--r--devel/apr/distinfo3
-rw-r--r--devel/apr/patches/patch-au15
2 files changed, 17 insertions, 1 deletions
diff --git a/devel/apr/distinfo b/devel/apr/distinfo
index 960ff94023a..6bd415a2e40 100644
--- a/devel/apr/distinfo
+++ b/devel/apr/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.18 2006/07/28 10:38:36 tron Exp $
+$NetBSD: distinfo,v 1.19 2006/10/04 21:51:31 rillig Exp $
SHA1 (httpd-2.0.59.tar.bz2) = 908209cd6e52f700d2a841a25de36e44d469c376
RMD160 (httpd-2.0.59.tar.bz2) = 78b802354e338798a6978ece8b3568be97542174
@@ -11,3 +11,4 @@ SHA1 (patch-aq) = 6cc1fb879fb5d9280f543ebe068a441e2e6560f3
SHA1 (patch-ar) = defa2be14ec057e1c41151b8cd1edc0ffb219694
SHA1 (patch-as) = 37e70ff8b1a3344e47bcd2fe2b145a6e3e6a4562
SHA1 (patch-at) = 9935c308ba96a8c92dedd3288429a989f9d643f5
+SHA1 (patch-au) = 270a478bdfead4ffe2d069e8441655854fa54e5a
diff --git a/devel/apr/patches/patch-au b/devel/apr/patches/patch-au
new file mode 100644
index 00000000000..376913bae60
--- /dev/null
+++ b/devel/apr/patches/patch-au
@@ -0,0 +1,15 @@
+$NetBSD: patch-au,v 1.1 2006/10/04 21:51:32 rillig Exp $
+
+NetBSD 3.0 does not have pthread_setconcurrency().
+
+--- apr/test/testatomic.c.orig 2005-02-04 21:36:31.000000000 +0100
++++ apr/test/testatomic.c 2006-10-04 22:30:21.000000000 +0200
+@@ -227,7 +227,7 @@ int main(int argc, char**argv)
+ }
+
+ printf("APR Atomic Test\n===============\n\n");
+-#if !(defined WIN32) && !(defined NETWARE) && !(defined __MVS__) && !(defined DARWIN)
++#if !(defined WIN32) && !(defined NETWARE) && !(defined __MVS__) && !(defined DARWIN) && !defined(__NetBSD__)
+ pthread_setconcurrency(8);
+ #endif
+ printf("%-60s", "Initializing the context");