From 3b92a14bd3b0e005bbd762160927416ff8d45829 Mon Sep 17 00:00:00 2001 From: reed Date: Sun, 8 May 2005 06:33:35 +0000 Subject: Make this build under FreeBSD. PKGREVISION not bumped since these changes only matter for FreeBSD build which failed in the first place. Note that xine-lib is needed, but the xine-lib fixes for FreeBSD have not been committed yet. (If you are curious, I am using gxine on FreeBSD all installed via pkgsrc to watch a MS Windows Media 7 ASF video and listen to MS Windows Media Audio 2 without any win32-codecs installed.) --- multimedia/gxine/patches/patch-ac | 8 ++++---- multimedia/gxine/patches/patch-ad | 14 ++++++++++++++ 2 files changed, 18 insertions(+), 4 deletions(-) create mode 100644 multimedia/gxine/patches/patch-ad (limited to 'multimedia/gxine/patches') diff --git a/multimedia/gxine/patches/patch-ac b/multimedia/gxine/patches/patch-ac index d36ec315972..0b57e70564b 100644 --- a/multimedia/gxine/patches/patch-ac +++ b/multimedia/gxine/patches/patch-ac @@ -1,12 +1,12 @@ -$NetBSD: patch-ac,v 1.2 2005/01/06 17:22:52 drochner Exp $ +$NetBSD: patch-ac,v 1.3 2005/05/08 06:33:35 reed Exp $ ---- src/desktop_integration.c.orig 2004-11-10 02:43:13.000000000 +0100 -+++ src/desktop_integration.c +--- src/desktop_integration.c.orig Tue Nov 9 17:43:13 2004 ++++ src/desktop_integration.c Sat May 7 18:57:38 2005 @@ -31,7 +31,9 @@ #include #include #include -+#ifndef __NetBSD__ ++#if !defined(__NetBSD__) && !defined(__FreeBSD__) #include +#endif #include diff --git a/multimedia/gxine/patches/patch-ad b/multimedia/gxine/patches/patch-ad new file mode 100644 index 00000000000..99af8bde4b3 --- /dev/null +++ b/multimedia/gxine/patches/patch-ad @@ -0,0 +1,14 @@ +--- src/spidermonkey/jsprf.c.orig Sat May 7 19:07:27 2005 ++++ src/spidermonkey/jsprf.c Sat May 7 19:08:37 2005 +@@ -57,7 +57,11 @@ + #define VARARGS_ASSIGN(foo, bar) (foo) = (bar) + #endif + */ ++#ifndef __FreeBSD__ + #define VARARGS_ASSIGN(foo, bar) __va_copy(foo, bar) ++#else ++#define VARARGS_ASSIGN(foo, bar) (foo) = (bar) ++#endif + + /* + ** WARNING: This code may *NOT* call JS_LOG (because JS_LOG calls it) -- cgit v1.2.3