SHA256
1
0
forked from pool/rsibreak
OBS User unknown 2008-10-22 16:46:13 +00:00 committed by Git OBS Bridge
parent a7f3e0da45
commit 314356f4a2
3 changed files with 34 additions and 1 deletions

22
no-mmx.diff Normal file
View 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

View File

@ -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

View File

@ -26,11 +26,12 @@ Group: Productivity/Other
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: Assists in the Recovery and Prevention of Repetitive Strain Injury
Version: 0.8.9+0.9.0_b4
Release: 1
Release: 2
%define tar_version 0.9.0-beta4
Source: rsibreak-%tar_version.tar.bz2
Patch0: disable-plasma-dep.diff
Patch1: fix-build.diff
Patch2: no-mmx.diff
Provides: kde4-rsibreak = 0.9.0
Obsoletes: kde4-rsibreak <= 0.9.0
@ -50,6 +51,9 @@ Authors:
%setup -n rsibreak-%tar_version -q
%patch0
%patch1
%ifnarch %ix86 x86_64
%patch2
%endif
%build
%cmake_kde4 -d build
@ -82,6 +86,8 @@ rm -rf $RPM_BUILD_ROOT
/usr/share/icons/hicolor/*x*/apps/rsibreak.png
%changelog
* Mon Oct 20 2008 stbinner@suse.de
- fix build on archs without mmx
* Fri Oct 10 2008 wstephenson@suse.de
- update to 0.9.0-beta4
* Fix bugs in config dialog layouts