aboutsummaryrefslogtreecommitdiff
path: root/devel/glib20
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2005-06-10 20:45:32 +0000
committerKoop Mast <kwm@FreeBSD.org>2005-06-10 20:45:32 +0000
commit598c7fa20689cc7aacc1a7d5a17fe2e0e986d50c (patch)
tree2a101ae4b2bbdd7d32fd579260651e730564d7ce /devel/glib20
parenta1c7eae8bee97e2eb1577bc5d3c145aead0f2852 (diff)
downloadports-598c7fa20689cc7aacc1a7d5a17fe2e0e986d50c.tar.gz
ports-598c7fa20689cc7aacc1a7d5a17fe2e0e986d50c.zip
Notes
Diffstat (limited to 'devel/glib20')
-rw-r--r--devel/glib20/files/extra-patch-gthread_gthread-posix.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/devel/glib20/files/extra-patch-gthread_gthread-posix.c b/devel/glib20/files/extra-patch-gthread_gthread-posix.c
index 8796dd629960..b74c39d48df2 100644
--- a/devel/glib20/files/extra-patch-gthread_gthread-posix.c
+++ b/devel/glib20/files/extra-patch-gthread_gthread-posix.c
@@ -1,5 +1,5 @@
---- gthread/gthread-posix.c.orig Mon Nov 1 13:47:12 2004
-+++ gthread/gthread-posix.c Wed Mar 9 14:21:20 2005
+--- gthread/gthread-posix.c.orig Thu Jun 9 17:27:13 2005
++++ gthread/gthread-posix.c Fri Jun 10 22:38:37 2005
@@ -115,7 +115,11 @@
# define PRIORITY_NORMAL_VALUE priority_normal_value
#endif /* POSIX_MIN_PRIORITY && POSIX_MAX_PRIORITY */
@@ -12,21 +12,21 @@
#define G_MUTEX_SIZE (sizeof (pthread_mutex_t))
-@@ -307,8 +312,16 @@
- if (stack_size)
- {
+@@ -309,8 +313,16 @@
stack_size = MAX (g_thread_min_stack_size, stack_size);
-- posix_check_cmd (pthread_attr_setstacksize (&attr, stack_size));
+ /* No error check here, because some systems can't do it and
+ * we simply don't want threads to fail because of that. */
+- pthread_attr_setstacksize (&attr, stack_size);
}
-+ else
++ else
+ {
+ if (sizeof(void *) == 8)
-+ g_thread_default_stack_size = G_THREAD_STACK_SIZE64;
++ g_thread_default_stack_size = G_THREAD_STACK_SIZE64;
+ else
-+ g_thread_default_stack_size = G_THREAD_STACK_SIZE32;
++ g_thread_default_stack_size = G_THREAD_STACK_SIZE32;
+ stack_size = MAX (g_thread_min_stack_size, g_thread_default_stack_size);
+ }
-+ posix_check_cmd (pthread_attr_setstacksize (&attr, stack_size));
++ pthread_attr_setstacksize (&attr, stack_size);
#endif /* HAVE_PTHREAD_ATTR_SETSTACKSIZE */
#ifdef PTHREAD_SCOPE_SYSTEM