From 98fb3d68609e979491b1ec78415da2833a93b424 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Wed, 8 Jan 2025 19:17:38 +0100 Subject: package: linux-atm: Revert "fix musl compile" This reverts commit c5dc60b664fcbba2642346c4b80fc407264337b7. This change breaks when compiling using gcc-14. It is also not correct: on_exit() takes two arguments and passes the exit status to the callback as expected by trace_on_exit() here. In contrast, atexit() expects a callback which does not take any arguments and thus the logic for when to print a trace breaks when using it. Signed-off-by: Phil Sutter --- package/linux-atm/patches/patch-src_mpoad_io_c | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 package/linux-atm/patches/patch-src_mpoad_io_c (limited to 'package/linux-atm/patches/patch-src_mpoad_io_c') diff --git a/package/linux-atm/patches/patch-src_mpoad_io_c b/package/linux-atm/patches/patch-src_mpoad_io_c deleted file mode 100644 index 14dd75d00..000000000 --- a/package/linux-atm/patches/patch-src_mpoad_io_c +++ /dev/null @@ -1,18 +0,0 @@ ---- linux-atm-2.5.1.orig/src/mpoad/io.c 2007-12-11 18:46:12.000000000 +0100 -+++ linux-atm-2.5.1/src/mpoad/io.c 2013-08-17 14:41:53.542968628 +0200 -@@ -10,14 +10,7 @@ - #include - #include - #include /* for OPEN_MAX */ --#if __GLIBC__ >= 2 --#include --#else /* ugly hack to make it compile on RH 4.2 - WA */ --#include --#include --#define SYS_poll 168 --_syscall3(int,poll,struct pollfd *,ufds,unsigned int,nfds,int,timeout); --#endif -+#include - #include - #include - #include -- cgit v1.2.3