netbsd-curses-0.3.2-fix-crossbuild.patch 298 B

12345678910111213141516171819
  1. --- a/libterminfo/compile.c
  2. +++ b/libterminfo/compile.c
  3. @@ -68,7 +68,6 @@ dowarn(int flags, const char *fmt, ...)
  4. }
  5. }
  6. -#ifdef TERMINFO_COMPAT
  7. int
  8. _ti_promote(TIC *tic)
  9. {
  10. @@ -170,7 +169,6 @@ _ti_promote(TIC *tic)
  11. return error;
  12. }
  13. -#endif
  14. char *
  15. _ti_grow_tbuf(TBUF *tbuf, size_t len)