File: add_missing_header.patch

package info (click to toggle)
psortb 3.0.6%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 121,076 kB
  • sloc: perl: 3,652; ansic: 700; cpp: 338; sh: 27; makefile: 23
file content (37 lines) | stat: -rw-r--r-- 1,267 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Description: Add missing header files
 The patch also complements the funcs.h header file so the Perl XS file
 knows what find_helices is.  For the record, it is defined in
 libmodhmm-dev, there is probably some much needed cleanup to do).

Bug-Debian: https://bugs.debian.org/1070459
Author: Andreas Tille <tille@debian.org>
Reviewed-By: Étienne Mollier <emollier@debian.org>
Last-Update: 2024-05-06

--- psortb.orig/bio-tools-psort-modhmm/binding.c
+++ psortb/bio-tools-psort-modhmm/binding.c
@@ -1,4 +1,5 @@
 #include <stdio.h>
+#include <stdlib.h>
 
 #include "modhmm0.92b/structs.h"
 
--- psortb.orig/bio-tools-psort-modhmm/modhmm0.92b/funcs.h
+++ psortb/bio-tools-psort-modhmm/modhmm0.92b/funcs.h
@@ -300,3 +300,6 @@
 void dump_subst_mtx(int a_size, double *mtx);
 void dump_multi_modules(struct hmm_multi_s *hmmp);
 void dump_weights(double *total_weights, int nr_seqs);
+
+/* hmmsearch */
+int find_helices(char* seq, char* hmmfilename, char* repfilename, char* path);
--- psortb.orig/bio-tools-psort-modhmm/modhmm.xs
+++ psortb/bio-tools-psort-modhmm/modhmm.xs
@@ -2,6 +2,7 @@
 #include "perl.h"
 #include "XSUB.h"
 #include "modhmm0.92b/structs.h"
+#include "modhmm0.92b/funcs.h"
 
 MODULE = Bio::Tools::PSort::ModHMM	PACKAGE = Bio::Tools::PSort::ModHMM