rpms/liboil/devel liboil-0.3.13-disable-ppc64-opts.patch, NONE, 1.1 liboil.spec, 1.30, 1.31
Bastien Nocera (hadess)
fedora-extras-commits at redhat.com
Wed Mar 12 17:44:59 UTC 2008
Author: hadess
Update of /cvs/pkgs/rpms/liboil/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1951
Modified Files:
liboil.spec
Added Files:
liboil-0.3.13-disable-ppc64-opts.patch
Log Message:
* Wed Mar 12 2008 - Bastien Nocera <bnocera at redhat.com> - 0.3.13-6
- Disable PPC64 optimisations as rgb2bgr_ppc() crashes on 64-bit
liboil-0.3.13-disable-ppc64-opts.patch:
--- NEW FILE liboil-0.3.13-disable-ppc64-opts.patch ---
--- configure.old 2008-03-12 17:30:29.000000000 +0000
+++ configure 2008-03-12 17:34:06.000000000 +0000
@@ -10534,7 +10534,7 @@ cat >>confdefs.h <<\_ACEOF
_ACEOF
;;
- xpowerpc|xppc|xpowerpc64|xppc64)
+ xpowerpc|xppc)
HAVE_POWERPC=yes
cat >>confdefs.h <<\_ACEOF
@@ -10631,7 +10631,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- flag_ok=yes
+ flag_ok=no
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
@@ -10641,7 +10641,7 @@ fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- if test "X$flag_ok" = Xyes ; then
+ if test "X$flag_ok" = Xyes -a "X$HAVE_POWERPC" = "Xyes" ; then
HAVE_GCC_ASM_POWERPC_FPU=yes
true
else
Index: liboil.spec
===================================================================
RCS file: /cvs/pkgs/rpms/liboil/devel/liboil.spec,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- liboil.spec 11 Mar 2008 14:35:30 -0000 1.30
+++ liboil.spec 12 Mar 2008 17:43:58 -0000 1.31
@@ -1,7 +1,7 @@
Summary: Library of Optimized Inner Loops, CPU optimized functions
Name: liboil
Version: 0.3.13
-Release: 5%{?dist}
+Release: 6%{?dist}
# See COPYING which details everything, various BSD licenses apply
License: BSD
Group: System Environment/Libraries
@@ -12,6 +12,8 @@
Patch2: liboil-0.3.13-better-altivec-detect.patch
# from upstream git
Patch3: clobber-ecx.patch
+# https://bugzilla.redhat.com/show_bug.cgi?id=435771
+Patch4: liboil-0.3.13-disable-ppc64-opts.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: glib2-devel
@@ -43,6 +45,7 @@
%patch1 -p1 -b .s390
%patch2 -p0 -b .better-altivec-detect
%patch3 -p1 -b .clobber-ecx
+%patch4 -p0 -b .disable-ppc64-opts
# Disable Altivec, so that liboil doesn't SIGILL on non-Altivec PPCs
# See https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=252179#c15
@@ -90,6 +93,9 @@
%changelog
+* Wed Mar 12 2008 - Bastien Nocera <bnocera at redhat.com> - 0.3.13-6
+- Disable PPC64 optimisations as rgb2bgr_ppc() crashes on 64-bit
+
* Tue Mar 11 2008 - Bastien Nocera <bnocera at redhat.com> - 0.3.13-5
- Detect Altivec using /proc instead of causing a SIGILL fault
More information about the fedora-extras-commits
mailing list