File kdenetwork3-undefine-c99-flexarray.patch of Package kdenetwork3

diff -Naru kdenetwork-3.5.10_orig/kppp/connect.cpp kdenetwork-3.5.10/kppp/connect.cpp
--- kdenetwork-3.5.10_orig/kppp/connect.cpp	2020-03-24 06:32:20.252433817 +0000
+++ kdenetwork-3.5.10/kppp/connect.cpp	2020-03-24 07:08:20.314226014 +0000
@@ -39,6 +39,9 @@
 #include <stdlib.h>
 #include <string.h>
 #include <fcntl.h>
+#include <sys/cdefs.h>
+// disable flex array because member of cmsghdr is added at requester.cpp (Requester::recvFD)
+#undef __glibc_c99_flexarr_available
 #include <netdb.h>
 #include <sys/types.h>
 #include <sys/socket.h>
openSUSE Build Service is sponsored by