Fix modplug include

This commit is contained in:
Wim Taymans 2014-03-13 17:08:54 +01:00
parent 311ab725e1
commit 1b5afea9e5
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,29 @@
From fd4cb22ae42b146e327b12aa0507b59520ba1db2 Mon Sep 17 00:00:00 2001
From: Iain Lane <iain.lane@canonical.com>
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 <stdafx.h>
+#include <libmodplug/stdafx.h>
#include <libmodplug/sndfile.h>
#include "gstmodplug.h"
--
1.8.5.3

View File

@ -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 <wtaymans@redhat.com> - 0.10.23-20
- Rebuild for libvpx ABI break. See #1068664
- Fix modplug include
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.23-19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild