[speedcrunch] fix build on ARM (#736873)

Daniel Drake dsd at fedoraproject.org
Sat Oct 8 21:07:43 UTC 2011


commit 615f1ef22122492bd6423f84aff41605a02fbe54
Author: Daniel Drake <dsd at laptop.org>
Date:   Sat Oct 8 21:59:19 2011 +0100

    fix build on ARM (#736873)

 speedcrunch.spec |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/speedcrunch.spec b/speedcrunch.spec
index c590481..c80b128 100644
--- a/speedcrunch.spec
+++ b/speedcrunch.spec
@@ -3,7 +3,7 @@
 
 Name:           speedcrunch
 Version:        0.11
-Release:        0.2.%{pre}%{?dist}
+Release:        0.3.%{pre}%{?dist}
 Summary:        A fast power user calculator
 
 Group:          Applications/Engineering
@@ -16,6 +16,9 @@ BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 # link -lX11 for XInternAtom symbol 
 Patch50: speedcrunch-0.11-alpha-dso_linking.patch
 
+## already upstream
+Patch60: speedcrunch-0.11-char-sign.patch
+
 BuildRequires:  cmake qt4-devel desktop-file-utils ImageMagick
 
 # to be paranoid and include a minimal qt4 dep (ie, require at least the
@@ -32,6 +35,7 @@ full keyboard-friendly and more than 15 built-in math function.
 %setup -q -n speedcrunch-%{version}%{?pre:-%{pre}}
 
 %patch50 -p1 -b .dso_linking
+%patch60 -p1 -b .loop_sign
 
 sed -i 's/\r//' COPYING ChangeLog README
 
@@ -92,6 +96,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/pixmaps/speedcrunch.png
 
 %changelog
+* Sat Oct 08 2011 Daniel Drake <dsd at laptop.org> - 0.11-0.3.alpha
+- Fix build on platforms where char is unsigned, thanks to Henrik Nordström
+
 * Wed Feb 09 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.11-0.2.alpha
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 


More information about the scm-commits mailing list