pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/apr Added a patch to make the tests runnable on ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/87964e923b9a
branches:  trunk
changeset: 519525:87964e923b9a
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Wed Oct 04 21:51:31 2006 +0000

description:
Added a patch to make the tests runnable on NetBSD. Sadly, they seem to
reach an endless loop.

diffstat:

 devel/apr/distinfo         |   3 ++-
 devel/apr/patches/patch-au |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r 4fe63a78dbd7 -r 87964e923b9a devel/apr/distinfo
--- a/devel/apr/distinfo        Wed Oct 04 21:47:16 2006 +0000
+++ b/devel/apr/distinfo        Wed Oct 04 21:51:31 2006 +0000
@@ -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-ar) = defa2be14ec057e1c41151b8cd1edc0ffb219694
 SHA1 (patch-as) = 37e70ff8b1a3344e47bcd2fe2b145a6e3e6a4562
 SHA1 (patch-at) = 9935c308ba96a8c92dedd3288429a989f9d643f5
+SHA1 (patch-au) = 270a478bdfead4ffe2d069e8441655854fa54e5a
diff -r 4fe63a78dbd7 -r 87964e923b9a devel/apr/patches/patch-au
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/apr/patches/patch-au        Wed Oct 04 21:51:31 2006 +0000
@@ -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"); 



Home | Main Index | Thread Index | Old Index