mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
multimedia/gst-plugins-bad: Fix libmodplug include
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
6fbb27df30
commit
ce89da9db8
2 changed files with 15 additions and 0 deletions
|
@ -71,6 +71,9 @@ find -L . \
|
||||||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||||
-exec chmod 644 {} \;
|
-exec chmod 644 {} \;
|
||||||
|
|
||||||
|
# Fix libmodplug include directory.
|
||||||
|
patch -p1 < $CWD/libmodplug-include.patch
|
||||||
|
|
||||||
CFLAGS="$SLKCFLAGS" \
|
CFLAGS="$SLKCFLAGS" \
|
||||||
CXXFLAGS="$SLKCFLAGS" \
|
CXXFLAGS="$SLKCFLAGS" \
|
||||||
./configure \
|
./configure \
|
||||||
|
|
12
multimedia/gst-plugins-bad/libmodplug-include.patch
Normal file
12
multimedia/gst-plugins-bad/libmodplug-include.patch
Normal file
|
@ -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"
|
Loading…
Reference in a new issue