From ce89da9db8e20537eef66287af517c3e448d31f3 Mon Sep 17 00:00:00 2001 From: Larry Hajali Date: Fri, 24 Apr 2015 19:54:53 -0500 Subject: [PATCH] multimedia/gst-plugins-bad: Fix libmodplug include Signed-off-by: Robby Workman --- .../gst-plugins-bad/gst-plugins-bad.SlackBuild | 3 +++ multimedia/gst-plugins-bad/libmodplug-include.patch | 12 ++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 multimedia/gst-plugins-bad/libmodplug-include.patch 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 ++#include + #include + + #include "gstmodplug.h"