public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Justin Lecher (jlec)" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in sci-biology/bowtie/files: bowtie-0.12.8-gcc-47.patch
Date: Tue, 19 Jun 2012 11:34:11 +0000 (UTC)	[thread overview]
Message-ID: <20120619113411.AFA0E2004C@flycatcher.gentoo.org> (raw)

jlec        12/06/19 11:34:11

  Added:                bowtie-0.12.8-gcc-47.patch
  Log:
  sci-biology/bowtie: Version Bump, Fix compilation with gcc-4.7, #421919
  
  (Portage version: 2.2.0_alpha110/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  sci-biology/bowtie/files/bowtie-0.12.8-gcc-47.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/bowtie/files/bowtie-0.12.8-gcc-47.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/bowtie/files/bowtie-0.12.8-gcc-47.patch?rev=1.1&content-type=text/plain

Index: bowtie-0.12.8-gcc-47.patch
===================================================================
 alphabet.h |   24 ++++++++++++------------
 1 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/alphabet.h b/alphabet.h
index b464ddf..08d0281 100644
--- a/alphabet.h
+++ b/alphabet.h
@@ -38,6 +38,18 @@ static inline TStr reverseComplement(const TStr& s, bool color) {
 	return s_rc;
 }
 
+/// Reverse a string in-place
+template <typename TStr>
+static inline void reverseInPlace(TStr& s) {
+	typedef typename Value<TStr>::Type TVal;
+	size_t len = length(s);
+	for(size_t i = 0; i < (len>>1); i++) {
+		TVal tmp = s[i];
+		s[i] = s[len-i-1];
+		s[len-i-1] = tmp;
+	}
+}
+
 /**
  * Reverse-complement s in-place.  Ns go to Ns.
  */
@@ -69,18 +81,6 @@ static inline void reverseComplementInPlace(TStr& s, bool color) {
 	}
 }
 
-/// Reverse a string in-place
-template <typename TStr>
-static inline void reverseInPlace(TStr& s) {
-	typedef typename Value<TStr>::Type TVal;
-	size_t len = length(s);
-	for(size_t i = 0; i < (len>>1); i++) {
-		TVal tmp = s[i];
-		s[i] = s[len-i-1];
-		s[len-i-1] = tmp;
-	}
-}
-
 /**
  * Return the reverse-complement of s.
  */






                 reply	other threads:[~2012-06-19 11:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120619113411.AFA0E2004C@flycatcher.gentoo.org \
    --to=jlec@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox