[bowtie] Fix compilation on ARM

verdurin verdurin at fedoraproject.org
Wed Dec 4 23:16:20 UTC 2013


commit a07086761756d82b88345564b3b94bbe5321329b
Author: Adam Huffman <verdurin at fedoraproject.org>
Date:   Wed Dec 4 23:15:58 2013 +0000

    Fix compilation on ARM

 .gitignore  |    1 +
 bowtie.spec |    5 +++++
 sources     |    1 +
 3 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index be9a0fb..e65b63b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 /bowtie-0.12.7-src.zip
 /bowtie-1.0.0-src.zip
+/bowtie-arm-gcc.patch
diff --git a/bowtie.spec b/bowtie.spec
index 9798724..afa25dc 100644
--- a/bowtie.spec
+++ b/bowtie.spec
@@ -8,6 +8,7 @@ Group:		Applications/Engineering
 License:	Artistic 2.0 and zlib and LGPLV3+
 URL:		http://bowtie-bio.sourceforge.net/index.shtml
 Source0:	http://downloads.sourceforge.net/%{name}-bio/%{name}-%{version}-src.zip
+Patch0:		%{name}-arm-gcc.patch
 #Patch0:		%{name}-script-shebang.patch
 #Patch1:		%{name}-gcc47.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -23,6 +24,9 @@ sequences to the human genome. Genome Biol 10:R25.
 %prep
 %setup -q
 
+#Fix compilation on ARM by removing hard-coded Makefile GCC directives
+%patch0 -p1 -b .%{name}-arm-gcc.patch
+
 #%patch0 -p1 
 #Fix compilation with GCC 4.7
 #%patch1 -p1 -b .%{name}-gcc47.patch
@@ -68,6 +72,7 @@ rm -rf %{buildroot}
 * Wed Dec 04 2013 Adam Huffman <bloch at verdurin.com> - 1.0.0-2
 - Correct licence information (thanks to Dave Love)
 - Reorganise documentation (thanks to Dave Love)
+- Fix compilation on ARM
 
 
 * Wed Aug 07 2013 Adam Huffman <bloch at verdurin.com> - 1.0.0-1
diff --git a/sources b/sources
index 2ec7c58..fdbb18e 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
 5384451abd93c2c4c7843c706155ae11  bowtie-1.0.0-src.zip
+b30c6f974e11368f208201bf66164633  bowtie-arm-gcc.patch


More information about the scm-commits mailing list