[med-svn] [Git][med-team/fasta3][master] Finalise patch
Andreas Tille (@tille)
gitlab at salsa.debian.org
Wed Sep 24 07:05:11 BST 2025
Andreas Tille pushed to branch master at Debian Med / fasta3
Commits:
f955e828 by Andreas Tille at 2025-09-24T08:04:52+02:00
Finalise patch
- - - - -
1 changed file:
- debian/patches/gcc-15.patch
Changes:
=====================================
debian/patches/gcc-15.patch
=====================================
@@ -305,3 +305,34 @@ Description: Fix gcc-15 build issues
int
pro_dna(const unsigned char *prot_seq, /* array with prot. seq. numbers*/
+--- a/src/map_db.c
++++ b/src/map_db.c
+@@ -61,7 +61,9 @@ typedef off_t fseek_t;
+
+ #define LASTLIB 6
+
+-int (*get_entry) ();
++int (*get_entry)(unsigned char *, int, fseek_t *, fseek_t *);
++
++typedef int (*get_ent_func_t)(unsigned char *, int, fseek_t *, fseek_t *);
+
+ int a_get_ent(unsigned char *, int, fseek_t *, fseek_t *);
+ int gbf_get_ent(unsigned char *, int, fseek_t *, fseek_t *);
+@@ -76,7 +78,7 @@ void src_long8_read(FILE *, int64_t *);
+ void newname(char *nname, char *oname, char *suff, int maxn);
+ void init_ascii0(int *xascii, char *sq_map);
+
+-int (*get_ent_arr[LASTLIB+1])()={a_get_ent, gbf_get_ent, NULL, NULL, NULL,
++get_ent_func_t get_ent_arr[LASTLIB+1] = {a_get_ent, gbf_get_ent, NULL, NULL, NULL,
+ NULL, NULL};
+
+ fseek_t openlib(char *, int);
+@@ -367,7 +369,7 @@ main(int argc, char **argv) {
+ }
+
+ #ifdef BIG_LIB64
+- fprintf(stderr," wrote %d sequences (tot=%lld, max=%ld) to %s\n",
++ fprintf(stderr," wrote %d sequences (tot=%ld, max=%ld) to %s\n",
+ nlib,tot_len,max_len,iname);
+ #else
+ fprintf(stderr," wrote %d sequences (tot=%ld, max=%ld) to %s\n",
View it on GitLab: https://salsa.debian.org/med-team/fasta3/-/commit/f955e828311d0fb7dede9c5c30b447d777d8f243
--
View it on GitLab: https://salsa.debian.org/med-team/fasta3/-/commit/f955e828311d0fb7dede9c5c30b447d777d8f243
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20250924/478edbd3/attachment-0001.htm>
More information about the debian-med-commit
mailing list