]> git.pld-linux.org Git - packages/djvulibre.git/commitdiff
- better workaround, release 2
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 4 Dec 2002 20:28:35 +0000 (20:28 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    djvulibre.spec -> 1.12

djvulibre.spec

index 842d64a09b0e07d90f1871955edefcb7b5447981..a3491e3a55d830e9a41c9c8948e50667f6d717c3 100644 (file)
@@ -2,7 +2,7 @@ Summary:        DjVu viewers, encoders and utilities
 Summary(pl):   DjVu - przegl±darki, dekodery oraz narzêdzia
 Name:          djvulibre
 Version:       3.5.9
-Release:       1
+Release:       2
 License:       GPL
 Group:         Applications/Graphics
 Source0:       ftp://ftp.sourceforge.net/pub/sourceforge/djvu/%{name}-%{version}.tar.gz
@@ -23,12 +23,6 @@ BuildRoot:   %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %define                mozdir          /usr/X11R6/lib/mozilla/plugins
 %define                nsdir           /usr/X11R6/lib/netscape/plugins
 
-# compiling by gcc 3.2 with "-O2 -march=athlon" produces djview that only
-# segfaults... maybe miscompilation, but hard to find where :/
-%ifarch athlon
-%define                optflags        -O2 -march=i686
-%endif
-
 %description
 DjVu is a web-centric format and software platform for distributing
 documents and images. DjVu content downloads faster, displays and
@@ -129,6 +123,9 @@ Wtyczka DjVu do Netscape.
 %build
 %{__aclocal}
 %{__autoconf}
+# there seems to be aliasing problem at libdjvu/BSByteStream.cpp:356-357
+# (bug in code or gcc) - happens at least with "-O2 -march=athlon"
+CXXFLAGS="%{rpmcflags} -fno-strict-aliasing"
 %configure
 
 %{__make} depend
@@ -160,7 +157,7 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc COPYRIGHT NEWS README TODO doc/*
 %attr(755,root,root) %{_bindir}/*
-%{_libdir}/lib*.so
+%attr(755,root,root) %{_libdir}/lib*.so
 %{_mandir}/man1/*
 %dir %{_datadir}/djvu
 %{_datadir}/djvu/languages.xml
This page took 0.03579 seconds and 4 git commands to generate.