Commit e4eae314 authored by Benjamin Drung's avatar Benjamin Drung Committed by Rémi Denis-Courmont

Make vlc compatible with xulrunner 1.9.1

Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
parent 3c345df2
...@@ -4559,8 +4559,8 @@ then ...@@ -4559,8 +4559,8 @@ then
if test -n "$i" if test -n "$i"
then then
echo "Trying to find $i package" >&AS_MESSAGE_LOG_FD echo "Trying to find $i package" >&AS_MESSAGE_LOG_FD
AC_MSG_CHECKING([for $i >= 1.9.2]) AC_MSG_CHECKING([for $i >= 1.9.1])
if $PKG_CONFIG --exists --print-errors "$i >= 1.9.2" 2>&AS_MESSAGE_LOG_FD if $PKG_CONFIG --exists --print-errors "$i >= 1.9.1" 2>&AS_MESSAGE_LOG_FD
then then
echo "Using $i pkg-config package." >&AS_MESSAGE_LOG_FD echo "Using $i pkg-config package." >&AS_MESSAGE_LOG_FD
echo "Using $i package." >&AS_MESSAGE_FD echo "Using $i package." >&AS_MESSAGE_FD
......
...@@ -27,8 +27,8 @@ ...@@ -27,8 +27,8 @@
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
#include "nporuntime.h"
#include "vlcplugin.h" #include "vlcplugin.h"
#include "nporuntime.h"
char* RuntimeNPObject::stringValue(const NPString &s) char* RuntimeNPObject::stringValue(const NPString &s)
{ {
......
...@@ -29,6 +29,10 @@ ...@@ -29,6 +29,10 @@
#ifndef __VLCPLUGIN_H__ #ifndef __VLCPLUGIN_H__
#define __VLCPLUGIN_H__ #define __VLCPLUGIN_H__
// Changes for compatibility to xulrunner 1.9.1
#define UTF8Characters utf8characters
#define UTF8Length utf8length
#include <vlc/vlc.h> #include <vlc/vlc.h>
// Setup XP_MACOSX, XP_UNIX, XP_WIN // Setup XP_MACOSX, XP_UNIX, XP_WIN
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment