=> Bootstrap dependency digest>=20010302: found digest-20080510
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 lincity-1.12.1nb2
/usr/pkg/bin/gmake  all-recursive
gmake[1]: Entering directory `/scratch/games/lincity/work/lincity-1.12.1'
Making all in m4
gmake[2]: Entering directory `/scratch/games/lincity/work/lincity-1.12.1/m4'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/scratch/games/lincity/work/lincity-1.12.1/m4'
Making all in intl
gmake[2]: Entering directory `/scratch/games/lincity/work/lincity-1.12.1/intl'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/scratch/games/lincity/work/lincity-1.12.1/intl'
Making all in po
gmake[2]: Entering directory `/scratch/games/lincity/work/lincity-1.12.1/po'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/scratch/games/lincity/work/lincity-1.12.1/po'
gmake[2]: Entering directory `/scratch/games/lincity/work/lincity-1.12.1'
if gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include -I/usr/pkg/include  -O2 -I/usr/include -I/usr/pkg/include  -MT lclib.o -MD -MP -MF ".deps/lclib.Tpo" \
  -c -o lclib.o `test -f 'lclib.c' || echo './'`lclib.c; \
then mv -f ".deps/lclib.Tpo" ".deps/lclib.Po"; \
else rm -f ".deps/lclib.Tpo"; exit 1; \
fi
lclib.c:202:30: warning: conversion specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
    printf("couldn't malloc %d bytes!  Dying.\n",size);
                            ~^                   ~~~~
                            %lu
1 warning generated.
if gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include -I/usr/pkg/include  -O2 -I/usr/include -I/usr/pkg/include  -MT power.o -MD -MP -MF ".deps/power.Tpo" \
  -c -o power.o `test -f 'power.c' || echo './'`power.c; \
then mv -f ".deps/power.Tpo" ".deps/power.Po"; \
else rm -f ".deps/power.Tpo"; exit 1; \
fi
power.c:211:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            if (inc = check_grid(mapx - 1, mapy, -1, 0))
                ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
power.c:211:14: note: place parentheses around the assignment to silence this warning
            if (inc = check_grid(mapx - 1, mapy, -1, 0))
                    ^
                (                                      )
power.c:211:14: note: use '==' to turn this assignment into an equality comparison
            if (inc = check_grid(mapx - 1, mapy, -1, 0))
                    ^
                    ==
power.c:220:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            if (inc = check_grid(mapx, mapy - 1, 0, -1))
                ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
power.c:220:14: note: place parentheses around the assignment to silence this warning
            if (inc = check_grid(mapx, mapy - 1, 0, -1))
                    ^
                (                                      )
power.c:220:14: note: use '==' to turn this assignment into an equality comparison
            if (inc = check_grid(mapx, mapy - 1, 0, -1))
                    ^
                    ==
power.c:229:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            if (inc = check_grid(mapx + 1, mapy, 1, 0))
                ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
power.c:229:14: note: place parentheses around the assignment to silence this warning
            if (inc = check_grid(mapx + 1, mapy, 1, 0))
                    ^
                (                                     )
power.c:229:14: note: use '==' to turn this assignment into an equality comparison
            if (inc = check_grid(mapx + 1, mapy, 1, 0))
                    ^
                    ==
power.c:238:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            if (inc = check_grid(mapx, mapy + 1, 0, 1))
                ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
power.c:238:14: note: place parentheses around the assignment to silence this warning
            if (inc = check_grid(mapx, mapy + 1, 0, 1))
                    ^
                (                                     )
power.c:238:14: note: use '==' to turn this assignment into an equality comparison
            if (inc = check_grid(mapx, mapy + 1, 0, 1))
                    ^
                    ==
power.c:254:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
                    if (inc = check_grid(mapx - 1, mapy, -1, 0)) {
                        ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
power.c:254:15: note: place parentheses around the assignment to silence this warning
                    if (inc = check_grid(mapx - 1, mapy, -1, 0)) {
                            ^
                        (                                      )
power.c:254:15: note: use '==' to turn this assignment into an equality comparison
                    if (inc = check_grid(mapx - 1, mapy, -1, 0)) {
                            ^
                            ==
power.c:264:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
                    if (inc = check_grid(mapx, mapy - 1, 0, -1)) {
                        ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
power.c:264:15: note: place parentheses around the assignment to silence this warning
                    if (inc = check_grid(mapx, mapy - 1, 0, -1)) {
                            ^
                        (                                      )
power.c:264:15: note: use '==' to turn this assignment into an equality comparison
                    if (inc = check_grid(mapx, mapy - 1, 0, -1)) {
                            ^
                            ==
power.c:274:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
                    if (inc = check_grid(mapx + 1, mapy, 1, 0)) {
                        ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
power.c:274:15: note: place parentheses around the assignment to silence this warning
                    if (inc = check_grid(mapx + 1, mapy, 1, 0)) {
                            ^
                        (                                     )
power.c:274:15: note: use '==' to turn this assignment into an equality comparison
                    if (inc = check_grid(mapx + 1, mapy, 1, 0)) {
                            ^
                            ==
power.c:283:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
                if (inc = check_grid(mapx, mapy + 1, 0, 1)) {
                    ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
power.c:283:11: note: place parentheses around the assignment to silence this warning
                if (inc = check_grid(mapx, mapy + 1, 0, 1)) {
                        ^
                    (                                     )
power.c:283:11: note: use '==' to turn this assignment into an equality comparison
                if (inc = check_grid(mapx, mapy + 1, 0, 1)) {
                        ^
                        ==
power.c:348:11: warning: implicit declaration of function 'abs' is invalid in C99 [-Wimplicit-function-declaration]
      if (abs (xi - x) < SUBSTATION_RANGE && 
          ^
power.c:428:11: warning: implicit declaration of function 'rand' is invalid in C99 [-Wimplicit-function-declaration]
      r = rand () % numof_substations;
          ^
10 warnings generated.
if gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include -I/usr/pkg/include  -O2 -I/usr/include -I/usr/pkg/include  -MT ldsvguts.o -MD -MP -MF ".deps/ldsvguts.Tpo" \
  -c -o ldsvguts.o `test -f 'ldsvguts.c' || echo './'`ldsvguts.c; \
then mv -f ".deps/ldsvguts.Tpo" ".deps/ldsvguts.Po"; \
else rm -f ".deps/ldsvguts.Tpo"; exit 1; \
fi
ldsvguts.c:769:27: warning: conversion specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
                printf ("Strange size (%d) for short, please mail me.\n",
                                       ~^
                                       %lu
1 warning generated.
if gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include -I/usr/pkg/include  -O2 -I/usr/include -I/usr/pkg/include  -MT engine.o -MD -MP -MF ".deps/engine.Tpo" \
  -c -o engine.o `test -f 'engine.c' || echo './'`engine.c; \
then mv -f ".deps/engine.Tpo" ".deps/engine.Po"; \
else rm -f ".deps/engine.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include -I/usr/pkg/include  -O2 -I/usr/include -I/usr/pkg/include  -MT transport.o -MD -MP -MF ".deps/transport.Tpo" \
  -c -o transport.o `test -f 'transport.c' || echo './'`transport.c; \
then mv -f ".deps/transport.Tpo" ".deps/transport.Po"; \
else rm -f ".deps/transport.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include -I/usr/pkg/include  -O2 -I/usr/include -I/usr/pkg/include  -MT market.o -MD -MP -MF ".deps/market.Tpo" \
  -c -o market.o `test -f 'market.c' || echo './'`market.c; \
then mv -f ".deps/market.Tpo" ".deps/market.Po"; \
else rm -f ".deps/market.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include -I/usr/pkg/include  -O2 -I/usr/include -I/usr/pkg/include  -MT simulate.o -MD -MP -MF ".deps/simulate.Tpo" \
  -c -o simulate.o `test -f 'simulate.c' || echo './'`simulate.c; \
then mv -f ".deps/simulate.Tpo" ".deps/simulate.Po"; \
else rm -f ".deps/simulate.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include -I/usr/pkg/include  -O2 -I/usr/include -I/usr/pkg/include  -MT shrtypes.o -MD -MP -MF ".deps/shrtypes.Tpo" \
  -c -o shrtypes.o `test -f 'shrtypes.c' || echo './'`shrtypes.c; \
then mv -f ".deps/shrtypes.Tpo" ".deps/shrtypes.Po"; \
else rm -f ".deps/shrtypes.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include -I/usr/pkg/include  -O2 -I/usr/include -I/usr/pkg/include  -MT lintypes.o -MD -MP -MF ".deps/lintypes.Tpo" \
  -c -o lintypes.o `test -f 'lintypes.c' || echo './'`lintypes.c; \
then mv -f ".deps/lintypes.Tpo" ".deps/lintypes.Po"; \
else rm -f ".deps/lintypes.Tpo"; exit 1; \
fi
lintypes.c:1515:6: warning: implicitly declaring C library function 'strcpy' with type 'char *(char *, const char *)'
     strcpy (s, _(main_groups[g].name));
     ^
lintypes.c:1515:6: note: please include the header <string.h> or explicitly provide a declaration for 'strcpy'
1 warning generated.
if gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include -I/usr/pkg/include  -O2 -I/usr/include -I/usr/pkg/include  -MT timer.o -MD -MP -MF ".deps/timer.Tpo" \
  -c -o timer.o `test -f 'timer.c' || echo './'`timer.c; \
then mv -f ".deps/timer.Tpo" ".deps/timer.Po"; \
else rm -f ".deps/timer.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include -I/usr/pkg/include  -O2 -I/usr/include -I/usr/pkg/include  -MT fileutil.o -MD -MP -MF ".deps/fileutil.Tpo" \
  -c -o fileutil.o `test -f 'fileutil.c' || echo './'`fileutil.c; \
then mv -f ".deps/fileutil.Tpo" ".deps/fileutil.Po"; \
else rm -f ".deps/fileutil.Tpo"; exit 1; \
fi
fileutil.c:345:5: warning: implicit declaration of function 'HandleError' is invalid in C99 [-Wimplicit-function-declaration]
    HandleError (_("Error. Can't find LINCITY_HOME"), FATAL);
    ^
fileutil.c:639:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  printf (_("Out of memory: malloc failure\n"));
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./lcintl.h:15:19: note: expanded from:
#define _(String) gettext(String)
                  ^~~~~~~~~~~~~~~
2 warnings generated.
if gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include -I/usr/pkg/include  -O2 -I/usr/include -I/usr/pkg/include  -MT shrglobs.o -MD -MP -MF ".deps/shrglobs.Tpo" \
  -c -o shrglobs.o `test -f 'shrglobs.c' || echo './'`shrglobs.c; \
then mv -f ".deps/shrglobs.Tpo" ".deps/shrglobs.Po"; \
else rm -f ".deps/shrglobs.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include -I/usr/pkg/include  -O2 -I/usr/include -I/usr/pkg/include  -MT stats.o -MD -MP -MF ".deps/stats.Tpo" \
  -c -o stats.o `test -f 'stats.c' || echo './'`stats.c; \
then mv -f ".deps/stats.Tpo" ".deps/stats.Po"; \
else rm -f ".deps/stats.Tpo"; exit 1; \
fi
stats.c:177:32: warning: more '%' conversions than data arguments [-Wformat]
        printf("Default in inventory(%d,%d): got %d\n"), 
                                     ~^
stats.c:178:6: warning: expression result unused [-Wunused-value]
            x, y, get_group_of_type(MP_TYPE(x,y));
            ^
stats.c:178:9: warning: expression result unused [-Wunused-value]
            x, y, get_group_of_type(MP_TYPE(x,y));
               ^
3 warnings generated.
gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include -I/usr/pkg/include  -O2 -I/usr/include -I/usr/pkg/include  -DLC_X11=1 -o x_ldsvgui.o -c ldsvgui.c
gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include -I/usr/pkg/include  -O2 -I/usr/include -I/usr/pkg/include  -DLC_X11=1 -o x_splash.o -c splash.c
gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include -I/usr/pkg/include  -O2 -I/usr/include -I/usr/pkg/include  -DLC_X11=1 -o x_lchelp.o -c lchelp.c
lchelp.c:646:33: warning: conversion specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
    sprintf (ss, "button %d %d %d %d %s", x, y, (strlen (st) * 8) + 4, 12, s);
                               ~^               ~~~~~~~~~~~~~~~~~~~~~
                               %lu
1 warning generated.
gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include -I/usr/pkg/include  -O2 -I/usr/include -I/usr/pkg/include  -DLC_X11=1 -o x_main.o -c main.c
main.c:236:5: warning: implicit declaration of function 'unlock_window_size' is invalid in C99 [-Wimplicit-function-declaration]
    unlock_window_size ();
    ^
main.c:744:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        fprintf (outf, _("----- IN TEST MODE -------\n"));
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./lcintl.h:15:19: note: expanded from:
#define _(String) gettext(String)
                  ^~~~~~~~~~~~~~~
main.c:749:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        fprintf (outf, _("Economy is sustainable\n"));
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./lcintl.h:15:19: note: expanded from:
#define _(String) gettext(String)
                  ^~~~~~~~~~~~~~~
3 warnings generated.
gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include -I/usr/pkg/include  -O2 -I/usr/include -I/usr/pkg/include  -DLC_X11=1 -o x_mouse.o -c mouse.c
mouse.c:983:7: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
             _("text -1 20 Choose the type of residence you want\n"));
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./lcintl.h:15:19: note: expanded from:
#define _(String) gettext(String)
                  ^~~~~~~~~~~~~~~
mouse.c:987:7: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
             _("text -1 45 (LB=Low Birthrate HB=High Birthrate)\n"));
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./lcintl.h:15:19: note: expanded from:
#define _(String) gettext(String)
                  ^~~~~~~~~~~~~~~
mouse.c:989:7: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
             _("text -1 55 (LD=Low Deathrate HD=High Deathrate)\n"));
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./lcintl.h:15:19: note: expanded from:
#define _(String) gettext(String)
                  ^~~~~~~~~~~~~~~
mouse.c:991:7: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
             _("text -1 85 Low Tech\n"));
             ^~~~~~~~~~~~~~~~~~~~~~~~~~
./lcintl.h:15:19: note: expanded from:
#define _(String) gettext(String)
                  ^~~~~~~~~~~~~~~
mouse.c:998:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
    fprintf (tempfile, _("tbutton 82 180 return1 pop 50\n"));
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./lcintl.h:15:19: note: expanded from:
#define _(String) gettext(String)
                  ^~~~~~~~~~~~~~~
mouse.c:1000:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
    fprintf (tempfile, _("text 89 195 LB HD\n"));
                       ^~~~~~~~~~~~~~~~~~~~~~~~
./lcintl.h:15:19: note: expanded from:
#define _(String) gettext(String)
                  ^~~~~~~~~~~~~~~
mouse.c:1006:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
    fprintf (tempfile, _("tbutton 164 180 return2 pop 100\n"));
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./lcintl.h:15:19: note: expanded from:
#define _(String) gettext(String)
                  ^~~~~~~~~~~~~~~
mouse.c:1007:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
    fprintf (tempfile, _("text 175 195 HB LD\n"));
                       ^~~~~~~~~~~~~~~~~~~~~~~~~
./lcintl.h:15:19: note: expanded from:
#define _(String) gettext(String)
                  ^~~~~~~~~~~~~~~
mouse.c:1013:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
    fprintf (tempfile, _("tbutton 250 180 return3 pop 200\n"));
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./lcintl.h:15:19: note: expanded from:
#define _(String) gettext(String)
                  ^~~~~~~~~~~~~~~
mouse.c:1014:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
    fprintf (tempfile, _("text 261 195 HB HD\n"));
                       ^~~~~~~~~~~~~~~~~~~~~~~~~
./lcintl.h:15:19: note: expanded from:
#define _(String) gettext(String)
                  ^~~~~~~~~~~~~~~
mouse.c:1016:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
    fprintf (tempfile, _("text -1 215 Click on one to select\n"));
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./lcintl.h:15:19: note: expanded from:
#define _(String) gettext(String)
                  ^~~~~~~~~~~~~~~
mouse.c:1020:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        fprintf (tempfile, _("text -1 255 High Tech\n"));
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
./lcintl.h:15:19: note: expanded from:
#define _(String) gettext(String)
                  ^~~~~~~~~~~~~~~
mouse.c:1026:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        fprintf (tempfile, _("tbutton 78 350 return4 pop 100\n"));
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./lcintl.h:15:19: note: expanded from:
#define _(String) gettext(String)
                  ^~~~~~~~~~~~~~~
mouse.c:1027:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        fprintf (tempfile, _("text 89 365 LB HD\n"));
                           ^~~~~~~~~~~~~~~~~~~~~~~~
./lcintl.h:15:19: note: expanded from:
#define _(String) gettext(String)
                  ^~~~~~~~~~~~~~~
mouse.c:1033:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        fprintf (tempfile, _("tbutton 164 350 return5 pop 200\n"));
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./lcintl.h:15:19: note: expanded from:
#define _(String) gettext(String)
                  ^~~~~~~~~~~~~~~
mouse.c:1034:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        fprintf (tempfile, _("text 175 365 HB LD\n"));
                           ^~~~~~~~~~~~~~~~~~~~~~~~~
./lcintl.h:15:19: note: expanded from:
#define _(String) gettext(String)
                  ^~~~~~~~~~~~~~~
mouse.c:1040:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        fprintf (tempfile, _("tbutton 250 350 return6 pop 400\n"));
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./lcintl.h:15:19: note: expanded from:
#define _(String) gettext(String)
                  ^~~~~~~~~~~~~~~
mouse.c:1041:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        fprintf (tempfile, _("text 261 365 HB HD\n"));
                           ^~~~~~~~~~~~~~~~~~~~~~~~~
./lcintl.h:15:19: note: expanded from:
#define _(String) gettext(String)
                  ^~~~~~~~~~~~~~~
mouse.c:1233:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        else if (draw_ret = do_mt_draw(ox, cx, oy, cy, mt_perm)) {
                 ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mouse.c:1233:20: note: place parentheses around the assignment to silence this warning
        else if (draw_ret = do_mt_draw(ox, cx, oy, cy, mt_perm)) {
                          ^
                 (                                             )
mouse.c:1233:20: note: use '==' to turn this assignment into an equality comparison
        else if (draw_ret = do_mt_draw(ox, cx, oy, cy, mt_perm)) {
                          ^
                          ==
19 warnings generated.
gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include -I/usr/pkg/include  -O2 -I/usr/include -I/usr/pkg/include  -DLC_X11=1 -o x_cliglobs.o -c cliglobs.c
gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include -I/usr/pkg/include  -O2 -I/usr/include -I/usr/pkg/include  -DLC_X11=1 -o x_mps.o -c mps.c
mps.c:483:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        sprintf (s, _("   good"));
                    ^~~~~~~~~~~~
./lcintl.h:15:19: note: expanded from:
#define _(String) gettext(String)
                  ^~~~~~~~~~~~~~~
mps.c:781:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
    sprintf (s, _(" EMPTY "));
                ^~~~~~~~~~~~
./lcintl.h:15:19: note: expanded from:
#define _(String) gettext(String)
                  ^~~~~~~~~~~~~~~
mps.c:1383:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        sprintf (s, _("  (N/A)"));      /* Can't bulldoze grass. */
                    ^~~~~~~~~~~~
./lcintl.h:15:19: note: expanded from:
#define _(String) gettext(String)
                  ^~~~~~~~~~~~~~~
3 warnings generated.
gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include -I/usr/pkg/include  -O2 -I/usr/include -I/usr/pkg/include  -DLC_X11=1 -o x_screen.o -c screen.c
screen.c:1821:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
    count = sprintf(str, _("Money: "));
                         ^~~~~~~~~~~~
./lcintl.h:15:19: note: expanded from:
#define _(String) gettext(String)
                  ^~~~~~~~~~~~~~~
1 warning generated.
gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include -I/usr/pkg/include  -O2 -I/usr/include -I/usr/pkg/include  -DLC_X11=1 -o x_lcx11.o -c lcx11.c
lcx11.c:455:5: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
           _("An error has occurred.  The description is below...\n"));
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./lcintl.h:15:19: note: expanded from:
#define _(String) gettext(String)
                  ^~~~~~~~~~~~~~~
lcx11.c:459:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
      fprintf (stderr, _("Program aborting...\n"));
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~
./lcintl.h:15:19: note: expanded from:
#define _(String) gettext(String)
                  ^~~~~~~~~~~~~~~
lcx11.c:689:17: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        pixmap_putbox (src, 0, 0, bpl, x1, y1, w, h);
                       ^~~
./pixmap.h:28:27: note: passing argument to parameter 'src' here
void pixmap_putbox (char* src, int src_x, int src_y, int src_w,
                          ^
3 warnings generated.
gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include -I/usr/pkg/include  -O2 -I/usr/include -I/usr/pkg/include  -DLC_X11=1 -o x_pixmap.o -c pixmap.c
gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include -I/usr/pkg/include  -O2 -I/usr/include -I/usr/pkg/include  -DLC_X11=1 -o x_geometry.o -c geometry.c
gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include -I/usr/pkg/include  -O2 -I/usr/include -I/usr/pkg/include  -DLC_X11=1 -o x_pbar.o -c pbar.c
gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include -I/usr/pkg/include  -O2 -I/usr/include -I/usr/pkg/include  -DLC_X11=1 -o x_dialbox.o -c dialbox.c
gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include -I/usr/pkg/include  -O2 -I/usr/include -I/usr/pkg/include  -DLC_X11=1 -o x_module_buttons.o -c module_buttons.c
module_buttons.c:481:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        snprintf (s, 100, _("Bulldoze - cost varies"));
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
./lcintl.h:15:19: note: expanded from:
#define _(String) gettext(String)
                  ^~~~~~~~~~~~~~~
1 warning generated.
gcc  -O2 -I/usr/include -I/usr/pkg/include   -L/usr/lib -Wl,-rpath,/usr/lib -L/usr/pkg/lib -Wl,-rpath,/usr/pkg/lib -o xlincity  lclib.o power.o ldsvguts.o engine.o transport.o market.o simulate.o shrtypes.o lintypes.o timer.o fileutil.o shrglobs.o stats.o x_ldsvgui.o x_splash.o x_lchelp.o x_main.o x_mouse.o x_cliglobs.o x_mps.o x_screen.o x_lcx11.o x_pixmap.o x_geometry.o x_pbar.o x_dialbox.o x_module_buttons.o -lXext -lX11 -lm -lSM -lICE  -lintl
x_mouse.o: In function `mt_draw':
mouse.c:(.text+0xd15): undefined reference to `mt_erase'
mouse.c:(.text+0xd55): undefined reference to `mt_perm'
mouse.c:(.text+0xde1): undefined reference to `mt_erase'
mouse.c:(.text+0xe38): undefined reference to `mt_erase'
mouse.c:(.text+0xe55): undefined reference to `mt_temp'
mouse.c:(.text+0xe76): undefined reference to `mt_erase'
mouse.c:(.text+0xf6a): undefined reference to `mt_temp'
mouse.c:(.text+0xf8b): undefined reference to `mt_erase'
x_lcx11.o: In function `Fgl_setpixel':
lcx11.c:(.text+0xf2d): undefined reference to `pixmap_index'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[2]: *** [xlincity] Error 1
gmake[2]: Leaving directory `/scratch/games/lincity/work/lincity-1.12.1'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/scratch/games/lincity/work/lincity-1.12.1'
gmake: *** [all] Error 2
*** Error code 2

Stop.
make: stopped in /bulk-data/pkgsrc/games/lincity
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/games/lincity
