Description: fixes the FTBFS with GCC 10.
Author: Reiner Herrmann <reiner@reiner-h.de>
Forwarded: no
Last-Update: 2021-04-25
Reviewed-By: Guilherme de Paula Xavier Segundo <guilherme.lnx@gmail.com>
Index: ucarp/src/ip_carp.h
===================================================================
--- ucarp.orig/src/ip_carp.h
+++ ucarp/src/ip_carp.h
@@ -70,7 +70,7 @@ struct carp_header {
         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
 
