mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
biology/bcf-score: Unbreak build with clang 16
Patch function pointer assignments that went from warning to error with the compiler upgrade Reported by: pkg-fallout
This commit is contained in:
parent
e7f65a58f2
commit
63e5ba4396
@ -1,5 +1,6 @@
|
||||
PORTNAME= bcf-score
|
||||
DISTVERSION= 1.16
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= biology
|
||||
MASTER_SITES= https://software.broadinstitute.org/software/score/
|
||||
DISTFILES+= score_${DISTVERSION}-20221221.tar.gz
|
||||
|
11
biology/bcf-score/files/patch-plugins_munge.c
Normal file
11
biology/bcf-score/files/patch-plugins_munge.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- plugins/munge.c.orig 2023-07-16 07:57:54 UTC
|
||||
+++ plugins/munge.c
|
||||
@@ -120,7 +120,7 @@ int tsv_read_string(tsv_t *tsv, bcf1_t *rec, void *usr
|
||||
return 0;
|
||||
}
|
||||
|
||||
-static const int (*tsv_setters[])(tsv_t *tsv, bcf1_t *rec, void *usr) = {tsv_setter_id_flexible, // SNP
|
||||
+static int (*tsv_setters[])(tsv_t *tsv, bcf1_t *rec, void *usr) = {tsv_setter_id_flexible, // SNP
|
||||
tsv_setter_pos_flexible, // BP
|
||||
tsv_setter_chrom_flexible, // CHR
|
||||
tsv_read_allele, // A1
|
11
biology/bcf-score/files/patch-plugins_score.c
Normal file
11
biology/bcf-score/files/patch-plugins_score.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- plugins/score.c.orig 2023-07-16 08:04:54 UTC
|
||||
+++ plugins/score.c
|
||||
@@ -140,7 +140,7 @@ static int tsv_read_allele(tsv_t *tsv, bcf1_t *rec, vo
|
||||
return 0;
|
||||
}
|
||||
|
||||
-static const int (*tsv_setters[])(tsv_t *tsv, bcf1_t *rec, void *usr) = {tsv_setter_id_flexible, // SNP
|
||||
+static int (*tsv_setters[])(tsv_t *tsv, bcf1_t *rec, void *usr) = {tsv_setter_id_flexible, // SNP
|
||||
tsv_setter_pos_flexible, // BP
|
||||
tsv_setter_chrom_flexible, // CHR
|
||||
tsv_read_allele, // A1
|
Loading…
Reference in New Issue
Block a user