forked from pool/rsibreak
This commit is contained in:
parent
a7f3e0da45
commit
314356f4a2
22
no-mmx.diff
Normal file
22
no-mmx.diff
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
--- CMakeLists.txt 2008/10/20 18:08:09 1.5
|
||||||
|
+++ CMakeLists.txt 2008/10/20 18:12:17
|
||||||
|
@@ -10,7 +10,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
|
||||||
|
-add_definitions (-mmmx)
|
||||||
|
+#add_definitions (-mmmx)
|
||||||
|
include_directories ( ${KDE4_INCLUDES} ${BLITZ_INCLUDES} )
|
||||||
|
ADD_SUBDIRECTORY( icons )
|
||||||
|
ADD_SUBDIRECTORY( src )
|
||||||
|
--- src/grayouteffect.cpp 2008/10/20 18:23:09 1.1
|
||||||
|
+++ src/grayouteffect.cpp 2008/10/20 18:23:52
|
||||||
|
@@ -34,7 +34,7 @@
|
||||||
|
#include <string>
|
||||||
|
#include <cstring>
|
||||||
|
|
||||||
|
-#if 1
|
||||||
|
+#ifdef __MMX__
|
||||||
|
#include <mmintrin.h>
|
||||||
|
#endif
|
||||||
|
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 20 20:29:40 CEST 2008 - stbinner@suse.de
|
||||||
|
|
||||||
|
- fix build on archs without mmx
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Oct 9 23:15:32 CEST 2008 - wstephenson@suse.de
|
Thu Oct 9 23:15:32 CEST 2008 - wstephenson@suse.de
|
||||||
|
|
||||||
|
@ -26,11 +26,12 @@ Group: Productivity/Other
|
|||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Summary: Assists in the Recovery and Prevention of Repetitive Strain Injury
|
Summary: Assists in the Recovery and Prevention of Repetitive Strain Injury
|
||||||
Version: 0.8.9+0.9.0_b4
|
Version: 0.8.9+0.9.0_b4
|
||||||
Release: 1
|
Release: 2
|
||||||
%define tar_version 0.9.0-beta4
|
%define tar_version 0.9.0-beta4
|
||||||
Source: rsibreak-%tar_version.tar.bz2
|
Source: rsibreak-%tar_version.tar.bz2
|
||||||
Patch0: disable-plasma-dep.diff
|
Patch0: disable-plasma-dep.diff
|
||||||
Patch1: fix-build.diff
|
Patch1: fix-build.diff
|
||||||
|
Patch2: no-mmx.diff
|
||||||
Provides: kde4-rsibreak = 0.9.0
|
Provides: kde4-rsibreak = 0.9.0
|
||||||
Obsoletes: kde4-rsibreak <= 0.9.0
|
Obsoletes: kde4-rsibreak <= 0.9.0
|
||||||
|
|
||||||
@ -50,6 +51,9 @@ Authors:
|
|||||||
%setup -n rsibreak-%tar_version -q
|
%setup -n rsibreak-%tar_version -q
|
||||||
%patch0
|
%patch0
|
||||||
%patch1
|
%patch1
|
||||||
|
%ifnarch %ix86 x86_64
|
||||||
|
%patch2
|
||||||
|
%endif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake_kde4 -d build
|
%cmake_kde4 -d build
|
||||||
@ -82,6 +86,8 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
/usr/share/icons/hicolor/*x*/apps/rsibreak.png
|
/usr/share/icons/hicolor/*x*/apps/rsibreak.png
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Oct 20 2008 stbinner@suse.de
|
||||||
|
- fix build on archs without mmx
|
||||||
* Fri Oct 10 2008 wstephenson@suse.de
|
* Fri Oct 10 2008 wstephenson@suse.de
|
||||||
- update to 0.9.0-beta4
|
- update to 0.9.0-beta4
|
||||||
* Fix bugs in config dialog layouts
|
* Fix bugs in config dialog layouts
|
||||||
|
Loading…
x
Reference in New Issue
Block a user