fix inline asm of MMX/SSE optimizations instead of using -mmmx and the like

This commit is contained in:
Nils Philippsen 2005-05-13 13:57:13 +00:00
parent b06fd014a8
commit 1a3d05791d
2 changed files with 8 additions and 4 deletions

3
gimp-2.2.7-gcc4.patch Normal file
View File

@ -0,0 +1,3 @@
--- gimp-2.2.7/app/composite/gimp-composite-sse2.c.gcc4 2005-05-13 13:15:20.000000000 +0200
--- gimp-2.2.7/app/composite/gimp-composite-sse.c.gcc4 2005-01-08 00:58:33.000000000 +0100
--- gimp-2.2.7/app/composite/gimp-composite-mmx.c.gcc4 2005-01-11 12:27:25.000000000 +0100

View File

@ -14,7 +14,7 @@ Version: 2.2.7
%define minorver 200 %define minorver 200
%define microver %(ver=%{version}; echo ${ver##*.*.}) %define microver %(ver=%{version}; echo ${ver##*.*.})
#define prever pre2 #define prever pre2
Release: %{?prever:0.0.%{prever}.}3 Release: %{?prever:0.0.%{prever}.}4
Epoch: 2 Epoch: 2
License: GPL, LGPL License: GPL, LGPL
Group: Applications/Multimedia Group: Applications/Multimedia
@ -55,9 +55,8 @@ Source0: ftp://ftp.gimp.org/pub/gimp/v%{binver}/%{?prever:testing/}gimp-%{versi
Patch0: gimp-2.0pre3-buildroot.patch Patch0: gimp-2.0pre3-buildroot.patch
Patch1: gimp-2.0.1-gimphelpmissing.patch Patch1: gimp-2.0.1-gimphelpmissing.patch
Patch2: gimp-2.2.3-icontheme.patch Patch2: gimp-2.2.3-icontheme.patch
Patch3: gimp-2.2.4-gcc4.patch Patch3: gimp-2.2.7-gcc4.patch
Patch4: gimp-2.2.4-gifload.patch Patch4: gimp-2.2.4-gifload.patch
Patch5: gimp-2.2.7-cpuinstructionset.patch
%description %description
The GIMP (GNU Image Manipulation Program) is a powerful image The GIMP (GNU Image Manipulation Program) is a powerful image
@ -86,7 +85,6 @@ extensions.
%patch2 -p1 -b .icontheme %patch2 -p1 -b .icontheme
%patch3 -p1 -b .gcc4 %patch3 -p1 -b .gcc4
%patch4 -p1 -b .gifload %patch4 -p1 -b .gifload
%patch5 -p1 -b .cpuinstructionset
%build %build
libtoolize --copy --force libtoolize --copy --force
@ -315,6 +313,9 @@ fi
%{_libdir}/pkgconfig/* %{_libdir}/pkgconfig/*
%changelog %changelog
* Fri May 13 2005 Nils Philippsen <nphilipp@redhat.com>
- fix inline asm of MMX/SSE optimizations instead of using -mmmx and the like
* Fri May 13 2005 Nils Philippsen <nphilipp@redhat.com> * Fri May 13 2005 Nils Philippsen <nphilipp@redhat.com>
- fix cpuinstructionset patch so that it actually uses CPU-specific - fix cpuinstructionset patch so that it actually uses CPU-specific
optimizations optimizations