diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2004-04-29 03:41:06 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2004-04-29 03:41:06 +0000 |
commit | 5abc5b52cd66a4d0fb5fd0c169cdbe41cc7f3c47 (patch) | |
tree | 3c497dca3671e988e1efc81787b1d398513cd990 /multimedia/libxine/files/patch-src::xine-utils::memcpy.c | |
parent | Reinstate changes made during ports freeze, correcting "PORTREVESION" (diff) |
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 '')
-rw-r--r-- | multimedia/libxine/files/patch-src::xine-utils::memcpy.c | 12 |
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 000000000000..c124b89fdf91 --- /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 */ |