diff options
Diffstat (limited to 'multimedia/gxine/patches')
-rw-r--r-- | multimedia/gxine/patches/patch-ac | 8 | ||||
-rw-r--r-- | multimedia/gxine/patches/patch-ad | 14 |
2 files changed, 18 insertions, 4 deletions
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 <stdlib.h> #include <stdio.h> #include <dlfcn.h> -+#ifndef __NetBSD__ ++#if !defined(__NetBSD__) && !defined(__FreeBSD__) #include <alloca.h> +#endif #include <string.h> 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) |