[tin-bugs] tin 2.6.5 does not build on OmniOS
Kalevi Kolttonen
kalevi at kolttonen.fi
Fri Jun 26 18:46:03 CEST 2026
Hello!
Tin 2.6.5 does not build on OmniOS and this could
affect Solaris too, but I cannot verify Solaris
as I do not have access to it any more.
The build failure boils down to a different
tputs() signature. I have attached a patch that
fixes the build on OmniOS.
Building on OmniOS also requires:
export CFLAGS="-std=c99" because on OmniOS
curses tries to typedef bool as char and
the default GCC rejects that.
Thanks for this fantastic program! I have
been a happy user since 1994.
br,
KK
-------------- next part --------------
--- tin-2.6.5/include/tin.h 2025-11-17 20:29:55.000000000 +0200
+++ tin-2.6.5-omnios/include/tin.h 2026-06-26 19:38:14.540378755 +0300
@@ -2640,7 +2640,11 @@
#endif /* OUTC_RETURN */
#ifndef OUTC_ARGS
+#if defined(__sun) && defined(__SVR4)
+# define OUTC_ARGS char c
+#else
# define OUTC_ARGS int c
+#endif
#endif /* !OUTC_ARGS */
#if TIN_STDC
More information about the tin-bugs
mailing list