linux-atm/linux-atm-2.5.2-fix-header-conflict.patch
Jiri Bohac d06e95453d - Add linux-atm-C99.patch to fix a wrong type being passed to
functionaccept which violates C99 rules and causes compilation to
  fail with GCC 14 (and IMHO can cause wrong behavior on big-endian
  systems).  [boo#1221006]

If the request is OK, please also forward it to Factory soon-ish so
that we can switch the default compiler.

OBS-URL: https://build.opensuse.org/package/show/Base:System/linux-atm?expand=0&rev=27
2024-07-12 11:52:56 +00:00

13 lines
426 B
Diff

Index: linux-atm-2.5.2/src/maint/zntune.c
===================================================================
--- linux-atm-2.5.2.orig/src/maint/zntune.c
+++ linux-atm-2.5.2/src/maint/zntune.c
@@ -14,6 +14,7 @@
#include <sys/ioctl.h>
#include <atm.h>
#include <sys/time.h> /* for struct timeval, although it's not used */
+#define _LINUX_TIME_H /* block linux/time.h from being included */
#include <linux/atm_zatm.h>