summaryrefslogtreecommitdiffstats
path: root/multimedia/gstreamer/files
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/gstreamer/files')
-rw-r--r--multimedia/gstreamer/files/patch-configure19
-rw-r--r--multimedia/gstreamer/files/patch-gst::cothreads.c20
-rw-r--r--multimedia/gstreamer/files/patch-libs::ext::cothreads::cothreads::cothreads.c19
-rw-r--r--multimedia/gstreamer/files/patch-libs::ext::cothreads::tests::Makefile.in11
4 files changed, 69 insertions, 0 deletions
diff --git a/multimedia/gstreamer/files/patch-configure b/multimedia/gstreamer/files/patch-configure
new file mode 100644
index 000000000..b3935c7cb
--- /dev/null
+++ b/multimedia/gstreamer/files/patch-configure
@@ -0,0 +1,19 @@
+--- configure.orig Wed Jan 22 09:17:40 2003
++++ configure Wed Jan 29 14:49:56 2003
+@@ -7520,6 +7520,7 @@
+
+ # This can be used to rebuild libtool when needed
+ LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
++$ac_aux_dir/ltconfig $LIBTOOL_DEPS
+
+ # Always use our own libtool.
+ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
+@@ -7712,7 +7713,7 @@
+ if test "x$COMPILER" = "xforte"; then
+ GST_ERROR=
+ else
+- if test "x$GST_CVS"="xyes"; then
++ if test "x$GST_CVS" = "xyes"; then
+ GST_ERROR="-Wall -Werror"
+ else
+ GST_ERROR="-Wall"
diff --git a/multimedia/gstreamer/files/patch-gst::cothreads.c b/multimedia/gstreamer/files/patch-gst::cothreads.c
new file mode 100644
index 000000000..3519fb0e7
--- /dev/null
+++ b/multimedia/gstreamer/files/patch-gst::cothreads.c
@@ -0,0 +1,20 @@
+--- gst/cothreads.c.orig Sat Feb 1 19:09:00 2003
++++ gst/cothreads.c Mon Feb 3 10:57:44 2003
+@@ -41,12 +41,16 @@
+ #include <ucontext.h>
+ #endif
+
++#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
+
+-#define STACK_SIZE 0x200000
++#define STACK_SIZE 0x100000
+
+ #define COTHREAD_MAGIC_NUMBER 0xabcdef
+
diff --git a/multimedia/gstreamer/files/patch-libs::ext::cothreads::cothreads::cothreads.c b/multimedia/gstreamer/files/patch-libs::ext::cothreads::cothreads::cothreads.c
new file mode 100644
index 000000000..e0e229f97
--- /dev/null
+++ b/multimedia/gstreamer/files/patch-libs::ext::cothreads::cothreads::cothreads.c
@@ -0,0 +1,19 @@
+--- libs/ext/cothreads/cothreads/cothreads.c.orig Sat Feb 1 16:09:23 2003
++++ libs/ext/cothreads/cothreads/cothreads.c Mon Mar 17 13:33:43 2003
+@@ -22,6 +22,7 @@
+
+ #include "pth_p.h" /* this pulls in everything */
+ #include <sys/mman.h>
++#include <sys/time.h>
+ #include <sys/resource.h>
+ #include <stdlib.h>
+
+@@ -422,7 +423,7 @@
+ *stack = malloc (_cothreads_chunk_size * (1.0 + 1.0/_cothreads_count));
+ if (!stack)
+ return FALSE;
+- *stack = (void*)((int)*stack &~ (int)(_cothreads_chunk_size / _cothreads_count - 1));
++ *stack = (void*)((intptr_t)*stack &~ (intptr_t)(_cothreads_chunk_size / _cothreads_count - 1));
+ *stack += 1;
+ #endif
+
diff --git a/multimedia/gstreamer/files/patch-libs::ext::cothreads::tests::Makefile.in b/multimedia/gstreamer/files/patch-libs::ext::cothreads::tests::Makefile.in
new file mode 100644
index 000000000..fd554c278
--- /dev/null
+++ b/multimedia/gstreamer/files/patch-libs::ext::cothreads::tests::Makefile.in
@@ -0,0 +1,11 @@
+--- libs/ext/cothreads/tests/Makefile.in.orig Sat Sep 28 23:05:55 2002
++++ libs/ext/cothreads/tests/Makefile.in Sat Sep 28 23:06:23 2002
+@@ -83,7 +83,7 @@
+ GLIB_CFLAGS = @GLIB_CFLAGS@
+ GLIB_LIBS = @GLIB_LIBS@
+ GTHREAD_CFLAGS = @GTHREAD_CFLAGS@
+-GTHREAD_LIBS = @GTHREAD_LIBS@
++GTHREAD_LIBS = -lc @GTHREAD_LIBS@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LIBTOOL = @LIBTOOL@
+ LN_S = @LN_S@