diff --git a/multimedia/gecko-mediaplayer/gecko-mediaplayer.SlackBuild b/multimedia/gecko-mediaplayer/gecko-mediaplayer.SlackBuild index f037ed5c80..f6ebb029f1 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 0000000000..de406963fa --- /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