Author: kwizart
Update of /cvs/free/rpms/vlc/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv2720/devel
Modified Files:
sources vlc.spec
Added Files:
vlc-1.0.2-compiler.patch
Removed Files:
vlc-1.0-bugfix-bp-font_family.patch
vlc-1.0-bugfix-bp_zip_qt4.patch
Log Message:
vlc-1.0.2-compiler.patch:
--- NEW FILE vlc-1.0.2-compiler.patch ---
diff -up vlc-1.0.2/modules/access/bd/Modules.am.compiler
vlc-1.0.2/modules/access/bd/Modules.am
--- vlc-1.0.2/modules/access/bd/Modules.am.compiler 2009-09-18 00:23:37.000000000 +0200
+++ vlc-1.0.2/modules/access/bd/Modules.am 2009-09-20 10:35:40.107945580 +0200
@@ -8,3 +8,5 @@ SOURCES_access_bd = \
libvlc_LTLIBRARIES += libaccess_bd_plugin.la
+libaccess_bd_plugin_la_CFLAGS = -O0
+
Index: sources
===================================================================
RCS file: /cvs/free/rpms/vlc/devel/sources,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- sources 19 Sep 2009 23:58:07 -0000 1.24
+++ sources 20 Sep 2009 09:04:57 -0000 1.25
@@ -1 +1 @@
-69d4e30fe4fc2691780fbeacd40359d2 vlc-1.0.2.tar.bz2
+6e9383e1684506ee2bfbfae011821fdd vlc-1.0.2.tar.bz2
Index: vlc.spec
===================================================================
RCS file: /cvs/free/rpms/vlc/devel/vlc.spec,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -r1.62 -r1.63
--- vlc.spec 19 Sep 2009 23:58:07 -0000 1.62
+++ vlc.spec 20 Sep 2009 09:04:57 -0000 1.63
@@ -8,7 +8,7 @@
Summary: Multi-platform MPEG, DVD, and DivX player
Name: vlc
Version: 1.0.2
-Release: 1%{?dist}
+Release: 1%{?dist}.1
License: GPLv2+
Group: Applications/Multimedia
URL:
http://www.videolan.org
@@ -22,6 +22,7 @@
Patch2: 0002-Default-aout-for-pulse.patch
Patch3: 300_all_pic.patch
Patch4: 310_all_mmx_pic.patch
+Patch5: vlc-1.0.2-compiler.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: desktop-file-utils
@@ -143,7 +144,6 @@
%if 0%{?fedora} > 10
Requires: dejavu-sans-fonts
-Requires: dejavu-serif-fonts
%else
Requires: dejavu-fonts
%endif
@@ -238,7 +238,13 @@
%patch3 -p1 -b .dmo_pic
sed -i.dmo_pic -e 's/fno-PIC/fPIC/' libs/loader/Makefile.in
%patch4 -p1 -b .mmx_pic
+%ifarch %{ix86} x86_64
+#https://bugzilla.redhat.com/show_bug.cgi?id=524439
+%patch5 -p1 -b .compiler
+%endif
+#Workaround internal compiler bug in bd.c
+sed -i -e 's/screen bd zip/screen zip/' modules/access/Modules.am
rm modules/access/videodev2.h
ln -sf %{_includedir}/linux/videodev2.h modules/access/videodev2.h
@@ -264,7 +270,7 @@
%configure \
--disable-dependency-tracking \
--disable-rpath \
- --enable-release \
+ --enable-debug \
--with-binary-version=%{version}-%{release} \
--with-tuning=no \
--enable-switcher \
@@ -548,6 +554,9 @@
%changelog
+* Sun Sep 20 2009 kwizart < kwizart at
gmail.com > - 1.0.2-1.1
+- Workaround the compiler bug on x86 x86_64 by disabling optimization.
+
* Sat Sep 19 2009 kwizart < kwizart at
gmail.com > - 1.0.2-1
- Update to 1.0.2
--- vlc-1.0-bugfix-bp-font_family.patch DELETED ---
--- vlc-1.0-bugfix-bp_zip_qt4.patch DELETED ---