summaryrefslogtreecommitdiffstats
path: root/multimedia/gstreamer/files/patch-gst::cothreads.c
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-03-12 16:23:10 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-03-12 16:23:10 +0800
commit0e0836e53280726c1c232f57d0797201940ec413 (patch)
tree8533eeead5b72c0e70b9a736632d5731cb7b1f51 /multimedia/gstreamer/files/patch-gst::cothreads.c
parent7bb5046b96550e436682baec8db3f1acb88a65c5 (diff)
downloadmarcuscom-ports-0e0836e53280726c1c232f57d0797201940ec413.tar
marcuscom-ports-0e0836e53280726c1c232f57d0797201940ec413.tar.gz
marcuscom-ports-0e0836e53280726c1c232f57d0797201940ec413.tar.bz2
marcuscom-ports-0e0836e53280726c1c232f57d0797201940ec413.tar.lz
marcuscom-ports-0e0836e53280726c1c232f57d0797201940ec413.tar.xz
marcuscom-ports-0e0836e53280726c1c232f57d0797201940ec413.tar.zst
marcuscom-ports-0e0836e53280726c1c232f57d0797201940ec413.zip
Re-add gstreamer now with the initial thread stacksize hack conditionally
removed for versions of FreeBSD that don't need it. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3928 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'multimedia/gstreamer/files/patch-gst::cothreads.c')
-rw-r--r--multimedia/gstreamer/files/patch-gst::cothreads.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/multimedia/gstreamer/files/patch-gst::cothreads.c b/multimedia/gstreamer/files/patch-gst::cothreads.c
new file mode 100644
index 000000000..a756de582
--- /dev/null
+++ b/multimedia/gstreamer/files/patch-gst::cothreads.c
@@ -0,0 +1,13 @@
+--- 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 */