Package: ncurses
Severity: important
Version: 5.7-1
Tags: patch
User: [EMAIL PROTECTED]
Usertags: kfreebsd


Hi,

the current version fails to build on GNU/kFreeBSD.

It needs small tweak, se bellow.

It would also be nice if you can ask upstream
to include this change.

Thanks in advance

                        Petr


--- progs/tset.c
+++ progs/tset.c
@@ -981,7 +981,7 @@
        PC = pad_char[0];
 #endif /* OBSOLETE */

-#ifdef TAB3
+#if defined(TAB3) && defined(ONLCR) && defined(OCRNL) && defined(ONLRET)
     if (oldmode.c_oflag & (TAB3 | ONLCR | OCRNL | ONLRET)) {
        oldmode.c_oflag &= (TAB3 | ONLCR | OCRNL | ONLRET);
        SET_TTY(STDERR_FILENO, &oldmode);




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to