1 |
commit: 52a2dc47e0cc577e1385da939e54bad3fd6eae8c |
2 |
Author: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> |
3 |
AuthorDate: Thu Apr 28 00:22:29 2011 +0000 |
4 |
Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> |
5 |
CommitDate: Thu Apr 28 00:22:29 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=52a2dc47 |
7 |
|
8 |
sci-biology/consed-20-r1: added nLine.h patch from upstream to fix negative line numbers in phd files wrapped in phd.ball.1 |
9 |
|
10 |
(Portage version: 2.1.9.43/git/Linux i686, unsigned Manifest commit) |
11 |
|
12 |
--- |
13 |
.../{consed-20.ebuild => consed-20-r1.ebuild} | 1 + |
14 |
sci-biology/consed/files/nLine.h.patch | 17 +++++++++++++++++ |
15 |
2 files changed, 18 insertions(+), 0 deletions(-) |
16 |
|
17 |
diff --git a/sci-biology/consed/consed-20.ebuild b/sci-biology/consed/consed-20-r1.ebuild |
18 |
similarity index 98% |
19 |
rename from sci-biology/consed/consed-20.ebuild |
20 |
rename to sci-biology/consed/consed-20-r1.ebuild |
21 |
index 02673db..6cd983f 100644 |
22 |
--- a/sci-biology/consed/consed-20.ebuild |
23 |
+++ b/sci-biology/consed/consed-20-r1.ebuild |
24 |
@@ -44,6 +44,7 @@ src_prepare() { |
25 |
sed -i -e 's/CFLAGS=/CFLAGS += /' "${S}"/misc/*/Makefile || die |
26 |
sed -i 's!\($szPhredParameterFile =\).*!\1 $ENV{PHRED_PARAMETER_FILE} || "'${EPREFIX}'/usr/share/phred/phredpar.dat";!' "${S}/scripts/"* || die |
27 |
epatch "${FILESDIR}"/nextPhredPipeline.cpp.patch || die |
28 |
+ epatch "${FILESDIR}"/nLine.h.patch || die |
29 |
} |
30 |
|
31 |
src_compile() { |
32 |
|
33 |
diff --git a/sci-biology/consed/files/nLine.h.patch b/sci-biology/consed/files/nLine.h.patch |
34 |
new file mode 100644 |
35 |
index 0000000..9b6779e |
36 |
--- /dev/null |
37 |
+++ b/sci-biology/consed/files/nLine.h.patch |
38 |
@@ -0,0 +1,17 @@ |
39 |
+--- nLine.h.ori 2011-04-28 02:12:58.000000000 +0200 |
40 |
++++ nLine.h 2011-04-28 02:13:43.000000000 +0200 |
41 |
+@@ -44,11 +44,11 @@ |
42 |
+ |
43 |
+ #ifdef DEFINE_nLine |
44 |
+ |
45 |
+-int nLine; |
46 |
++long nLine; |
47 |
+ |
48 |
+ #else |
49 |
+ |
50 |
+-extern int nLine; |
51 |
++extern long nLine; |
52 |
+ |
53 |
+ #endif |
54 |
+ |
55 |
+ |