From d6a67e794841f6b219b7d65dc964f745b63be6a0 Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Sat, 15 Jan 2022 18:48:21 +0000 Subject: Do not ignore *.patch files --- sntpc/gcc-10.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 sntpc/gcc-10.patch (limited to 'sntpc') diff --git a/sntpc/gcc-10.patch b/sntpc/gcc-10.patch new file mode 100644 index 0000000..ed7dbb0 --- /dev/null +++ b/sntpc/gcc-10.patch @@ -0,0 +1,16 @@ +Upstream: Should be +Reason: Fixes compilation under gcc-10 + +diff --git a/ntp.h b/ntp.h +index bfca553..5f8f581 100644 +--- a/ntp.h ++++ b/ntp.h +@@ -107,7 +107,7 @@ struct ntp_msg { + struct l_fixedpt orgtime; + struct l_fixedpt rectime; + struct l_fixedpt xmttime; +-} __packed; ++} __attribute__((__packed__)); + + struct ntp_query { + int fd; -- cgit v1.2.3