Source: bowtie
Version: 1.1.1-2
Severity: normal
Tags: patch
User: debian-powe...@lists.debian.org

Dear Maintainer,

Please enable this package to build on ppc64el.
I have already made a patch, attached, that includes ppc64el in Makefile and
debian/control files.

Thanks.

-- System Information:
Debian Release: 8.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'stable')
Architecture: ppc64el (ppc64le)

Kernel: Linux 3.16.0-4-powerpc64le (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff -Nru bowtie-1.1.1/debian/changelog bowtie-1.1.1/debian/changelog
--- bowtie-1.1.1/debian/changelog	2015-02-02 20:45:22.000000000 -0500
+++ bowtie-1.1.1/debian/changelog	2015-06-12 09:31:38.000000000 -0400
@@ -1,3 +1,9 @@
+bowtie (1.1.1-2ppc64el1) UNRELEASED; urgency=medium
+
+  * Enabling ppc64el on Makefile and debian/control. 
+
+ -- Fernando Seiti Furusato <ferse...@br.ibm.com>  Fri, 12 Jun 2015 09:30:20 -0400
+
 bowtie (1.1.1-2) unstable; urgency=high
 
   * Team upload.
diff -Nru bowtie-1.1.1/debian/control bowtie-1.1.1/debian/control
--- bowtie-1.1.1/debian/control	2014-10-06 12:54:05.000000000 -0400
+++ bowtie-1.1.1/debian/control	2015-06-12 09:31:27.000000000 -0400
@@ -16,7 +16,7 @@
 Homepage: http://bowtie-bio.sourceforge.net/
 
 Package: bowtie
-Architecture: amd64 kfreebsd-amd64
+Architecture: amd64 kfreebsd-amd64 ppc64el
 Depends: ${shlibs:Depends},
          ${misc:Depends},
          python
diff -Nru bowtie-1.1.1/debian/patches/ppc64el.patch bowtie-1.1.1/debian/patches/ppc64el.patch
--- bowtie-1.1.1/debian/patches/ppc64el.patch	1969-12-31 19:00:00.000000000 -0500
+++ bowtie-1.1.1/debian/patches/ppc64el.patch	2015-06-12 09:30:15.000000000 -0400
@@ -0,0 +1,48 @@
+Index: bowtie-1.1.1/Makefile
+===================================================================
+--- bowtie-1.1.1.orig/Makefile
++++ bowtie-1.1.1/Makefile
+@@ -4,7 +4,7 @@
+ 
+ SEQAN_DIR = /usr/include/seqan
+ SEQAN_INC = -I $(SEQAN_DIR)
+-INC = $(SEQAN_INC) -I third_party
++INC = $(SEQAN_INC)
+ CPP = g++
+ CXX = $(CPP)
+ CC = gcc
+@@ -42,7 +42,7 @@ ifneq (,$(findstring Darwin,$(shell unam
+     MACOS = 1
+ endif
+ 
+-ifneq (,$(findstring 13,$(shell uname -r)))
++ifneq (,$(findstring 12,$(shell uname -r)))
+ 	CPP = clang++
+ 	CC = clang
+ 	EXTRA_FLAGS += -stdlib=libstdc++
+@@ -75,11 +75,11 @@ else
+     PTHREAD_LIB = -lpthread
+ endif
+ 
+-POPCNT_CAPABILITY ?= 1
+-ifeq (1, $(POPCNT_CAPABILITY))
+-    EXTRA_FLAGS += -DPOPCNT_CAPABILITY
+-    INC += -I third_party
+-endif
++#POPCNT_CAPABILITY ?= 1
++#ifeq (1, $(POPCNT_CAPABILITY))
++#    EXTRA_FLAGS += -DPOPCNT_CAPABILITY
++#    INC += -I third_party
++#endif
+ 
+ PREFETCH_LOCALITY = 2
+ PREF_DEF = -DPREFETCH_LOCALITY=$(PREFETCH_LOCALITY)
+@@ -108,7 +108,7 @@ SEARCH_FRAGMENTS = $(wildcard search_*_p
+ VERSION = $(shell cat VERSION)
+ 
+ BITS=32
+-ifeq (x86_64,$(shell uname -m))
++ifneq (,$(filter $(shell uname -m), ppc64le x86_64))
+ 	BITS=64
+ endif
+ # msys will always be 32 bit so look at the cpu arch instead.
diff -Nru bowtie-1.1.1/debian/patches/series bowtie-1.1.1/debian/patches/series
--- bowtie-1.1.1/debian/patches/series	2014-10-06 12:54:05.000000000 -0400
+++ bowtie-1.1.1/debian/patches/series	2015-06-12 09:26:40.000000000 -0400
@@ -8,3 +8,4 @@
 seqan-popcount.patch
 # do_not_use_outdated_copy_of_cpuid_h.patch
 bowtie_ContextLss-1.1-1.4.patch
+ppc64el.patch

Reply via email to