diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2003-08-31 13:37:23 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2003-08-31 13:37:23 +0800 |
commit | b4f6518dbd76d1ab9e0e7958ef45637dd049f848 (patch) | |
tree | 183fb3df9083a3ee397dc17999d501ccddc8ea66 /multimedia | |
parent | 875c9272f4adb6a79ad7987de9ba8dbf47fe45dd (diff) | |
download | marcuscom-ports-b4f6518dbd76d1ab9e0e7958ef45637dd049f848.tar marcuscom-ports-b4f6518dbd76d1ab9e0e7958ef45637dd049f848.tar.gz marcuscom-ports-b4f6518dbd76d1ab9e0e7958ef45637dd049f848.tar.bz2 marcuscom-ports-b4f6518dbd76d1ab9e0e7958ef45637dd049f848.tar.lz marcuscom-ports-b4f6518dbd76d1ab9e0e7958ef45637dd049f848.tar.xz marcuscom-ports-b4f6518dbd76d1ab9e0e7958ef45637dd049f848.tar.zst marcuscom-ports-b4f6518dbd76d1ab9e0e7958ef45637dd049f848.zip |
Add gstreamer-0.6.3 until it can be updated in the FreeBSD ports tree.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@1116 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'multimedia')
10 files changed, 208 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..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-gst::gstthreaddummy.c b/multimedia/gstreamer/files/patch-gst::gstthreaddummy.c new file mode 100644 index 000000000..479a05ba9 --- /dev/null +++ b/multimedia/gstreamer/files/patch-gst::gstthreaddummy.c @@ -0,0 +1,12 @@ +--- gst/gstthreaddummy.c.orig Sat Aug 30 19:30:10 2003 ++++ gst/gstthreaddummy.c Sat Aug 30 19:30:34 2003 +@@ -17,7 +17,9 @@ + * Boston, MA 02111-1307, USA. + */ + ++#include <sys/types.h> + #include <sys/time.h> ++#include <unistd.h> + #include <glib.h> + #include "gstlog.h" + 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..02dae5475 --- /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 Aug 30 19:28:04 2003 ++++ libs/ext/cothreads/tests/Makefile.in Sat Aug 30 19:28:39 2003 +@@ -68,7 +68,7 @@ + GLIB_CFLAGS = @GLIB_CFLAGS@ + GLIB_LIBS = @GLIB_LIBS@ + GTHREAD_CFLAGS = @GTHREAD_CFLAGS@ +-GTHREAD_LIBS = @GTHREAD_LIBS@ ++GTHREAD_LIBS = -lc @GTHREAD_LIBS@ + INSTALL_DATA = @INSTALL_DATA@ + INSTALL_PROGRAM = @INSTALL_PROGRAM@ + INSTALL_SCRIPT = @INSTALL_SCRIPT@ diff --git a/multimedia/gstreamer/files/patch-ltmain.sh b/multimedia/gstreamer/files/patch-ltmain.sh new file mode 100644 index 000000000..1c2fba5d5 --- /dev/null +++ b/multimedia/gstreamer/files/patch-ltmain.sh @@ -0,0 +1,42 @@ +--- ltmain.sh.orig Fri Sep 13 15:38:11 2002 ++++ ltmain.sh Fri Oct 11 01:44:24 2002 +@@ -1073,8 +1073,16 @@ + continue + ;; + ++ -pthread) ++ compile_command="$compile_command -pthread" ++ finalize_command="$finalize_command -pthread" ++ compiler_flags="$compiler_flags -pthread" ++ continue ++ ;; ++ + -module) + module=yes ++ build_old_libs=no + continue + ;; + +@@ -2502,6 +2510,9 @@ + *-*-openbsd*) + # Do not include libc due to us having libc/libc_r. + ;; ++ *-*-freebsd*) ++ # FreeBSD doesn't need this... ++ ;; + *) + # Add libc to deplibs on all other systems if necessary. + if test $build_libtool_need_lc = "yes"; then +@@ -4286,10 +4297,12 @@ + fi + + # Install the pseudo-library for information purposes. ++ if /usr/bin/false; then + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + instname="$dir/$name"i + $show "$install_prog $instname $destdir/$name" + $run eval "$install_prog $instname $destdir/$name" || exit $? ++ fi + + # Maybe install the static library, too. + test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" diff --git a/multimedia/gstreamer80/files/patch-gst::cothreads.c b/multimedia/gstreamer80/files/patch-gst::cothreads.c new file mode 100644 index 000000000..3519fb0e7 --- /dev/null +++ b/multimedia/gstreamer80/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/gstreamer80/files/patch-gst::gstthreaddummy.c b/multimedia/gstreamer80/files/patch-gst::gstthreaddummy.c new file mode 100644 index 000000000..479a05ba9 --- /dev/null +++ b/multimedia/gstreamer80/files/patch-gst::gstthreaddummy.c @@ -0,0 +1,12 @@ +--- gst/gstthreaddummy.c.orig Sat Aug 30 19:30:10 2003 ++++ gst/gstthreaddummy.c Sat Aug 30 19:30:34 2003 +@@ -17,7 +17,9 @@ + * Boston, MA 02111-1307, USA. + */ + ++#include <sys/types.h> + #include <sys/time.h> ++#include <unistd.h> + #include <glib.h> + #include "gstlog.h" + diff --git a/multimedia/gstreamer80/files/patch-libs::ext::cothreads::cothreads::cothreads.c b/multimedia/gstreamer80/files/patch-libs::ext::cothreads::cothreads::cothreads.c new file mode 100644 index 000000000..e0e229f97 --- /dev/null +++ b/multimedia/gstreamer80/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/gstreamer80/files/patch-libs::ext::cothreads::tests::Makefile.in b/multimedia/gstreamer80/files/patch-libs::ext::cothreads::tests::Makefile.in new file mode 100644 index 000000000..02dae5475 --- /dev/null +++ b/multimedia/gstreamer80/files/patch-libs::ext::cothreads::tests::Makefile.in @@ -0,0 +1,11 @@ +--- libs/ext/cothreads/tests/Makefile.in.orig Sat Aug 30 19:28:04 2003 ++++ libs/ext/cothreads/tests/Makefile.in Sat Aug 30 19:28:39 2003 +@@ -68,7 +68,7 @@ + GLIB_CFLAGS = @GLIB_CFLAGS@ + GLIB_LIBS = @GLIB_LIBS@ + GTHREAD_CFLAGS = @GTHREAD_CFLAGS@ +-GTHREAD_LIBS = @GTHREAD_LIBS@ ++GTHREAD_LIBS = -lc @GTHREAD_LIBS@ + INSTALL_DATA = @INSTALL_DATA@ + INSTALL_PROGRAM = @INSTALL_PROGRAM@ + INSTALL_SCRIPT = @INSTALL_SCRIPT@ diff --git a/multimedia/gstreamer80/files/patch-ltmain.sh b/multimedia/gstreamer80/files/patch-ltmain.sh new file mode 100644 index 000000000..1c2fba5d5 --- /dev/null +++ b/multimedia/gstreamer80/files/patch-ltmain.sh @@ -0,0 +1,42 @@ +--- ltmain.sh.orig Fri Sep 13 15:38:11 2002 ++++ ltmain.sh Fri Oct 11 01:44:24 2002 +@@ -1073,8 +1073,16 @@ + continue + ;; + ++ -pthread) ++ compile_command="$compile_command -pthread" ++ finalize_command="$finalize_command -pthread" ++ compiler_flags="$compiler_flags -pthread" ++ continue ++ ;; ++ + -module) + module=yes ++ build_old_libs=no + continue + ;; + +@@ -2502,6 +2510,9 @@ + *-*-openbsd*) + # Do not include libc due to us having libc/libc_r. + ;; ++ *-*-freebsd*) ++ # FreeBSD doesn't need this... ++ ;; + *) + # Add libc to deplibs on all other systems if necessary. + if test $build_libtool_need_lc = "yes"; then +@@ -4286,10 +4297,12 @@ + fi + + # Install the pseudo-library for information purposes. ++ if /usr/bin/false; then + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + instname="$dir/$name"i + $show "$install_prog $instname $destdir/$name" + $run eval "$install_prog $instname $destdir/$name" || exit $? ++ fi + + # Maybe install the static library, too. + test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" |