diff options
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/gstreamer/files/patch-gst::cothreads.c | 17 | ||||
-rw-r--r-- | multimedia/gstreamer80/files/patch-gst::cothreads.c | 17 |
2 files changed, 26 insertions, 8 deletions
diff --git a/multimedia/gstreamer/files/patch-gst::cothreads.c b/multimedia/gstreamer/files/patch-gst::cothreads.c index aed13b1a7..70def6f13 100644 --- a/multimedia/gstreamer/files/patch-gst::cothreads.c +++ b/multimedia/gstreamer/files/patch-gst::cothreads.c @@ -1,6 +1,15 @@ ---- gst/cothreads.c.orig Wed Nov 13 22:59:21 2002 -+++ gst/cothreads.c Wed Nov 13 22:59:38 2002 -@@ -41,11 +41,11 @@ +--- 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" + ++#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 @@ -13,4 +22,4 @@ +#define COTHREAD_MAXTHREADS 8 #define COTHREAD_STACKSIZE (STACK_SIZE/COTHREAD_MAXTHREADS) - static void cothread_destroy (cothread_state *thread); + static void cothread_destroy (cothread_state *cothread); diff --git a/multimedia/gstreamer80/files/patch-gst::cothreads.c b/multimedia/gstreamer80/files/patch-gst::cothreads.c index aed13b1a7..70def6f13 100644 --- a/multimedia/gstreamer80/files/patch-gst::cothreads.c +++ b/multimedia/gstreamer80/files/patch-gst::cothreads.c @@ -1,6 +1,15 @@ ---- gst/cothreads.c.orig Wed Nov 13 22:59:21 2002 -+++ gst/cothreads.c Wed Nov 13 22:59:38 2002 -@@ -41,11 +41,11 @@ +--- 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" + ++#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 @@ -13,4 +22,4 @@ +#define COTHREAD_MAXTHREADS 8 #define COTHREAD_STACKSIZE (STACK_SIZE/COTHREAD_MAXTHREADS) - static void cothread_destroy (cothread_state *thread); + static void cothread_destroy (cothread_state *cothread); |