aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fm/nautilus2/files
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2002-07-10 07:17:40 +0800
committermarcus <marcus@FreeBSD.org>2002-07-10 07:17:40 +0800
commit0b62c7192cec1cece5055f9e7d0ef0e26b2b127f (patch)
tree3b7d7ab208a34a58bb35225c4eb75aa2f6c215e7 /x11-fm/nautilus2/files
parent6aeb87f34399e9c0488e1676d83467370279146f (diff)
downloadfreebsd-ports-gnome-0b62c7192cec1cece5055f9e7d0ef0e26b2b127f.tar.gz
freebsd-ports-gnome-0b62c7192cec1cece5055f9e7d0ef0e26b2b127f.tar.zst
freebsd-ports-gnome-0b62c7192cec1cece5055f9e7d0ef0e26b2b127f.zip
Add a patch to nautilus to fix the freeze problem when thumbnailing certain
images. FreeBSD has a 64K default thread stack size, and this is too small for eel's gdk extensions. This patch simply doubles the thumbnailing thread size to 128K.
Diffstat (limited to 'x11-fm/nautilus2/files')
-rw-r--r--x11-fm/nautilus2/files/patch-libnautilus-private_nautilus-thumbnails.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/x11-fm/nautilus2/files/patch-libnautilus-private_nautilus-thumbnails.c b/x11-fm/nautilus2/files/patch-libnautilus-private_nautilus-thumbnails.c
new file mode 100644
index 000000000000..e84dc83e280f
--- /dev/null
+++ b/x11-fm/nautilus2/files/patch-libnautilus-private_nautilus-thumbnails.c
@@ -0,0 +1,10 @@
+--- libnautilus-private/nautilus-thumbnails.c.orig Tue Jul 9 19:09:29 2002
++++ libnautilus-private/nautilus-thumbnails.c Tue Jul 9 19:09:19 2002
+@@ -309,6 +309,7 @@
+ pthread_attr_init (&thread_attributes);
+ pthread_attr_setdetachstate (&thread_attributes,
+ PTHREAD_CREATE_DETACHED);
++ pthread_attr_setstacksize (&thread_attributes, 128*1024);
+ #ifdef DEBUG_THUMBNAILS
+ g_message ("(Main Thread) Creating thumbnails thread\n");
+ #endif