Skip site navigation (1)Skip section navigation (2)
Date:      13 Jan 2003 19:37:40 -0500
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        "Mezz bsdforums.org" <reigncracks@hotmail.com>
Cc:        FreeBSD GNOME Users <gnome@freebsd.org>
Subject:   Re: gstreamer-0.5.1 has been failed..
Message-ID:  <1042504660.63066.6.camel@shumai.marcuscom.com>
In-Reply-To: <F37mFcizFcIErJN4I9t0000cabd@hotmail.com>
References:  <F37mFcizFcIErJN4I9t0000cabd@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-xrzYmBk/LQjOaevxcIkm
Content-Type: multipart/mixed; boundary="=-323ugSWE2XhIKLamTJ0Q"


--=-323ugSWE2XhIKLamTJ0Q
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Mon, 2003-01-13 at 18:15, Mezz bsdforums.org wrote:
> >I don't think that will be necessary this time. Looks like there is a
> >bug in gstreamer where they forget to include ucontext.h if they use
> >makecontext(). Can you try the attached patch, and let me know if it
> >fixes the problem?
> >
> >Joe
> >
> ><< patch-gst_cothreads.c >>
>=20
> I renamed this patch to patch-gst::cothreads.c and replaced the old one.=20
> But, I am still getting the same exactly errors with this new patch.

Doh!  Sorry, I forgot to move the block below the file that would define
HAVE_MAKECONTEXT.  This patch should fix it.

Joe

>=20
> Mezz
>=20
> _________________________________________________________________
> The new MSN 8: smart spam protection and 2 months FREE* =20
> http://join.msn.com/?page=3Dfeatures/junkmail
>=20
>=20
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-gnome" in the body of the message
--=20
PGP Key : http://www.marcuscom.com/pgp.asc

--=-323ugSWE2XhIKLamTJ0Q
Content-Disposition: attachment; filename="patch-gst::cothreads.c"
Content-Transfer-Encoding: quoted-printable
Content-Type: text/x-c; name="patch-gst::cothreads.c"; charset=ISO-8859-1

--- gst/cothreads.c.orig	Tue Dec 31 23:28:32 2002
+++ gst/cothreads.c	Mon Jan 13 19:31:54 2003
@@ -37,16 +37,20 @@
 #include "gstlog.h"
 #include "gstutils.h"
=20
+#ifdef HAVE_MAKECONTEXT
+#include <ucontext.h>
+#endif
+
 /* older glibc's have MAP_ANON instead of MAP_ANONYMOUS */
 #ifndef MAP_ANONYMOUS
 #define MAP_ANONYMOUS MAP_ANON
 #endif
=20
-#define STACK_SIZE 0x200000
+#define STACK_SIZE 0x100000
=20
 #define COTHREAD_MAGIC_NUMBER 0xabcdef
=20
-#define COTHREAD_MAXTHREADS 16
+#define COTHREAD_MAXTHREADS 8
 #define COTHREAD_STACKSIZE (STACK_SIZE/COTHREAD_MAXTHREADS)
=20
 static void 	cothread_destroy 	(cothread_state *cothread);

--=-323ugSWE2XhIKLamTJ0Q--

--=-xrzYmBk/LQjOaevxcIkm
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQA+I1vUb2iPiv4Uz4cRAvhmAJoDaSPv3s4WtW4FwoznM1ezbA3HxgCgrJBG
frZ6Zq4/ITsMURDaMBhNpcU=
=f5Ec
-----END PGP SIGNATURE-----

--=-xrzYmBk/LQjOaevxcIkm--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-gnome" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1042504660.63066.6.camel>