diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2003-01-14 13:37:09 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2003-01-14 13:37:09 +0800 |
commit | c28a561a66352cad2b4608b4e0d9e2fcfb2480af (patch) | |
tree | f64b8c52c9b9c572b8b51f0ef7c02d5da18caaa7 /multimedia/gstreamer80/files/patch-gst::cothreads.c | |
parent | 95fa9e9ab98d471fa069758921e3299f41cd7810 (diff) | |
download | marcuscom-ports-c28a561a66352cad2b4608b4e0d9e2fcfb2480af.tar marcuscom-ports-c28a561a66352cad2b4608b4e0d9e2fcfb2480af.tar.gz marcuscom-ports-c28a561a66352cad2b4608b4e0d9e2fcfb2480af.tar.bz2 marcuscom-ports-c28a561a66352cad2b4608b4e0d9e2fcfb2480af.tar.lz marcuscom-ports-c28a561a66352cad2b4608b4e0d9e2fcfb2480af.tar.xz marcuscom-ports-c28a561a66352cad2b4608b4e0d9e2fcfb2480af.tar.zst marcuscom-ports-c28a561a66352cad2b4608b4e0d9e2fcfb2480af.zip |
Fix build on 5.x.
Reported by: Mezz bsdforums.org <reigncracks@hotmail.com>
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@387 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'multimedia/gstreamer80/files/patch-gst::cothreads.c')
-rw-r--r-- | multimedia/gstreamer80/files/patch-gst::cothreads.c | 17 |
1 files changed, 13 insertions, 4 deletions
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); |