=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Building for ufoai-2.2.1nb47
 * [UFO] src/client/cl_actor.c
src/client/cl_actor.c: In function 'SetWeaponButton':
src/client/cl_actor.c:422:13: warning: comparison between 'cl_reaction_firemode_type_t {aka enum <anonymous>}' and 'enum <anonymous>' [-Wenum-compare]
  ||  (state == BT_STATE_HIGHLIGHT)) {
             ^~
src/client/cl_actor.c:426:19: warning: comparison between 'cl_reaction_firemode_type_t {aka enum <anonymous>}' and 'enum <anonymous>' [-Wenum-compare]
  } else if (state == BT_STATE_DESELECT) {
                   ^~
src/client/cl_actor.c:428:19: warning: comparison between 'cl_reaction_firemode_type_t {aka enum <anonymous>}' and 'enum <anonymous>' [-Wenum-compare]
  } else if (state == BT_STATE_DISABLE) {
                   ^~
src/client/cl_actor.c: In function 'CL_ActorStartShoot':
src/client/cl_actor.c:2812:13: warning: variable 'fd' set but not used [-Wunused-but-set-variable]
  fireDef_t *fd;
             ^~
 * [UFO] src/client/cl_aliencont.c
src/client/cl_aliencont.c: In function 'AC_AddOne_f':
src/client/cl_aliencont.c:857:16: warning: variable 'containment' set but not used [-Wunused-but-set-variable]
  aliensCont_t *containment = NULL;
                ^~~~~~~~~~~
src/client/cl_aliencont.c:855:6: warning: variable 'length' set but not used [-Wunused-but-set-variable]
  int length;
      ^~~~~~
 * [UFO] src/client/cl_aircraft.c
src/client/cl_aircraft.c: In function 'AIR_AircraftSelect':
src/client/cl_aircraft.c:602:6: warning: variable 'idx' set but not used [-Wunused-but-set-variable]
  int idx;
      ^~~
src/client/cl_aircraft.c:599:14: warning: variable 'node' set but not used [-Wunused-but-set-variable]
  menuNode_t *node = NULL;
              ^~~~
src/client/cl_aircraft.c: In function 'AIR_AircraftsNotifyUfoRemoved':
src/client/cl_aircraft.c:1572:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for (base = gd.bases + gd.numBases - 1; base >= gd.bases; base--)
  ^~~
src/client/cl_aircraft.c:1580:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   for (i = 0; i < base->maxLasers; i++) {
   ^~~
At top level:
src/client/cl_aircraft.c:40:18: warning: 'DISTANCE' defined but not used [-Wunused-const-variable=]
 static const int DISTANCE = 15;
                  ^~~~~~~~
 * [UFO] src/client/cl_airfight.c
 * [UFO] src/client/cl_basemanagement.c
 * [UFO] src/client/cl_basesummary.c
 * [UFO] src/client/cl_campaign.c
src/client/cl_campaign.c: In function 'CL_UpdateCharacterStats':
src/client/cl_campaign.c:3090:14: warning: variable 'aircraft' set but not used [-Wunused-but-set-variable]
  aircraft_t *aircraft;
              ^~~~~~~~
 * [UFO] src/client/cl_cinematic.c
 * [UFO] src/client/cl_console.c
 * [UFO] src/client/cl_event.c
 * [UFO] src/client/cl_employee.c
 * [UFO] src/client/cl_fx.c
 * [UFO] src/client/cl_hospital.c
 * [UFO] src/client/cl_http.c
 * [UFO] src/client/cl_inventory.c
 * [UFO] src/client/cl_input.c
src/client/cl_input.c: In function 'CL_CameraMoveRemote':
src/client/cl_input.c:947:18: warning: variable 'rotaccel' set but not used [-Wunused-but-set-variable]
  float rotspeed, rotaccel;
                  ^~~~~~~~
src/client/cl_input.c:945:29: warning: variable 'g_up' set but not used [-Wunused-but-set-variable]
  vec3_t g_forward, g_right, g_up;
                             ^~~~
src/client/cl_input.c: In function 'IN_Frame':
src/client/cl_input.c:1494:11: warning: variable 'down' set but not used [-Wunused-but-set-variable]
  qboolean down;
           ^~~~
 * [UFO] src/client/cl_irc.c
src/client/cl_irc.c:64:19: warning: 'IRC_QUIT_MSG' defined but not used [-Wunused-const-variable=]
 static const char IRC_QUIT_MSG[] = "ufoai.sf.net";
                   ^~~~~~~~~~~~
 * [UFO] src/client/cl_keys.c
 * [UFO] src/client/cl_language.c
 * [UFO] src/client/cl_le.c
 * [UFO] src/client/cl_main.c
src/client/cl_main.c: In function 'CL_TeamNum_f':
src/client/cl_main.c:1319:6: warning: variable 'max' set but not used [-Wunused-but-set-variable]
  int max = 4;
      ^~~
src/client/cl_main.c: In function 'CL_PrecacheModels':
src/client/cl_main.c:1567:8: warning: variable 'loading' set but not used [-Wunused-but-set-variable]
  float loading;
        ^~~~~~~
 * [UFO] src/client/cl_menu.c
src/client/cl_menu.c: In function 'MN_Translate_f':
src/client/cl_menu.c:3589:11: warning: variable 'next' set but not used [-Wunused-but-set-variable]
  qboolean next;
           ^~~~
src/client/cl_menu.c: At top level:
src/client/cl_menu.c:4076:104: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
 static qboolean MN_ParseAction (menuNode_t * menuNode, menuAction_t * action, const char **text, const const char **token)
                                                                                                        ^~~~~
 * [UFO] src/client/cl_market.c
 * [UFO] src/client/cl_map.c
 * [UFO] src/client/cl_mapfightequip.c
src/client/cl_mapfightequip.c: In function 'AII_InitialiseSlot':
src/client/cl_mapfightequip.c:1673:24: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
  memset(slot, 0, sizeof(slot)); /* all values to 0 */
                        ^
 * [UFO] src/client/cl_popup.c
 * [UFO] src/client/cl_produce.c
src/client/cl_produce.c: In function 'PR_ProductionStop_f':
src/client/cl_produce.c:1244:11: warning: variable 'disassembling' set but not used [-Wunused-but-set-variable]
  qboolean disassembling = qfalse;
           ^~~~~~~~~~~~~
 * [UFO] src/client/cl_parse.c
 * [UFO] src/client/cl_particle.c
src/client/cl_particle.c: In function 'CL_ParticleRun2':
src/client/cl_particle.c:1064:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
   } else
     ^~~~
src/client/cl_particle.c:1066:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
    if (p->thinkFade)
    ^~
 * [UFO] src/client/cl_radar.c
 * [UFO] src/client/cl_research.c
 * [UFO] src/client/cl_save.c
 * [UFO] src/client/cl_shader.c
 * [UFO] src/client/cl_screen.c
src/client/cl_screen.c: In function 'SCR_DrawDebugGraph':
src/client/cl_screen.c:100:13: warning: variable 'now' set but not used [-Wunused-but-set-variable]
  struct tm *now;
             ^~~
src/client/cl_screen.c:99:13: warning: variable 'fps' set but not used [-Wunused-but-set-variable]
  static int fps;
             ^~~
At top level:
src/client/cl_screen.c:425:21: warning: 'cursorBG' defined but not used [-Wunused-const-variable=]
 static const vec4_t cursorBG = { 0.0f, 0.0f, 0.0f, 0.7f };
                     ^~~~~~~~
 * [UFO] src/client/cl_sound.c
 * [UFO] src/client/cl_sequence.c
 * [UFO] src/client/cl_team.c
src/client/cl_team.c: In function 'CL_ParseResults':
src/client/cl_team.c:2060:6: warning: variable 'num_spawned' set but not used [-Wunused-but-set-variable]
  int num_spawned[MAX_TEAMS];
      ^~~~~~~~~~~
src/client/cl_team.c: In function 'CL_ParseUGVs':
src/client/cl_team.c:2414:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   for (v = ugvValues; v->string; v++)
   ^~~
src/client/cl_team.c:2423:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
    if (!v->string)
    ^~
src/client/cl_team.c: In function 'CL_TeamListDebug_f':
src/client/cl_team.c:1472:15: warning: 'chr' may be used uninitialized in this function [-Wmaybe-uninitialized]
    employee = E_GetEmployeeFromChrUCN(chr->ucn);
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 * [UFO] src/client/cl_tip.c
 * [UFO] src/client/cl_transfer.c
 * [UFO] src/client/cl_ufo.c
 * [UFO] src/client/cl_ufopedia.c
src/client/cl_ufopedia.c: In function 'UP_ItemDescription':
src/client/cl_ufopedia.c:426:33: warning: comparison between 'aircraftItemType_t {aka enum <anonymous>}' and 'enum <anonymous>' [-Wenum-compare]
   } else if (od->craftitem.type != AIR_STATS_MAX) {
                                 ^~
 * [UFO] src/client/cl_vid.c
 * [UFO] src/client/cl_view.c
 * [UFO] src/common/cmd.c
 * [UFO] src/common/http.c
 * [UFO] src/common/ioapi.c
 * [UFO] src/common/unzip.c
 * [UFO] src/common/cmodel.c
 * [UFO] src/common/common.c
 * [UFO] src/common/cvar.c
 * [UFO] src/common/files.c
 * [UFO] src/common/md4.c
 * [UFO] src/common/md5.c
src/common/md5.c: In function 'MD5Final':
src/common/md5.c:259:23: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
  memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */
                       ^
 * [UFO] src/common/mem.c
src/common/mem.c: In function '_Mem_TouchPool':
src/common/mem.c:489:11: warning: variable 'startTime' set but not used [-Wunused-but-set-variable]
  uint32_t startTime;
           ^~~~~~~~~
 * [UFO] src/common/msg.c
 * [UFO] src/common/net.c
 * [UFO] src/common/netpack.c
 * [UFO] src/common/dbuffer.c
 * [UFO] src/common/scripts.c
 * [UFO] src/server/sv_ccmds.c
 * [UFO] src/server/sv_game.c
 * [UFO] src/server/sv_init.c
 * [UFO] src/server/sv_main.c
 * [UFO] src/server/sv_send.c
 * [UFO] src/server/sv_user.c
 * [UFO] src/server/sv_world.c
src/server/sv_world.c: In function 'SV_AreaEdicts_r':
src/server/sv_world.c:214:6: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  int count;
      ^~~~~
 * [UFO] src/game/q_shared.c
src/game/q_shared.c: In function 'Q_strncpyzDebug':
src/game/q_shared.c:1066:5: warning: nonnull argument 'dest' compared to NULL [-Wnonnull-compare]
  if (!dest)
     ^
src/game/q_shared.c:1068:5: warning: nonnull argument 'src' compared to NULL [-Wnonnull-compare]
  if (!src)
     ^
 * [UFO] src/game/inv_shared.c
src/game/inv_shared.c: In function 'INVSH_DestroyInventory':
src/game/inv_shared.c:743:5: warning: nonnull argument 'i' compared to NULL [-Wnonnull-compare]
  if (!i)
     ^
 * [UFO] src/renderer/r_anim.c
In file included from src/renderer/qgl.h:29:0,
                 from src/renderer/r_local.h:39,
                 from src/renderer/r_anim.c:26:
/pbulk/work/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:116:0: warning: "GL_GLEXT_VERSION" redefined
 #define GL_GLEXT_VERSION 29
 
In file included from /pbulk/work/games/ufoai/work/.buildlink/include/GL/gl.h:2055:0,
                 from /pbulk/work/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:46,
                 from src/renderer/qgl.h:29,
                 from src/renderer/r_local.h:39,
                 from src/renderer/r_anim.c:26:
/pbulk/work/games/ufoai/work/.buildlink/include/GL/glext.h:54:0: note: this is the location of the previous definition
 #define GL_GLEXT_VERSION 20180725
 
 * [UFO] src/renderer/r_shader.c
In file included from src/renderer/qgl.h:29:0,
                 from src/renderer/r_local.h:39,
                 from src/renderer/r_shader.c:27:
/pbulk/work/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:116:0: warning: "GL_GLEXT_VERSION" redefined
 #define GL_GLEXT_VERSION 29
 
In file included from /pbulk/work/games/ufoai/work/.buildlink/include/GL/gl.h:2055:0,
                 from /pbulk/work/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:46,
                 from src/renderer/qgl.h:29,
                 from src/renderer/r_local.h:39,
                 from src/renderer/r_shader.c:27:
/pbulk/work/games/ufoai/work/.buildlink/include/GL/glext.h:54:0: note: this is the location of the previous definition
 #define GL_GLEXT_VERSION 20180725
 
 * [UFO] src/renderer/r_draw.c
In file included from src/renderer/qgl.h:29:0,
                 from src/renderer/r_local.h:39,
                 from src/renderer/r_draw.c:25:
/pbulk/work/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:116:0: warning: "GL_GLEXT_VERSION" redefined
 #define GL_GLEXT_VERSION 29
 
In file included from /pbulk/work/games/ufoai/work/.buildlink/include/GL/gl.h:2055:0,
                 from /pbulk/work/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:46,
                 from src/renderer/qgl.h:29,
                 from src/renderer/r_local.h:39,
                 from src/renderer/r_draw.c:25:
/pbulk/work/games/ufoai/work/.buildlink/include/GL/glext.h:54:0: note: this is the location of the previous definition
 #define GL_GLEXT_VERSION 20180725
 
 * [UFO] src/renderer/r_font.c
In file included from src/renderer/qgl.h:29:0,
                 from src/renderer/r_local.h:39,
                 from src/renderer/r_font.c:26:
/pbulk/work/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:116:0: warning: "GL_GLEXT_VERSION" redefined
 #define GL_GLEXT_VERSION 29
 
In file included from /pbulk/work/games/ufoai/work/.buildlink/include/GL/gl.h:2055:0,
                 from /pbulk/work/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:46,
                 from src/renderer/qgl.h:29,
                 from src/renderer/r_local.h:39,
                 from src/renderer/r_font.c:26:
/pbulk/work/games/ufoai/work/.buildlink/include/GL/glext.h:54:0: note: this is the location of the previous definition
 #define GL_GLEXT_VERSION 20180725
 
src/renderer/r_font.c: In function 'R_FontAnalyze':
src/renderer/r_font.c:86:21: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
  memset(f, 0, sizeof(f));
                     ^
 * [UFO] src/renderer/r_image.c
In file included from src/renderer/qgl.h:29:0,
                 from src/renderer/r_local.h:39,
                 from src/renderer/r_image.c:25:
/pbulk/work/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:116:0: warning: "GL_GLEXT_VERSION" redefined
 #define GL_GLEXT_VERSION 29
 
In file included from /pbulk/work/games/ufoai/work/.buildlink/include/GL/gl.h:2055:0,
                 from /pbulk/work/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:46,
                 from src/renderer/qgl.h:29,
                 from src/renderer/r_local.h:39,
                 from src/renderer/r_image.c:25:
/pbulk/work/games/ufoai/work/.buildlink/include/GL/glext.h:54:0: note: this is the location of the previous definition
 #define GL_GLEXT_VERSION 20180725
 
src/renderer/r_image.c: In function 'R_LoadTGA':
src/renderer/r_image.c:392:14: warning: variable 'samples' set but not used [-Wunused-but-set-variable]
  int length, samples, readPixelCount, pixelCount;
              ^~~~~~~
At top level:
src/renderer/r_image.c:645:13: warning: 'jpg_skip_input_data' defined but not used [-Wunused-function]
 static void jpg_skip_input_data (j_decompress_ptr cinfo, long num_bytes)
             ^~~~~~~~~~~~~~~~~~~
src/renderer/r_image.c:639:16: warning: 'jpg_fill_input_buffer' defined but not used [-Wunused-function]
 static boolean jpg_fill_input_buffer (j_decompress_ptr cinfo)
                ^~~~~~~~~~~~~~~~~~~~~
src/renderer/r_image.c:635:13: warning: 'jpg_null' defined but not used [-Wunused-function]
 static void jpg_null (j_decompress_ptr cinfo)
             ^~~~~~~~
 * [UFO] src/renderer/r_light.c
In file included from src/renderer/qgl.h:29:0,
                 from src/renderer/r_local.h:39,
                 from src/renderer/r_light.c:25:
/pbulk/work/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:116:0: warning: "GL_GLEXT_VERSION" redefined
 #define GL_GLEXT_VERSION 29
 
In file included from /pbulk/work/games/ufoai/work/.buildlink/include/GL/gl.h:2055:0,
                 from /pbulk/work/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:46,
                 from src/renderer/qgl.h:29,
                 from src/renderer/r_local.h:39,
                 from src/renderer/r_light.c:25:
/pbulk/work/games/ufoai/work/.buildlink/include/GL/glext.h:54:0: note: this is the location of the previous definition
 #define GL_GLEXT_VERSION 20180725
 
src/renderer/r_light.c:40:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
 static void R_RenderDlight (const dlight_t const* light)
                                            ^~~~~
src/renderer/r_light.c: In function 'R_BuildLightMap':
src/renderer/r_light.c:236:16: warning: variable 'style' set but not used [-Wunused-but-set-variable]
  lightstyle_t *style;
                ^~~~~
src/renderer/r_light.c: In function 'R_LightPoint':
src/renderer/r_light.c:484:8: warning: variable 'light' set but not used [-Wunused-but-set-variable]
  float light;
        ^~~~~
 * [UFO] src/renderer/r_mesh.c
In file included from src/renderer/qgl.h:29:0,
                 from src/renderer/r_local.h:39,
                 from src/renderer/r_mesh.c:26:
/pbulk/work/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:116:0: warning: "GL_GLEXT_VERSION" redefined
 #define GL_GLEXT_VERSION 29
 
In file included from /pbulk/work/games/ufoai/work/.buildlink/include/GL/gl.h:2055:0,
                 from /pbulk/work/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:46,
                 from src/renderer/qgl.h:29,
                 from src/renderer/r_local.h:39,
                 from src/renderer/r_mesh.c:26:
/pbulk/work/games/ufoai/work/.buildlink/include/GL/glext.h:54:0: note: this is the location of the previous definition
 #define GL_GLEXT_VERSION 20180725
 
 * [UFO] src/renderer/r_mesh_md2.c
In file included from src/renderer/qgl.h:29:0,
                 from src/renderer/r_local.h:39,
                 from src/renderer/r_mesh_md2.c:28:
/pbulk/work/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:116:0: warning: "GL_GLEXT_VERSION" redefined
 #define GL_GLEXT_VERSION 29
 
In file included from /pbulk/work/games/ufoai/work/.buildlink/include/GL/gl.h:2055:0,
                 from /pbulk/work/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:46,
                 from src/renderer/qgl.h:29,
                 from src/renderer/r_local.h:39,
                 from src/renderer/r_mesh_md2.c:28:
/pbulk/work/games/ufoai/work/.buildlink/include/GL/glext.h:54:0: note: this is the location of the previous definition
 #define GL_GLEXT_VERSION 20180725
 
src/renderer/r_mesh_md2.c: In function 'R_DrawAliasFrameLerp':
src/renderer/r_mesh_md2.c:58:24: warning: variable 'verts' set but not used [-Wunused-but-set-variable]
  dtrivertx_t *v, *ov, *verts;
                        ^~~~~
 * [UFO] src/renderer/r_mesh_md3.c
In file included from src/renderer/qgl.h:29:0,
                 from src/renderer/r_local.h:39,
                 from src/renderer/r_mesh_md3.c:28:
/pbulk/work/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:116:0: warning: "GL_GLEXT_VERSION" redefined
 #define GL_GLEXT_VERSION 29
 
In file included from /pbulk/work/games/ufoai/work/.buildlink/include/GL/gl.h:2055:0,
                 from /pbulk/work/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:46,
                 from src/renderer/qgl.h:29,
                 from src/renderer/r_local.h:39,
                 from src/renderer/r_mesh_md3.c:28:
/pbulk/work/games/ufoai/work/.buildlink/include/GL/glext.h:54:0: note: this is the location of the previous definition
 #define GL_GLEXT_VERSION 20180725
 
src/renderer/r_mesh_md3.c: In function 'R_DrawAliasMD3FrameLerp':
src/renderer/r_mesh_md3.c:41:8: warning: variable 'alpha' set but not used [-Wunused-but-set-variable]
  float alpha;
        ^~~~~
src/renderer/r_mesh_md3.c:39:9: warning: variable 'tempNormalsArray' set but not used [-Wunused-but-set-variable]
  vec3_t tempNormalsArray[4096];
         ^~~~~~~~~~~~~~~~
 * [UFO] src/renderer/r_model.c
In file included from src/renderer/qgl.h:29:0,
                 from src/renderer/r_local.h:39,
                 from src/renderer/r_model.c:26:
/pbulk/work/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:116:0: warning: "GL_GLEXT_VERSION" redefined
 #define GL_GLEXT_VERSION 29
 
In file included from /pbulk/work/games/ufoai/work/.buildlink/include/GL/gl.h:2055:0,
                 from /pbulk/work/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:46,
                 from src/renderer/qgl.h:29,
                 from src/renderer/r_local.h:39,
                 from src/renderer/r_model.c:26:
/pbulk/work/games/ufoai/work/.buildlink/include/GL/glext.h:54:0: note: this is the location of the previous definition
 #define GL_GLEXT_VERSION 20180725
 
 * [UFO] src/renderer/r_model_alias.c
In file included from src/renderer/qgl.h:29:0,
                 from src/renderer/r_local.h:39,
                 from src/renderer/r_model_alias.c:26:
/pbulk/work/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:116:0: warning: "GL_GLEXT_VERSION" redefined
 #define GL_GLEXT_VERSION 29
 
In file included from /pbulk/work/games/ufoai/work/.buildlink/include/GL/gl.h:2055:0,
                 from /pbulk/work/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:46,
                 from src/renderer/qgl.h:29,
                 from src/renderer/r_local.h:39,
                 from src/renderer/r_model_alias.c:26:
/pbulk/work/games/ufoai/work/.buildlink/include/GL/glext.h:54:0: note: this is the location of the previous definition
 #define GL_GLEXT_VERSION 20180725
 
 * [UFO] src/renderer/r_model_brush.c
In file included from src/renderer/qgl.h:29:0,
                 from src/renderer/r_local.h:39,
                 from src/renderer/r_model_brush.c:26:
/pbulk/work/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:116:0: warning: "GL_GLEXT_VERSION" redefined
 #define GL_GLEXT_VERSION 29
 
In file included from /pbulk/work/games/ufoai/work/.buildlink/include/GL/gl.h:2055:0,
                 from /pbulk/work/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:46,
                 from src/renderer/qgl.h:29,
                 from src/renderer/r_local.h:39,
                 from src/renderer/r_model_brush.c:26:
/pbulk/work/games/ufoai/work/.buildlink/include/GL/glext.h:54:0: note: this is the location of the previous definition
 #define GL_GLEXT_VERSION 20180725
 
 * [UFO] src/renderer/r_model_md2.c
In file included from src/renderer/qgl.h:29:0,
                 from src/renderer/r_local.h:39,
                 from src/renderer/r_model_md2.c:26:
/pbulk/work/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:116:0: warning: "GL_GLEXT_VERSION" redefined
 #define GL_GLEXT_VERSION 29
 
In file included from /pbulk/work/games/ufoai/work/.buildlink/include/GL/gl.h:2055:0,
                 from /pbulk/work/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:46,
                 from src/renderer/qgl.h:29,
                 from src/renderer/r_local.h:39,
                 from src/renderer/r_model_md2.c:26:
/pbulk/work/games/ufoai/work/.buildlink/include/GL/glext.h:54:0: note: this is the location of the previous definition
 #define GL_GLEXT_VERSION 20180725
 
 * [UFO] src/renderer/r_model_md3.c
In file included from src/renderer/qgl.h:29:0,
                 from src/renderer/r_local.h:39,
                 from src/renderer/r_model_md3.c:26:
/pbulk/work/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:116:0: warning: "GL_GLEXT_VERSION" redefined
 #define GL_GLEXT_VERSION 29
 
In file included from /pbulk/work/games/ufoai/work/.buildlink/include/GL/gl.h:2055:0,
                 from /pbulk/work/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:46,
                 from src/renderer/qgl.h:29,
                 from src/renderer/r_local.h:39,
                 from src/renderer/r_model_md3.c:26:
/pbulk/work/games/ufoai/work/.buildlink/include/GL/glext.h:54:0: note: this is the location of the previous definition
 #define GL_GLEXT_VERSION 20180725
 
 * [UFO] src/renderer/r_model_obj.c
In file included from src/renderer/qgl.h:29:0,
                 from src/renderer/r_local.h:39,
                 from src/renderer/r_model_obj.c:47:
/pbulk/work/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:116:0: warning: "GL_GLEXT_VERSION" redefined
 #define GL_GLEXT_VERSION 29
 
In file included from /pbulk/work/games/ufoai/work/.buildlink/include/GL/gl.h:2055:0,
                 from /pbulk/work/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:46,
                 from src/renderer/qgl.h:29,
                 from src/renderer/r_local.h:39,
                 from src/renderer/r_model_obj.c:47:
/pbulk/work/games/ufoai/work/.buildlink/include/GL/glext.h:54:0: note: this is the location of the previous definition
 #define GL_GLEXT_VERSION 20180725
 
 * [UFO] src/renderer/r_model_sp2.c
In file included from src/renderer/qgl.h:29:0,
                 from src/renderer/r_local.h:39,
                 from src/renderer/r_model_sp2.c:26:
/pbulk/work/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:116:0: warning: "GL_GLEXT_VERSION" redefined
 #define GL_GLEXT_VERSION 29
 
In file included from /pbulk/work/games/ufoai/work/.buildlink/include/GL/gl.h:2055:0,
                 from /pbulk/work/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:46,
                 from src/renderer/qgl.h:29,
                 from src/renderer/r_local.h:39,
                 from src/renderer/r_model_sp2.c:26:
/pbulk/work/games/ufoai/work/.buildlink/include/GL/glext.h:54:0: note: this is the location of the previous definition
 #define GL_GLEXT_VERSION 20180725
 
 * [UFO] src/renderer/r_main.c
In file included from src/renderer/qgl.h:29:0,
                 from src/renderer/r_local.h:39,
                 from src/renderer/r_main.c:25:
/pbulk/work/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:116:0: warning: "GL_GLEXT_VERSION" redefined
 #define GL_GLEXT_VERSION 29
 
In file included from /pbulk/work/games/ufoai/work/.buildlink/include/GL/gl.h:2055:0,
                 from /pbulk/work/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:46,
                 from src/renderer/qgl.h:29,
                 from src/renderer/r_local.h:39,
                 from src/renderer/r_main.c:25:
/pbulk/work/games/ufoai/work/.buildlink/include/GL/glext.h:54:0: note: this is the location of the previous definition
 #define GL_GLEXT_VERSION 20180725
 
 * [UFO] src/renderer/r_misc.c
In file included from src/renderer/qgl.h:29:0,
                 from src/renderer/r_local.h:39,
                 from src/renderer/r_misc.c:25:
/pbulk/work/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:116:0: warning: "GL_GLEXT_VERSION" redefined
 #define GL_GLEXT_VERSION 29
 
In file included from /pbulk/work/games/ufoai/work/.buildlink/include/GL/gl.h:2055:0,
                 from /pbulk/work/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:46,
                 from src/renderer/qgl.h:29,
                 from src/renderer/r_local.h:39,
                 from src/renderer/r_misc.c:25:
/pbulk/work/games/ufoai/work/.buildlink/include/GL/glext.h:54:0: note: this is the location of the previous definition
 #define GL_GLEXT_VERSION 20180725
 
 * [UFO] src/renderer/r_surf.c
In file included from src/renderer/qgl.h:29:0,
                 from src/renderer/r_local.h:39,
                 from src/renderer/r_surf.c:26:
/pbulk/work/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:116:0: warning: "GL_GLEXT_VERSION" redefined
 #define GL_GLEXT_VERSION 29
 
In file included from /pbulk/work/games/ufoai/work/.buildlink/include/GL/gl.h:2055:0,
                 from /pbulk/work/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:46,
                 from src/renderer/qgl.h:29,
                 from src/renderer/r_local.h:39,
                 from src/renderer/r_surf.c:26:
/pbulk/work/games/ufoai/work/.buildlink/include/GL/glext.h:54:0: note: this is the location of the previous definition
 #define GL_GLEXT_VERSION 20180725
 
src/renderer/r_surf.c: In function 'R_DrawAlphaSurfaces':
src/renderer/r_surf.c:402:8: warning: variable 'intens' set but not used [-Wunused-but-set-variable]
  float intens;
        ^~~~~~
src/renderer/r_surf.c: In function 'R_BuildPolygonFromSurface':
src/renderer/r_surf.c:957:6: warning: variable 'vertpage' set but not used [-Wunused-but-set-variable]
  int vertpage;
      ^~~~~~~~
 * [UFO] src/renderer/r_state.c
In file included from src/renderer/qgl.h:29:0,
                 from src/renderer/r_local.h:39,
                 from src/renderer/r_state.c:25:
/pbulk/work/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:116:0: warning: "GL_GLEXT_VERSION" redefined
 #define GL_GLEXT_VERSION 29
 
In file included from /pbulk/work/games/ufoai/work/.buildlink/include/GL/gl.h:2055:0,
                 from /pbulk/work/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:46,
                 from src/renderer/qgl.h:29,
                 from src/renderer/r_local.h:39,
                 from src/renderer/r_state.c:25:
/pbulk/work/games/ufoai/work/.buildlink/include/GL/glext.h:54:0: note: this is the location of the previous definition
 #define GL_GLEXT_VERSION 20180725
 
 * [UFO] src/renderer/r_warp.c
In file included from src/renderer/qgl.h:29:0,
                 from src/renderer/r_local.h:39,
                 from src/renderer/r_warp.c:26:
/pbulk/work/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:116:0: warning: "GL_GLEXT_VERSION" redefined
 #define GL_GLEXT_VERSION 29
 
In file included from /pbulk/work/games/ufoai/work/.buildlink/include/GL/gl.h:2055:0,
                 from /pbulk/work/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:46,
                 from src/renderer/qgl.h:29,
                 from src/renderer/r_local.h:39,
                 from src/renderer/r_warp.c:26:
/pbulk/work/games/ufoai/work/.buildlink/include/GL/glext.h:54:0: note: this is the location of the previous definition
 #define GL_GLEXT_VERSION 20180725
 
 * [UFO] src/renderer/r_particle.c
In file included from src/renderer/qgl.h:29:0,
                 from src/renderer/r_local.h:39,
                 from src/renderer/r_particle.c:25:
/pbulk/work/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:116:0: warning: "GL_GLEXT_VERSION" redefined
 #define GL_GLEXT_VERSION 29
 
In file included from /pbulk/work/games/ufoai/work/.buildlink/include/GL/gl.h:2055:0,
                 from /pbulk/work/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:46,
                 from src/renderer/qgl.h:29,
                 from src/renderer/r_local.h:39,
                 from src/renderer/r_particle.c:25:
/pbulk/work/games/ufoai/work/.buildlink/include/GL/glext.h:54:0: note: this is the location of the previous definition
 #define GL_GLEXT_VERSION 20180725
 
 * [UFO] src/renderer/r_shadows.c
In file included from src/renderer/qgl.h:29:0,
                 from src/renderer/r_local.h:39,
                 from src/renderer/r_shadows.c:26:
/pbulk/work/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:116:0: warning: "GL_GLEXT_VERSION" redefined
 #define GL_GLEXT_VERSION 29
 
In file included from /pbulk/work/games/ufoai/work/.buildlink/include/GL/gl.h:2055:0,
                 from /pbulk/work/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:46,
                 from src/renderer/qgl.h:29,
                 from src/renderer/r_local.h:39,
                 from src/renderer/r_shadows.c:26:
/pbulk/work/games/ufoai/work/.buildlink/include/GL/glext.h:54:0: note: this is the location of the previous definition
 #define GL_GLEXT_VERSION 20180725
 
src/renderer/r_shadows.c: In function 'R_DrawAliasShadow':
src/renderer/r_shadows.c:127:15: warning: variable 'verts' set but not used [-Wunused-but-set-variable]
  dtrivertx_t *verts;
               ^~~~~
src/renderer/r_shadows.c: In function 'BuildShadowVolume':
src/renderer/r_shadows.c:213:15: warning: variable 'verts' set but not used [-Wunused-but-set-variable]
  dtrivertx_t *verts;
               ^~~~~
src/renderer/r_shadows.c: In function 'R_DrawAliasShadowVolume':
src/renderer/r_shadows.c:373:20: warning: variable 'verts' set but not used [-Wunused-but-set-variable]
  dtrivertx_t *ov, *verts;
                    ^~~~~
src/renderer/r_shadows.c:373:15: warning: variable 'ov' set but not used [-Wunused-but-set-variable]
  dtrivertx_t *ov, *verts;
               ^~
src/renderer/r_shadows.c:368:15: warning: variable 't' set but not used [-Wunused-but-set-variable]
  dtriangle_t *t, *tris;
               ^
src/renderer/r_shadows.c:366:7: warning: variable 'order' set but not used [-Wunused-but-set-variable]
  int *order, i, o, dist;
       ^~~~~
src/renderer/r_shadows.c: In function 'R_DrawShadow':
src/renderer/r_shadows.c:498:17: warning: variable 'backv' set but not used [-Wunused-but-set-variable]
  vec3_t frontv, backv;
                 ^~~~~
src/renderer/r_shadows.c:498:9: warning: variable 'frontv' set but not used [-Wunused-but-set-variable]
  vec3_t frontv, backv;
         ^~~~~~
src/renderer/r_shadows.c:495:7: warning: variable 'order' set but not used [-Wunused-but-set-variable]
  int *order;
       ^~~~~
src/renderer/r_shadows.c:494:24: warning: variable 'verts' set but not used [-Wunused-but-set-variable]
  dtrivertx_t *v, *ov, *verts;
                        ^~~~~
src/renderer/r_shadows.c:494:19: warning: variable 'ov' set but not used [-Wunused-but-set-variable]
  dtrivertx_t *v, *ov, *verts;
                   ^~
src/renderer/r_shadows.c: In function 'R_DrawShadowVolume':
src/renderer/r_shadows.c:574:7: warning: variable 'order' set but not used [-Wunused-but-set-variable]
  int *order;
       ^~~~~
src/renderer/r_shadows.c:572:17: warning: variable 'backv' set but not used [-Wunused-but-set-variable]
  vec3_t frontv, backv;
                 ^~~~~
src/renderer/r_shadows.c:572:9: warning: variable 'frontv' set but not used [-Wunused-but-set-variable]
  vec3_t frontv, backv;
         ^~~~~~
src/renderer/r_shadows.c:569:24: warning: variable 'verts' set but not used [-Wunused-but-set-variable]
  dtrivertx_t *v, *ov, *verts;
                        ^~~~~
src/renderer/r_shadows.c:569:19: warning: variable 'ov' set but not used [-Wunused-but-set-variable]
  dtrivertx_t *v, *ov, *verts;
                   ^~
 * [UFO] src/renderer/qgl.c
In file included from src/renderer/qgl.h:29:0,
                 from src/renderer/r_local.h:39,
                 from src/renderer/qgl.c:26:
/pbulk/work/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:116:0: warning: "GL_GLEXT_VERSION" redefined
 #define GL_GLEXT_VERSION 29
 
In file included from /pbulk/work/games/ufoai/work/.buildlink/include/GL/gl.h:2055:0,
                 from /pbulk/work/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:46,
                 from src/renderer/qgl.h:29,
                 from src/renderer/r_local.h:39,
                 from src/renderer/qgl.c:26:
/pbulk/work/games/ufoai/work/.buildlink/include/GL/glext.h:54:0: note: this is the location of the previous definition
 #define GL_GLEXT_VERSION 20180725
 
 * [UFO] src/renderer/r_sdl.c
In file included from src/renderer/qgl.h:29:0,
                 from src/renderer/r_local.h:39,
                 from src/renderer/r_sdl.c:26:
/pbulk/work/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:116:0: warning: "GL_GLEXT_VERSION" redefined
 #define GL_GLEXT_VERSION 29
 
In file included from /pbulk/work/games/ufoai/work/.buildlink/include/GL/gl.h:2055:0,
                 from /pbulk/work/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:46,
                 from src/renderer/qgl.h:29,
                 from src/renderer/r_local.h:39,
                 from src/renderer/r_sdl.c:26:
/pbulk/work/games/ufoai/work/.buildlink/include/GL/glext.h:54:0: note: this is the location of the previous definition
 #define GL_GLEXT_VERSION 20180725
 
 * [UFO] src/shared/byte.c
 * [UFO] src/shared/infostring.c
 * [UFO] src/shared/shared.c
 * [UFO] src/ports/linux/linux_main.c
 * [UFO] src/ports/unix/unix_console.c
 * [UFO] src/ports/unix/unix_main.c
 * [UFO] src/ports/unix/unix_glob.c
 * [UFO] ... linking  (-lm   -lz -lcurl -ljpeg -lpng -lSDL_ttf -lSDL_mixer -lintl  -L/usr/pkg/lib -Wl,-rpath,/usr/pkg/lib -lSDL -lpthread)
 * [DED] src/common/cmd.c
 * [DED] src/common/http.c
 * [DED] src/common/ioapi.c
 * [DED] src/common/unzip.c
 * [DED] src/common/cmodel.c
 * [DED] src/common/common.c
 * [DED] src/common/cvar.c
 * [DED] src/common/files.c
 * [DED] src/common/md4.c
 * [DED] src/common/md5.c
src/common/md5.c: In function 'MD5Final':
src/common/md5.c:259:23: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
  memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */
                       ^
 * [DED] src/common/mem.c
src/common/mem.c: In function '_Mem_TouchPool':
src/common/mem.c:489:11: warning: variable 'startTime' set but not used [-Wunused-but-set-variable]
  uint32_t startTime;
           ^~~~~~~~~
 * [DED] src/common/msg.c
 * [DED] src/common/dbuffer.c
 * [DED] src/common/net.c
 * [DED] src/common/netpack.c
 * [DED] src/common/scripts.c
 * [DED] src/server/sv_ccmds.c
 * [DED] src/server/sv_game.c
 * [DED] src/server/sv_init.c
 * [DED] src/server/sv_main.c
 * [DED] src/server/sv_send.c
 * [DED] src/server/sv_user.c
 * [DED] src/server/sv_world.c
src/server/sv_world.c: In function 'SV_AreaEdicts_r':
src/server/sv_world.c:214:6: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  int count;
      ^~~~~
 * [DED] src/server/sv_clientstub.c
 * [DED] src/game/q_shared.c
src/game/q_shared.c: In function 'Q_strncpyzDebug':
src/game/q_shared.c:1066:5: warning: nonnull argument 'dest' compared to NULL [-Wnonnull-compare]
  if (!dest)
     ^
src/game/q_shared.c:1068:5: warning: nonnull argument 'src' compared to NULL [-Wnonnull-compare]
  if (!src)
     ^
 * [DED] src/game/inv_shared.c
src/game/inv_shared.c: In function 'INVSH_DestroyInventory':
src/game/inv_shared.c:743:5: warning: nonnull argument 'i' compared to NULL [-Wnonnull-compare]
  if (!i)
     ^
 * [DED] src/shared/byte.c
 * [DED] src/shared/infostring.c
 * [DED] src/shared/shared.c
 * [DED] src/ports/linux/linux_main.c
 * [DED] src/ports/unix/unix_console.c
 * [DED] src/ports/unix/unix_main.c
 * [DED] src/ports/unix/unix_glob.c
 * [DED] ... linking  (-lm   -lz -lcurl -lcurses )
 * [MAP] src/tools/ufo2map/ufo2map.c
 * [MAP] src/tools/ufo2map/qrad3.c
src/tools/ufo2map/qrad3.c: In function 'MakeTransfers':
src/tools/ufo2map/qrad3.c:161:34: warning: variable 'all_transfers' set but not used [-Wunused-but-set-variable]
  float  transfers[MAX_PATCHES], *all_transfers;
                                  ^~~~~~~~~~~~~
 * [MAP] src/tools/ufo2map/qbsp3.c
 * [MAP] src/tools/ufo2map/brushbsp.c
src/tools/ufo2map/brushbsp.c: In function 'SelectSplitSide':
src/tools/ufo2map/brushbsp.c:455:15: warning: variable 'bestsplits' set but not used [-Wunused-but-set-variable]
  int bsplits, bestsplits, epsilonbrush;
               ^~~~~~~~~~
 * [MAP] src/tools/ufo2map/csg.c
 * [MAP] src/tools/ufo2map/faces.c
 * [MAP] src/tools/ufo2map/levels.c
 * [MAP] src/tools/ufo2map/lightmap.c
src/tools/ufo2map/lightmap.c: In function 'LerpTriangle':
src/tools/ufo2map/lightmap.c:280:26: warning: variable 'y2' set but not used [-Wunused-but-set-variable]
  float x, y, x1, y1, x2, y2;
                          ^~
src/tools/ufo2map/lightmap.c:280:14: warning: variable 'x1' set but not used [-Wunused-but-set-variable]
  float x, y, x1, y1, x2, y2;
              ^~
src/tools/ufo2map/lightmap.c: In function 'CreateDirectLights':
src/tools/ufo2map/lightmap.c:661:11: warning: variable 'leaf' set but not used [-Wunused-but-set-variable]
  dleaf_t *leaf;
           ^~~~
 * [MAP] src/tools/ufo2map/map.c
src/tools/ufo2map/map.c: In function 'ParseMapEntity':
src/tools/ufo2map/map.c:701:24: warning: variable 'startsides' set but not used [-Wunused-but-set-variable]
  int i, j, startbrush, startsides;
                        ^~~~~~~~~~
src/tools/ufo2map/map.c:701:12: warning: variable 'startbrush' set but not used [-Wunused-but-set-variable]
  int i, j, startbrush, startsides;
            ^~~~~~~~~~
 * [MAP] src/tools/ufo2map/patches.c
src/tools/ufo2map/patches.c:323:13: warning: 'SubdividePatch' defined but not used [-Wunused-function]
 static void SubdividePatch (patch_t *patch)
             ^~~~~~~~~~~~~~
 * [MAP] src/tools/ufo2map/portals.c
 * [MAP] src/tools/ufo2map/routing.c
 * [MAP] src/tools/ufo2map/textures.c
 * [MAP] src/tools/ufo2map/tree.c
 * [MAP] src/tools/ufo2map/writebsp.c
src/tools/ufo2map/writebsp.c: In function 'EmitPlanes':
src/tools/ufo2map/writebsp.c:74:6: warning: variable 'planetranslate' set but not used [-Wunused-but-set-variable]
  int planetranslate[MAX_MAP_PLANES];
      ^~~~~~~~~~~~~~
 * [MAP] src/tools/ufo2map/common/bspfile.c
 * [MAP] src/tools/ufo2map/common/cmdlib.c
src/tools/ufo2map/common/cmdlib.c: In function 'SetQdirFromPath':
src/tools/ufo2map/common/cmdlib.c:146:24: warning: comparison of constant '47' with boolean expression is always false [-Wbool-compare]
   if ((!c[strlen(c)-1] == '/')
                        ^~
src/tools/ufo2map/common/cmdlib.c:146:24: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
src/tools/ufo2map/common/cmdlib.c:146:8: note: add parentheses around left hand side expression to silence this warning
   if ((!c[strlen(c)-1] == '/')
        ^~~~~~~~~~~~~~~
        (              )
src/tools/ufo2map/common/cmdlib.c:147:24: warning: comparison of constant '92' with boolean expression is always false [-Wbool-compare]
    && (!c[strlen(c)-1] == '\\')
                        ^~
src/tools/ufo2map/common/cmdlib.c:147:24: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
src/tools/ufo2map/common/cmdlib.c:147:8: note: add parentheses around left hand side expression to silence this warning
    && (!c[strlen(c)-1] == '\\')
        ^~~~~~~~~~~~~~~
        (              )
src/tools/ufo2map/common/cmdlib.c:148:24: warning: comparison of constant '58' with boolean expression is always false [-Wbool-compare]
    && (!c[strlen(c)-1] == ':'))
                        ^~
src/tools/ufo2map/common/cmdlib.c:148:24: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
src/tools/ufo2map/common/cmdlib.c:148:8: note: add parentheses around left hand side expression to silence this warning
    && (!c[strlen(c)-1] == ':'))
        ^~~~~~~~~~~~~~~
        (              )
 * [MAP] src/tools/ufo2map/common/mathlib.c
 * [MAP] src/tools/ufo2map/common/polylib.c
 * [MAP] src/tools/ufo2map/common/scriplib.c
 * [MAP] src/tools/ufo2map/common/trace.c
 * [MAP] src/tools/ufo2map/common/imagelib.c
src/tools/ufo2map/common/imagelib.c: In function 'LoadTGA':
src/tools/ufo2map/common/imagelib.c:54:6: warning: variable 'length' set but not used [-Wunused-but-set-variable]
  int length;
      ^~~~~~
At top level:
src/tools/ufo2map/common/imagelib.c:293:13: warning: 'jpg_skip_input_data' defined but not used [-Wunused-function]
 static void jpg_skip_input_data (j_decompress_ptr cinfo, long num_bytes)
             ^~~~~~~~~~~~~~~~~~~
src/tools/ufo2map/common/imagelib.c:284:16: warning: 'jpg_fill_input_buffer' defined but not used [-Wunused-function]
 static boolean jpg_fill_input_buffer (j_decompress_ptr cinfo)
                ^~~~~~~~~~~~~~~~~~~~~
src/tools/ufo2map/common/imagelib.c:277:13: warning: 'jpg_null' defined but not used [-Wunused-function]
 static void jpg_null (j_decompress_ptr cinfo)
             ^~~~~~~~
 * [MAP] src/shared/byte.c
 * [MAP] src/shared/shared.c
 * [MAP] src/common/unzip.c
 * [MAP] src/common/ioapi.c
 * [MAP] ... linking  (-lm   -lz -ljpeg)
 * [GAM] src/game/q_shared.c
src/game/q_shared.c: In function 'Q_strncpyzDebug':
src/game/q_shared.c:1066:5: warning: nonnull argument 'dest' compared to NULL [-Wnonnull-compare]
  if (!dest)
     ^
src/game/q_shared.c:1068:5: warning: nonnull argument 'src' compared to NULL [-Wnonnull-compare]
  if (!src)
     ^
 * [GAM] src/game/g_ai.c
 * [GAM] src/game/g_client.c
 * [GAM] src/game/g_combat.c
 * [GAM] src/game/g_cmds.c
 * [GAM] src/game/g_phys.c
 * [GAM] src/game/g_main.c
src/game/g_main.c:265:16: warning: no previous prototype for 'GetGameAPI' [-Wmissing-prototypes]
 game_export_t *GetGameAPI (game_import_t * import)
                ^~~~~~~~~~
 * [GAM] src/game/g_spawn.c
 * [GAM] src/game/g_svcmds.c
 * [GAM] src/game/g_utils.c
 * [GAM] src/game/inv_shared.c
src/game/inv_shared.c: In function 'INVSH_DestroyInventory':
src/game/inv_shared.c:743:5: warning: nonnull argument 'i' compared to NULL [-Wnonnull-compare]
  if (!i)
     ^
 * [GAM] src/shared/shared.c
 * [GAM] src/shared/infostring.c
 * [GAM] ... linking  (-lm  )
CFLAGS
-----------------------
-O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/SDL -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/pkg/include/freetype2 -D_BSD_SOURCE -D_NETBSD_SOURCE -DSHARED_EXT="so" -DHAVE_CONFIG_H -Wall -pipe -Winline -Wcast-qual -Wcast-align -ansi -Wdeclaration-after-statement -Wmissing-prototypes -Wmissing-declarations -ggdb -O0 -DDEBUG -fno-inline
gmake: *** [Makefile:84: echo_info] Error 1
*** Error code 2

Stop.
make[1]: stopped in /usr/pkgsrc/games/ufoai
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/games/ufoai