gentoo-ebuilds/sys-firmware/atmel-firmware/files/atmel-firmware-1.3-clang-16-build.patch
Brahmajit Das 1b4e8a16d9
sys-firmware/atmel-firmware: Fix type specifier missing, defaults to int
Closes: https://bugs.gentoo.org/887113
Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/31565
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
2023-07-14 10:29:02 +03:00

13 lines
288 B
Diff

Fix build with clang 16
Bug: https://bugs.gentoo.org/887113
--- a/atmel_fwl.c
+++ b/atmel_fwl.c
@@ -37,7 +37,7 @@ struct atmel_priv_ioctl {
unsigned short len;
};
-main(int argc, char **argv)
+int main(int argc, char **argv)
{
int i, magic, rc, sock = -1;
struct ifreq ifr;