From 1b5afea9e582db9c38f5905c6764ea5d477fefc4 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 13 Mar 2014 17:08:54 +0100 Subject: [PATCH] Fix modplug include --- ...fy-directory-when-including-stdafx.h.patch | 29 +++++++++++++++++++ gstreamer-plugins-bad-free.spec | 3 ++ 2 files changed, 32 insertions(+) create mode 100644 0001-modplug-Specify-directory-when-including-stdafx.h.patch diff --git a/0001-modplug-Specify-directory-when-including-stdafx.h.patch b/0001-modplug-Specify-directory-when-including-stdafx.h.patch new file mode 100644 index 0000000..86d69ea --- /dev/null +++ b/0001-modplug-Specify-directory-when-including-stdafx.h.patch @@ -0,0 +1,29 @@ +From fd4cb22ae42b146e327b12aa0507b59520ba1db2 Mon Sep 17 00:00:00 2001 +From: Iain Lane +Date: Tue, 10 Sep 2013 08:48:32 +0000 +Subject: [PATCH] modplug: Specify directory when including stdafx.h + +modplug stopped exposing their directory in their pcfile, meaining +consumers accessing the headers directly fail to build. + +http://sourceforge.net/p/modplug-xmms/git/ci/75e9b166982ed637b59ef7cbc1835a09f768923e/ +--- + ext/modplug/gstmodplug.cc | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/ext/modplug/gstmodplug.cc b/ext/modplug/gstmodplug.cc +index 47154cf..a968c4a 100644 +--- a/ext/modplug/gstmodplug.cc ++++ b/ext/modplug/gstmodplug.cc +@@ -54,7 +54,7 @@ + #define WORDS_BIGENDIAN 0 + #endif + +-#include ++#include + #include + + #include "gstmodplug.h" +-- +1.8.5.3 + diff --git a/gstreamer-plugins-bad-free.spec b/gstreamer-plugins-bad-free.spec index c9d287a..17f3022 100644 --- a/gstreamer-plugins-bad-free.spec +++ b/gstreamer-plugins-bad-free.spec @@ -35,6 +35,7 @@ Patch4: 0004-camerabin-Set-src_filter-and-zoom_src_filter-caps-wh.patch Patch5: 0005-geometrictransform-crash-fix1.patch Patch6: 0006-geometrictransform-crash-fix2.patch Patch7: 0001-Delete-unbuilt-plugins-from-the-docs.patch +Patch8: 0001-modplug-Specify-directory-when-including-stdafx.h.patch Requires: %{gstreamer} >= %{gst_minver} BuildRequires: %{gstreamer}-devel >= %{gst_minver} @@ -168,6 +169,7 @@ aren't tested well enough, or the code is not of good enough quality. %patch5 -p1 %patch6 -p1 %patch7 -p1 +%patch8 -p1 sed -i 's/opencv <= 2.3.1/opencv <= 2.4.3/g' configure @@ -367,6 +369,7 @@ rm $RPM_BUILD_ROOT%{_libdir}/*.la %changelog * Thu Mar 13 2014 Wim Taymans - 0.10.23-20 - Rebuild for libvpx ABI break. See #1068664 +- Fix modplug include * Sat Aug 03 2013 Fedora Release Engineering - 0.10.23-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild