Étienne Mollier pushed to branch master at Debian Med / gentle
Commits: 15a69c0a by Étienne Mollier at 2024-10-11T10:55:56+02:00 gcc-14-32-bit.patch: new: fix build failure on 32-bit architectures. - - - - - 081d4c83 by Étienne Mollier at 2024-10-11T10:57:14+02:00 Ready for upload to unstable. - - - - - 3 changed files: - debian/changelog - + debian/patches/gcc-14-32-bit.patch - debian/patches/series Changes: ===================================== debian/changelog ===================================== @@ -1,3 +1,10 @@ +gentle (1.9.5~alpha2+dfsg1-2) unstable; urgency=medium + + * Team upload + * gcc-14-32-bit.patch: new: fix build failure on 32-bit architectures. + + -- Étienne Mollier <[email protected]> Fri, 11 Oct 2024 10:56:26 +0200 + gentle (1.9.5~alpha2+dfsg1-1) unstable; urgency=medium * documentation - finally decided not to redistribute GFDLed ===================================== debian/patches/gcc-14-32-bit.patch ===================================== @@ -0,0 +1,43 @@ +Description: fix build failure with gcc 14 on 32-bit platforms. + Interestingly the following type mismatches only occur on 32-bit + platforms because the size_t type are shorter: + . + ureadseq.c:1415:15: error: conflicting types for ‘GCGchecksum’; have ‘long unsigned int(const char *, const size_t, long unsigned int *)’ {aka ‘long unsigned int(const char *, const unsigned int, long unsigned int *)’} + 1415 | unsigned long GCGchecksum( const char *seq, const size_t seqlen, unsigned long *checktotal) + | ^~~~~~~~~~~ + In file included from ureadseq.c:26: + ureadseq.h:140:22: note: previous declaration of ‘GCGchecksum’ with type ‘long unsigned int(const char *, const size_t, size_t *)’ {aka ‘long unsigned int(const char *, const unsigned int, unsigned int *)’} + 140 | extern unsigned long GCGchecksum(const char *seq, const size_t seqlen, size_t *checktotal); + | ^~~~~~~~~~~ + . + ureadseq.c:1487:15: error: conflicting types for ‘CRC32checksum’; have ‘long unsigned int(const char *, size_t, long unsigned int *)’ {aka ‘long unsigned int(const char *, unsigned int, long unsigned int *)’} + 1487 | unsigned long CRC32checksum(const char *seq, size_t seqlen, unsigned long *checktotal) + | ^~~~~~~~~~~~~ + ureadseq.h:139:22: note: previous declaration of ‘CRC32checksum’ with type ‘long unsigned int(const char *, const size_t, size_t *)’ {aka ‘long unsigned int(const char *, const unsigned int, unsigned int *)’} + 139 | extern unsigned long CRC32checksum(const char *seq, const size_t seqlen, size_t *checktotal); + | ^~~~~~~~~~~~~ +Author: Étienne Mollier <[email protected]> +Forwarded: no +Last-Update: 2024-10-11 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +--- gentle.orig/src/ureadseq.c ++++ gentle/src/ureadseq.c +@@ -1412,7 +1412,7 @@ + + + +-unsigned long GCGchecksum( const char *seq, const size_t seqlen, unsigned long *checktotal) ++unsigned long GCGchecksum( const char *seq, const size_t seqlen, size_t *checktotal) + /* GCGchecksum */ + { + register unsigned long check = 0, count = 0; +@@ -1484,7 +1484,7 @@ + 0x2d02ef8dL + }; + +-unsigned long CRC32checksum(const char *seq, size_t seqlen, unsigned long *checktotal) ++unsigned long CRC32checksum(const char *seq, size_t seqlen, size_t *checktotal) + /*CRC32checksum: modified from CRC-32 algorithm found in ZIP compression source */ + { + register unsigned long c = 0xffffffffL; ===================================== debian/patches/series ===================================== @@ -2,3 +2,4 @@ noTinyXMLSources.patch wx3.0-compat.patch HelpDoesNotWork.patch configure_stdcc_17.patch +gcc-14-32-bit.patch View it on GitLab: https://salsa.debian.org/med-team/gentle/-/compare/0b40b4e473382d629033caf0dd2793a8a4404ae4...081d4c8356ea7e446f133ae7bbf171ac77a7a8f0 -- View it on GitLab: https://salsa.debian.org/med-team/gentle/-/compare/0b40b4e473382d629033caf0dd2793a8a4404ae4...081d4c8356ea7e446f133ae7bbf171ac77a7a8f0 You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ debian-med-commit mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit
