]> git.pld-linux.org Git - packages/vlc.git/commitdiff
- added flac patch (adjust includes to compile with flac 1.3.0)
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 14 Jul 2013 14:38:56 +0000 (16:38 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 14 Jul 2013 14:38:56 +0000 (16:38 +0200)
vlc-flac.patch [new file with mode: 0644]
vlc.spec

diff --git a/vlc-flac.patch b/vlc-flac.patch
new file mode 100644 (file)
index 0000000..303417f
--- /dev/null
@@ -0,0 +1,13 @@
+--- vlc-2.0.6/modules/codec/flac.c.orig        2013-01-25 13:30:14.000000000 +0100
++++ vlc-2.0.6/modules/codec/flac.c     2013-06-06 22:26:47.176022021 +0200
+@@ -38,8 +38,8 @@
+ #include <vlc_codec.h>
+ #include <vlc_aout.h>
+-#include <stream_decoder.h>
+-#include <stream_encoder.h>
++#include <FLAC/stream_decoder.h>
++#include <FLAC/stream_encoder.h>
+ #include <vlc_block_helper.h>
+ #include <vlc_bits.h>
index 6a5679d22bd4b7a16dad28dc0a1d534d6c9d598d..5b4f458a5aa43578ddc4a12bcaa042c5d777a308 100644 (file)
--- a/vlc.spec
+++ b/vlc.spec
@@ -72,6 +72,7 @@ Patch2:               %{name}-system-minizip.patch
 Patch3:                xmas-sucks.patch
 Patch4:                %{name}-opencv.patch
 Patch5:                libva.patch
+Patch6:                %{name}-flac.patch
 URL:           http://www.videolan.org/vlc/
 %{?with_directfb:BuildRequires:        DirectFB-devel}
 BuildRequires: OpenGL-devel
@@ -321,6 +322,7 @@ Akcje klienta VLC dla Solid.
 %endif
 %patch4 -p1
 %patch5 -p1
+%patch6 -p1
 
 %build
 %{__libtoolize}
@@ -411,7 +413,7 @@ ln -sf %{_libdir}/vlc $RPM_BUILD_ROOT%{_prefix}/lib
 %endif
 
 # rm -f *.{a,la}
-find $RPM_BUILD_ROOT%{_libdir} -type f -regex '.*\.?a$' | xargs %{__rm}
+find $RPM_BUILD_ROOT%{_libdir} -type f -regex '.*\.l?a$' | xargs %{__rm}
 
 mv -f $RPM_BUILD_ROOT%{_localedir}/{pt_PT,pt}
 # unsupported:
This page took 0.035031 seconds and 4 git commands to generate.