aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/libxine
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2004-04-29 11:41:06 +0800
committeredwin <edwin@FreeBSD.org>2004-04-29 11:41:06 +0800
commit5f5ad52014fc36abf6c432b28455f3c59dfcaeb5 (patch)
tree5d119a827f45512e274bad97bdcee4c508edd6e5 /multimedia/libxine
parent95643ba78ed17e494685058327324b0e27af9184 (diff)
downloadfreebsd-ports-graphics-5f5ad52014fc36abf6c432b28455f3c59dfcaeb5.tar.gz
freebsd-ports-graphics-5f5ad52014fc36abf6c432b28455f3c59dfcaeb5.tar.zst
freebsd-ports-graphics-5f5ad52014fc36abf6c432b28455f3c59dfcaeb5.zip
multimedia/libxine is broken on non-i386 architectures, amd64 in
particular. This causes consumers like multimedia/xine and multimedia/kaffeine to also be broken. Try running xine or kaffeine on amd64. Watch it segfault on startup. tjr@ has supplied a patch for it. PR: ports/65885 Submitted by: Tim Robbins <tim@robbins.dropbear.id.au>
Diffstat (limited to 'multimedia/libxine')
-rw-r--r--multimedia/libxine/files/patch-src::xine-utils::memcpy.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/multimedia/libxine/files/patch-src::xine-utils::memcpy.c b/multimedia/libxine/files/patch-src::xine-utils::memcpy.c
new file mode 100644
index 00000000000..c124b89fdf9
--- /dev/null
+++ b/multimedia/libxine/files/patch-src::xine-utils::memcpy.c
@@ -0,0 +1,12 @@
+--- src/xine-utils/memcpy.c.orig Thu Apr 22 22:57:12 2004
++++ src/xine-utils/memcpy.c Thu Apr 22 22:57:55 2004
+@@ -428,7 +428,8 @@
+ /* FIXME: implement an equivalent for using optimized memcpy on other
+ architectures */
+ #ifndef _MSC_VER
+- return times(NULL);
++ struct tms xxx;
++ return times(&xxx);
+ #else
+ return ((uint64_t)0);
+ #endif /* _MSC_VER */