From 5abc5b52cd66a4d0fb5fd0c169cdbe41cc7f3c47 Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Thu, 29 Apr 2004 03:41:06 +0000 Subject: 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 --- multimedia/libxine/files/patch-src::xine-utils::memcpy.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 multimedia/libxine/files/patch-src::xine-utils::memcpy.c (limited to 'multimedia/libxine/files/patch-src::xine-utils::memcpy.c') 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 */ -- cgit v1.2.3