diff options
Diffstat (limited to 'multimedia/gst-plugins-bad')
-rw-r--r-- | multimedia/gst-plugins-bad/gst-plugins-bad.SlackBuild | 3 | ||||
-rw-r--r-- | multimedia/gst-plugins-bad/libmodplug-include.patch | 12 |
2 files changed, 15 insertions, 0 deletions
diff --git a/multimedia/gst-plugins-bad/gst-plugins-bad.SlackBuild b/multimedia/gst-plugins-bad/gst-plugins-bad.SlackBuild index 9f2bc692be1ce..5b6ad3b4a6915 100644 --- a/multimedia/gst-plugins-bad/gst-plugins-bad.SlackBuild +++ b/multimedia/gst-plugins-bad/gst-plugins-bad.SlackBuild @@ -71,6 +71,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# Fix libmodplug include directory. +patch -p1 < $CWD/libmodplug-include.patch + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ diff --git a/multimedia/gst-plugins-bad/libmodplug-include.patch b/multimedia/gst-plugins-bad/libmodplug-include.patch new file mode 100644 index 0000000000000..a38c5af9ab161 --- /dev/null +++ b/multimedia/gst-plugins-bad/libmodplug-include.patch @@ -0,0 +1,12 @@ +diff -Naur gst-plugins-bad-0.10.23.orig/ext/modplug/gstmodplug.cc gst-plugins-bad-0.10.23/ext/modplug/gstmodplug.cc +--- gst-plugins-bad-0.10.23.orig/ext/modplug/gstmodplug.cc 2012-01-18 12:32:55.000000000 +0000 ++++ gst-plugins-bad-0.10.23/ext/modplug/gstmodplug.cc 2015-02-03 16:31:44.428094306 +0000 +@@ -50,7 +50,7 @@ + #define WORDS_BIGENDIAN 0 + #endif + +-#include <stdafx.h> ++#include <libmodplug/stdafx.h> + #include <libmodplug/sndfile.h> + + #include "gstmodplug.h" |