aboutsummaryrefslogtreecommitdiff
path: root/multimedia/gxine
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/gxine')
-rw-r--r--multimedia/gxine/Makefile4
-rw-r--r--multimedia/gxine/files/patch-src::spidermonkey::jsprf.c13
2 files changed, 11 insertions, 6 deletions
diff --git a/multimedia/gxine/Makefile b/multimedia/gxine/Makefile
index 1f07fb2df58c..f7d81f16ed89 100644
--- a/multimedia/gxine/Makefile
+++ b/multimedia/gxine/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gxine
PORTVERSION= 0.3.3
-PORTREVISION= 11
+PORTREVISION= 12
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= xine
@@ -15,7 +15,7 @@ MASTER_SITE_SUBDIR= xine
MAINTAINER= greg@chown.ath.cx
COMMENT= An alternative GUI for the Xine media player
-LIB_DEPENDS= xine.13:${PORTSDIR}/multimedia/libxine
+LIB_DEPENDS= xine.14:${PORTSDIR}/multimedia/libxine
USE_X_PREFIX= yes
GNU_CONFIGURE= yes
diff --git a/multimedia/gxine/files/patch-src::spidermonkey::jsprf.c b/multimedia/gxine/files/patch-src::spidermonkey::jsprf.c
index 804ad1e96d8b..aa72af7ae80b 100644
--- a/multimedia/gxine/files/patch-src::spidermonkey::jsprf.c
+++ b/multimedia/gxine/files/patch-src::spidermonkey::jsprf.c
@@ -1,11 +1,16 @@
---- src/spidermonkey/jsprf.c.orig Sat Apr 19 02:11:15 2003
-+++ src/spidermonkey/jsprf.c Sat Apr 19 02:12:27 2003
-@@ -57,7 +57,7 @@
+--- src/spidermonkey/jsprf.c.orig Fri Mar 7 02:14:11 2003
++++ src/spidermonkey/jsprf.c Wed Sep 21 20:20:45 2005
+@@ -57,7 +57,12 @@
#define VARARGS_ASSIGN(foo, bar) (foo) = (bar)
#endif
*/
-#define VARARGS_ASSIGN(foo, bar) __va_copy(foo, bar)
-+#define VARARGS_ASSIGN(foo, bar) (foo) = (bar)
++#include <osreldate.h>
++#if __FreeBSD_version >= 500000
++#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)