From c335d8a5dfbb89661b60774da910c5701cfdeba4 Mon Sep 17 00:00:00 2001 From: David Spencer Date: Wed, 22 Jul 2015 09:25:45 +0100 Subject: multimedia/gecko-mediaplayer: Patched to build with xulrunner-38.x. Signed-off-by: David Spencer Signed-off-by: Robby Workman --- .../gecko-mediaplayer/gecko-mediaplayer.SlackBuild | 4 ++++ multimedia/gecko-mediaplayer/np_loadds.patch | 16 ++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 multimedia/gecko-mediaplayer/np_loadds.patch (limited to 'multimedia') diff --git a/multimedia/gecko-mediaplayer/gecko-mediaplayer.SlackBuild b/multimedia/gecko-mediaplayer/gecko-mediaplayer.SlackBuild index f037ed5c80fd..f6ebb029f1e1 100644 --- a/multimedia/gecko-mediaplayer/gecko-mediaplayer.SlackBuild +++ b/multimedia/gecko-mediaplayer/gecko-mediaplayer.SlackBuild @@ -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 \ diff --git a/multimedia/gecko-mediaplayer/np_loadds.patch b/multimedia/gecko-mediaplayer/np_loadds.patch new file mode 100644 index 000000000000..de406963fadb --- /dev/null +++ b/multimedia/gecko-mediaplayer/np_loadds.patch @@ -0,0 +1,16 @@ +Description: Define NP_LOADDS if it doesn't exist +Author: Sebastian Ramacher +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 -- cgit v1.2.3