freebsd-ports/multimedia/gstreamer/files/patch-gst::cothreads.c
Joe Marcus Clarke c4851e78e4 Presenting GNOME 2.6.0. The FreeBSD GNOME Team feels this our best release
ever.  It fixes many bugs, and adds some features missing in previous
FreeBSD ports.  To help users upgrade from GNOME 2.4, we have constructed an
upgrade FAQ at:

http://www.freebsd.org/gnome/docs/faq26.html

Please read it carefully.  GNOME 2.6 packages are also available for all
supported i386 versions of FreeBSD at:

http://www.marcuscom.com/tinderbox/

The FreeBSD GNOME Team would like the thank the following users for their
wonderful testing and patching efforts.  We would especially like to thank
Franz Klammer <klammer@webonaut.com> for his wonderful new splash screen.
Without these people, our team, and our team alumni, GNOME on FreeBSD would
not be possible.

Jeremy Messenger <mezz7@cox.net>
Khairil Yusof <kaeru@pd.jaring.my>
Koop Mast <kwm@rainbow-runner.nl>
Simon Barner <barner@in.tum.de>
Tom McLaughlin <tmclaugh@sdf.lonestar.org>
Scott Dodson <sdodson@sdodson.com>
Vladimir Grebenschikov <vova@sw.ru>
2004-04-05 03:11:39 +00:00

22 lines
443 B
C

--- gst/cothreads.c.orig Mon Feb 2 06:56:53 2004
+++ gst/cothreads.c Fri Feb 6 13:05:26 2004
@@ -42,6 +42,10 @@
#include <ucontext.h>
#endif
+#ifdef HAVE_MAKECONTEXT
+#include <ucontext.h>
+#endif
+
#ifndef MAP_ANONYMOUS
#ifdef MAP_ANON
/* older glibc's have MAP_ANON instead of MAP_ANONYMOUS */
@@ -52,7 +56,7 @@
#endif
#endif
-#define STACK_SIZE 0x200000
+#define STACK_SIZE 0x100000
#define COTHREAD_MAGIC_NUMBER 0xabcdef