Files
nixpkgs/pkgs/by-name/ax/ax25-apps/glibc-2.42.patch
Sergei Trofimovich a94453374a ax25-apps: fix glibc-2.42 build failure
Without the change the build fails in `master` as https://hydra.nixos.org/build/319882690:

```
io.c:22:10: fatal error: termio.h: No such file or directory
   22 | #include <termio.h>
      |          ^~~~~~~~~~
```
2026-02-14 06:44:36 +00:00

27 lines
535 B
Diff

--- a/ax25ipd/io.c
+++ b/ax25ipd/io.c
@@ -19,20 +19,21 @@
#include <stdlib.h>
#include <string.h>
#include <syslog.h>
-#include <termio.h>
+#include <termios.h>
#include <time.h>
#include <unistd.h>
#include <arpa/inet.h>
#include <netinet/in.h>
#include <netinet/in_systm.h>
#include <netinet/ip.h>
+#include <sys/ioctl.h>
#include <sys/types.h>
#include <sys/time.h>
#include <sys/socket.h>
#include "ax25ipd.h"
-static struct termio nterm;
+static struct termios nterm;
int ttyfd = -1;
static int udpsock = -1;