summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2017-12-24 22:09:33 +0100
committerDavid Seifert <soap@gentoo.org>2017-12-24 22:23:36 +0100
commit470054f8e4bca944eff4bed8b471a088d2927a00 (patch)
tree8a08951650076a955cca1bfb62228a12c687e658 /sci-biology/dialign-tx/files/dialign-tx-1.0.2-gnu89-inline.patch
parentsys-auth/polkit: hppa stable wrt bug #632492 (diff)
downloadgentoo-470054f8e4bca944eff4bed8b471a088d2927a00.tar.gz
gentoo-470054f8e4bca944eff4bed8b471a088d2927a00.tar.bz2
gentoo-470054f8e4bca944eff4bed8b471a088d2927a00.zip
sci-biology/dialign-tx: Fix C99 inline semantics
* Also port to EAPI 6 Closes: https://bugs.gentoo.org/640188 Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'sci-biology/dialign-tx/files/dialign-tx-1.0.2-gnu89-inline.patch')
-rw-r--r--sci-biology/dialign-tx/files/dialign-tx-1.0.2-gnu89-inline.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/sci-biology/dialign-tx/files/dialign-tx-1.0.2-gnu89-inline.patch b/sci-biology/dialign-tx/files/dialign-tx-1.0.2-gnu89-inline.patch
new file mode 100644
index 000000000000..21f576f07052
--- /dev/null
+++ b/sci-biology/dialign-tx/files/dialign-tx-1.0.2-gnu89-inline.patch
@@ -0,0 +1,11 @@
+--- a/source/diag.c
++++ b/source/diag.c
+@@ -958,7 +958,7 @@
+ * The pointer returned (and the ones included in the struct)
+ * has to be deallocted explicitely from memory.
+ */
+-inline struct simple_diag_col* find_diags_dialign(struct scr_matrix *smatrix,
++static inline struct simple_diag_col* find_diags_dialign(struct scr_matrix *smatrix,
+ struct prob_dist *pdist, struct seq* seq1,
+ struct seq* seq2, struct alignment *algn,
+ long double **tmp_dist, int round) {