void-packages/srcpkgs/gcc/patches/musl-no-termio_h.patch
Jürgen Buchmüller 4d4b787a37
gcc: add missing symlinks; add musl ada patch
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
2018-10-29 13:43:07 +01:00

13 lines
538 B
Diff

--- gcc/ada/terminals.c 2018-01-11 09:55:25.000000000 +0100
+++ gcc/ada/terminals.c 2018-10-29 12:53:43.278136221 +0100
@@ -1110,8 +1110,8 @@
/* On some system termio is either absent or including it will disable termios
(HP-UX) */
-#if !defined (__hpux__) && !defined (BSD) && !defined (__APPLE__) \
- && !defined (__rtems__) && !defined (__QNXNTO__)
+#if defined (__GLIBC__) && !defined (__hpux__) && !defined (BSD) \
+ && !defined (__APPLE__) && !defined (__rtems__) && !defined (__QNXNTO__)
# include <termio.h>
#endif