multimedia/gecko-mediaplayer: Patched to build with xulrunner-38.x.

Signed-off-by: David Spencer <baildon.research@googlemail.com>
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
David Spencer 2015-07-22 09:25:45 +01:00 committed by Willy Sudiarto Raharjo
parent d15efb5e18
commit c335d8a5df
2 changed files with 20 additions and 0 deletions

View file

@ -50,6 +50,10 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 \
-o -perm 400 \) -exec chmod 644 {} \;
# Fix for -current (20150722 dbs)
# This patch comes from Debian's 1.0.9-2 package (thanks!)
patch -p1 < $CWD/np_loadds.patch
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \

View file

@ -0,0 +1,16 @@
Description: Define NP_LOADDS if it doesn't exist
Author: Sebastian Ramacher <sramacher@debian.org>
Last-Update: 2014-06-14
--- gecko-mediaplayer-1.0.9.orig/src/npupp.h
+++ gecko-mediaplayer-1.0.9/src/npupp.h
@@ -63,6 +63,9 @@
#include "npruntime.h"
+#ifndef NP_LOADDS
+#define NP_LOADDS
+#endif
/******************************************************************************************
plug-in function table macros