Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
---|---|---|---|---|---|---|
gcc10.patch | fix ftbfs with gcc 10 | Étienne Mollier <etienne.mollier@mailoo.org> | invalid | debian | 2020-05-08 | |
hardening.patch | Enable propagation of hardening flags | Andreas Tille <tille@debian.org> | no | 2012-05-15 | ||
add_clean_target.patch | Add clean target to upstream MakefileLast-Update Mon, 02 May 2016 15:37:17 +0200 | Andreas Tille <tille@debian.org> | no | |||
gcc14.patch | fix incompatible pointer types with gcc 14. This patch fixes a number of build failures caused by incompatible pointer types, now fatal with gcc 14. Typical symptom looks like: . In file included from baseml.c:131: treesub.c: In function ‘IdenticalSeqs’: In file included from codeml.c:238: treesub.c: In function ‘IdenticalSeqs’: treesub.c:1310:33: error: passing argument 3 of ‘printSeqs’ from incompatible pointer type [-Wincompatible-pointer-types] 1310 | printSeqs(ftmp, com.z, com.spname, com.ns, com.ls, com.npatt, com.fpatt, NULL, keep, 1); | ~~~^~~~~~~ | | | char ** In file included from baseml.c:11: paml.h:150:63: note: expected ‘unsigned char **’ but argument is of type ‘char **’ 150 | void printSeqs(FILE *fout, unsigned char *z[], unsigned char *spnames[], int ns, int ls, int npatt, double fpatt[], int *pose, char keep[], int format); | ~~~~~~~~~~~~~~~^~~~~~~~~ treesub.c:1310:33: error: passing argument 3 of ‘printSeqs’ from incompatible pointer type [-Wincompatible-pointer-types] 1310 | printSeqs(ftmp, com.z, com.spname, com.ns, com.ls, com.npatt, com.fpatt, NULL, keep, 1); | ~~~^~~~~~~ | | | char ** . Every time when a change was needed, the plain "char" type was favored over the "unsigned char" type. This is to allow the compiler to set the optimum char signature depending on the target CPU architecture (e.g. signed char for x86_64, unsigned char for Aarch64). |
Étienne Mollier <emollier@debian.org> | no | debian | 2024-07-15 |