=> Bootstrap dependency digest>=20010302: found digest-20111104
WARNING: [license.mk] Every package should define a LICENSE.
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Building for ve-1.0
gcc -O2 -DVEDITOR  -c edit.c
edit.c:97:12: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
  register ansix = 0;
  ~~~~~~~~ ^
edit.c:134:3: warning: implicit declaration of function 'move' is invalid in C99 [-Wimplicit-function-declaration]
  move(b_lines, 0);
  ^
edit.c:135:3: warning: implicit declaration of function 'clrtoeol' is invalid in C99 [-Wimplicit-function-declaration]
  clrtoeol();
  ^
edit.c:136:3: warning: implicit declaration of function 'prints' is invalid in C99 [-Wimplicit-function-declaration]
  prints("\033[%sm  編輯文章  \033[31;47m  (Ctrl-G)\033[30m 線上輔助說明  \033[31m(^X,^Q)\033[30m 檔案處理 ║%s│%c%c%c%c║ %3d:%3d  \033[m",
  ^
edit.c:214:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (p = (textline *) malloc(sizeof(textline)))
      ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
edit.c:214:9: note: place parentheses around the assignment to silence this warning
  if (p = (textline *) malloc(sizeof(textline)))
        ^
      (                                        )
edit.c:214:9: note: use '==' to turn this assignment into an equality comparison
  if (p = (textline *) malloc(sizeof(textline)))
        ^
        ==
edit.c:221:3: warning: implicit declaration of function 'abort_bbs' is invalid in C99 [-Wimplicit-function-declaration]
  abort_bbs();
  ^
edit.c:222:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
edit.c:235:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (p->next = n = line->next)
      ~~~~~~~~^~~~~~~~~~~~~~~~
edit.c:235:15: note: place parentheses around the assignment to silence this warning
  if (p->next = n = line->next)
              ^
      (                       )
edit.c:235:15: note: use '==' to turn this assignment into an equality comparison
  if (p->next = n = line->next)
              ^
              ==
edit.c:280:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
undelete_line()
^~~~~~~~~~~~~
edit.c:296:4: warning: implicit declaration of function 'insert_string' is invalid in C99 [-Wimplicit-function-declaration]
   insert_string(deleted_lines->data);
   ^
edit.c:307:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
edit.c:468:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
insert_string(str)
^~~~~~~~~~~~~
edit.c:473:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  while (ch = *str++)
         ~~~^~~~~~~~
edit.c:473:13: note: place parentheses around the assignment to silence this warning
  while (ch = *str++)
            ^
         (          )
edit.c:473:13: note: use '==' to turn this assignment into an equality comparison
  while (ch = *str++)
            ^
            ==
edit.c:477:9: warning: implicit declaration of function 'isprint2' is invalid in C99 [-Wimplicit-function-declaration]
    if (isprint2(ch) || ch == '')
        ^
edit.c:495:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
edit.c:503:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (len = currline->len)
      ~~~~^~~~~~~~~~~~~~~
edit.c:503:11: note: place parentheses around the assignment to silence this warning
  if (len = currline->len)
          ^
      (                  )
edit.c:503:11: note: use '==' to turn this assignment into an equality comparison
  if (len = currline->len)
          ^
          ==
edit.c:547:10: warning: implicit declaration of function 'getdata' is invalid in C99 [-Wimplicit-function-declaration]
    if (!getdata(3, 0, msg, fp_buf + 4, 4, DOECHO))
         ^
edit.c:572:3: warning: implicit declaration of function 'setuserfile' is invalid in C99 [-Wimplicit-function-declaration]
  setuserfile(fp_tmpbuf, tmpf);
  ^
edit.c:577:27: warning: implicit declaration of function 'more' is invalid in C99 [-Wimplicit-function-declaration]
  if (n != 0 && n != 5 && more(fp_tmpbuf, NA) != -1)
                          ^
edit.c:602:7: warning: implicit declaration of function 'dashf' is invalid in C99 [-Wimplicit-function-declaration]
  if (dashf(fp_tmpbuf))
      ^
edit.c:654:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    if (fp = fopen(bakfile, "w"))
        ~~~^~~~~~~~~~~~~~~~~~~~~
edit.c:654:12: note: place parentheses around the assignment to silence this warning
    if (fp = fopen(bakfile, "w"))
           ^
        (                       )
edit.c:654:12: note: use '==' to turn this assignment into an equality comparison
    if (fp = fopen(bakfile, "w"))
           ^
           ==
edit.c:677:5: warning: implicit declaration of function 'stand_title' is invalid in C99 [-Wimplicit-function-declaration]
    stand_title("編輯器自動復原");
    ^
edit.c:730:5: warning: implicit declaration of function 'outs' is invalid in C99 [-Wimplicit-function-declaration]
    outs("文章[1m 沒有 [0m存入");
    ^
edit.c:782:9: warning: implicit declaration of function 'trim' is invalid in C99 [-Wimplicit-function-declaration]
        trim(line);
        ^
edit.c:796:6: warning: implicit declaration of function 'convert' is invalid in C99 [-Wimplicit-function-declaration]
     convert(FPath);
     ^
edit.c:805:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
edit_outs(text)
^~~~~~~~~
edit.c:813:5: warning: implicit declaration of function 'outch' is invalid in C99 [-Wimplicit-function-declaration]
    outch(ch == 27 ? '*' : ch);
    ^
edit.c:815:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
edit.c:817:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
block_outs(char* text, int column)
^~~~~~~~~~
edit.c:825:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
edit.c:861:15: warning: '&&' within '||' [-Wlogical-op-parentheses]
              &&            (currln - curr_window_line + i) <= currln
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
edit.c:861:15: note: place parentheses around the '&&' expression to silence this warning
              &&            (currln - curr_window_line + i) <= currln
              ^
edit.c:864:15: warning: '&&' within '||' [-Wlogical-op-parentheses]
              &&            (currln - curr_window_line + i) <= blockln)) {
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
edit.c:864:15: note: place parentheses around the '&&' expression to silence this warning
              &&            (currln - curr_window_line + i) <= blockln)) {
              ^
edit.c:937:3: warning: implicit declaration of function 'clear' is invalid in C99 [-Wimplicit-function-declaration]
  clear();
  ^
edit.c:959:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
goto_line(int lino)
^~~~~~~~~
edit.c:964:36: warning: '&&' within '||' [-Wlogical-op-parentheses]
       && sscanf(buf, "%d", &lino) && lino > 0) {
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
edit.c:964:36: note: place parentheses around the '&&' expression to silence this warning
       && sscanf(buf, "%d", &lino) && lino > 0) {
                                   ^
edit.c:996:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
edit.c:1022:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
search_str(int mode)
^~~~~~~~~~
edit.c:1038:10: warning: add explicit braces to avoid dangling else [-Wdangling-else]
         else
         ^
edit.c:1101:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
edit.c:1104:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
match_paren()
^~~~~~~~~~~
edit.c:1115:7: error: non-void function 'match_paren' should return a value [-Wreturn-type]
      return;
      ^
edit.c:1237:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
block_del(int hide)
^~~~~~~~~
edit.c:1305:16: warning: add explicit braces to avoid dangling else [-Wdangling-else]
               else
               ^
edit.c:1329:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
         if (fp = fopen(fp_tmpbuf, ans)) {
             ~~~^~~~~~~~~~~~~~~~~~~~~~~
edit.c:1329:17: note: place parentheses around the assignment to silence this warning
         if (fp = fopen(fp_tmpbuf, ans)) {
                ^
             (                         )
edit.c:1329:17: note: use '==' to turn this assignment into an equality comparison
         if (fp = fopen(fp_tmpbuf, ans)) {
                ^
                ==
edit.c:1382:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
block_shift_left()
^~~~~~~~~~~~~~~~
edit.c:1411:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
block_shift_right()
^~~~~~~~~~~~~~~~~
edit.c:1445:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
transform_to_color(char* line)
^~~~~~~~~~~~~~~~~~
edit.c:1458:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
block_color()
^~~~~~~~~~~
edit.c:1535:10: warning: implicit declaration of function 'igetkey' is invalid in C99 [-Wimplicit-function-declaration]
    ch = igetkey();
         ^
edit.c:1550:25: warning: '&&' within '||' [-Wlogical-op-parentheses]
    else if (phone_mode && (pstr = phone_char(ch)) || ch < 0x100 && isprint2(ch))
             ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~
edit.c:1550:25: note: place parentheses around the '&&' expression to silence this warning
    else if (phone_mode && (pstr = phone_char(ch)) || ch < 0x100 && isprint2(ch))
                        ^
             (                                    )
edit.c:1550:66: warning: '&&' within '||' [-Wlogical-op-parentheses]
    else if (phone_mode && (pstr = phone_char(ch)) || ch < 0x100 && isprint2(ch))
                                                   ~~ ~~~~~~~~~~~^~~~~~~~~~~~~~~
edit.c:1550:66: note: place parentheses around the '&&' expression to silence this warning
    else if (phone_mode && (pstr = phone_char(ch)) || ch < 0x100 && isprint2(ch))
                                                                 ^
                                                      (                         )
edit.c:1625:14: warning: implicit declaration of function 'ask' is invalid in C99 [-Wimplicit-function-declaration]
        ch = ask("結束但不儲存 (Y/N)? [N]: ");
             ^
edit.c:1666:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
                 if (tmp = strchr(t, toupper(*(apos++))))
                     ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
edit.c:1666:26: note: place parentheses around the assignment to silence this warning
                 if (tmp = strchr(t, toupper(*(apos++))))
                         ^
                     (                                  )
edit.c:1666:26: note: use '==' to turn this assignment into an equality comparison
                 if (tmp = strchr(t, toupper(*(apos++))))
                         ^
                         ==
edit.c:1674:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
                 if (tmp = strchr(t, toupper(*(apos++))))
                     ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
edit.c:1674:26: note: place parentheses around the assignment to silence this warning
                 if (tmp = strchr(t, toupper(*(apos++))))
                         ^
                     (                                  )
edit.c:1674:26: note: use '==' to turn this assignment into an equality comparison
                 if (tmp = strchr(t, toupper(*(apos++))))
                         ^
                         ==
edit.c:1892:9: warning: implicit declaration of function 'refresh' is invalid in C99 [-Wimplicit-function-declaration]
        refresh();
        ^
edit.c:1893:9: warning: implicit declaration of function 'reset_tty' is invalid in C99 [-Wimplicit-function-declaration]
        reset_tty();
        ^
edit.c:1895:9: warning: implicit declaration of function 'restore_tty' is invalid in C99 [-Wimplicit-function-declaration]
        restore_tty();
        ^
edit.c:2197:11: warning: implicit declaration of function 'rscroll' is invalid in C99 [-Wimplicit-function-declaration]
          rscroll();
          ^
edit.c:2212:11: warning: implicit declaration of function 'scroll' is invalid in C99 [-Wimplicit-function-declaration]
          scroll();
          ^
58 warnings and 1 error generated.
*** Error code 1

Stop.
make: stopped in /scratch/editors/ve/work/ve-1.0
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/editors/ve
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/editors/ve
