aboutsummaryrefslogtreecommitdiff
path: root/multimedia/gecko-mediaplayer
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2015-07-22 09:25:45 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commitc335d8a5dfbb89661b60774da910c5701cfdeba4 (patch)
treee1c1ff7d6dcdd456f0e22f651e0f8f058b102366 /multimedia/gecko-mediaplayer
parentd15efb5e18db97c6fd2e7a7e4c141ff3b2368eb2 (diff)
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>
Diffstat (limited to 'multimedia/gecko-mediaplayer')
-rw-r--r--multimedia/gecko-mediaplayer/gecko-mediaplayer.SlackBuild4
-rw-r--r--multimedia/gecko-mediaplayer/np_loadds.patch16
2 files changed, 20 insertions, 0 deletions
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 <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