openbsd-ports/devel/nspr/patches/patch-nspr_pr_tests_prpollml_c
landry 3ee07c96c4 Update to nspr 4.10.
http://mozilla.6506.n7.nabble.com/ANNOUNCE-NSPR-4-10-Release-td280660.html

After years of sticking to CVS, upstream finally switched to hg,
changing its directory layout while here. All our patches are actually
unchanged, but got renamed/moved. CVS doesn't handle moves :)

Tested in an amd64 bulk build.
2013-06-23 18:36:50 +00:00

20 lines
668 B
Plaintext

$OpenBSD: patch-nspr_pr_tests_prpollml_c,v 1.1 2013/06/23 18:36:50 landry Exp $
--- nspr/pr/tests/prpollml.c.orig Tue May 28 23:39:29 2013
+++ nspr/pr/tests/prpollml.c Wed Jun 12 21:26:28 2013
@@ -15,14 +15,10 @@
#include <stdlib.h>
#include <string.h>
-#ifdef SYMBIAN
-#define POLL_DESC_COUNT 128
-#else
-#define POLL_DESC_COUNT 256 /* This should be greater than the
+#define POLL_DESC_COUNT 120 /* This should be greater than the
* STACK_POLL_DESC_COUNT macro in
* ptio.c to cause syspoll_list to
* be created. */
-#endif
static PRPollDesc pd[POLL_DESC_COUNT];