Control: tags -1 + patch Hi,
the attached patch fixes the FTBFS with GCC 10. Instead of creating a packed struct, the old code created a global variable named "__packed". Kind regards, Reiner
--- ucarp-1.5.2.orig/src/ip_carp.h +++ ucarp-1.5.2/src/ip_carp.h @@ -70,7 +70,7 @@ u_int16_t carp_cksum; u_int32_t carp_counter[2]; unsigned char carp_md[20]; /* SHA1 HMAC */ -} __packed; +} __attribute__ ((packed)); #define CARP_DFLTTL 255
signature.asc
Description: PGP signature