summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-video/gxine/files/gxine-0.5.905-spidermonkey-update.patch')
-rw-r--r--media-video/gxine/files/gxine-0.5.905-spidermonkey-update.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/media-video/gxine/files/gxine-0.5.905-spidermonkey-update.patch b/media-video/gxine/files/gxine-0.5.905-spidermonkey-update.patch
new file mode 100644
index 000000000000..5a5acad9af77
--- /dev/null
+++ b/media-video/gxine/files/gxine-0.5.905-spidermonkey-update.patch
@@ -0,0 +1,24 @@
+--- a/m4/_js.m4 2011-01-02 10:54:36.821000001 -0600
++++ b/m4/_js.m4 2011-01-02 10:55:45.368000001 -0600
+@@ -103,7 +103,7 @@
+ # Failed...
+
+ if test x"$JS_CFLAGS" = x; then
+- AC_MSG_ERROR([libjs not found])
++ AC_MSG_ERROR([libmozjs not found])
+ fi
+ else
+ saved_CFLAGS="$CFLAGS"
+@@ -118,10 +118,10 @@
+ echo moz
+ ;;
+ esac`"
+- JS_LIBS="`spidermonkey_locate_lib([$JS_LIBS])`js"
++ JS_LIBS="`spidermonkey_locate_lib([$JS_LIBS])`mozjs"
+ AC_DEFINE(HAVE_LIBSMJS, 1, [Define if you have jsapi.h])
+ ],
+- [AC_MSG_ERROR([libjs not found])],
++ [AC_MSG_ERROR([libmozjs not found])],
+ [#define XP_UNIX])
+ CFLAGS="$saved_CFLAGS"
+ fi