summaryrefslogtreecommitdiff
path: root/multimedia/gst-plugins-bad
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2015-04-24 19:54:53 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-04-26 14:04:56 +0700
commitce89da9db8e20537eef66287af517c3e448d31f3 (patch)
treebc5a52edb66d416806741153b6709a6667325301 /multimedia/gst-plugins-bad
parent6fbb27df3089fa42917913fd22c30296ee3e7898 (diff)
downloadslackbuilds-ce89da9db8e20537eef66287af517c3e448d31f3.tar.gz
multimedia/gst-plugins-bad: Fix libmodplug include
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'multimedia/gst-plugins-bad')
-rw-r--r--multimedia/gst-plugins-bad/gst-plugins-bad.SlackBuild3
-rw-r--r--multimedia/gst-plugins-bad/libmodplug-include.patch12
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 9f2bc692be..5b6ad3b4a6 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 0000000000..a38c5af9ab
--- /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"