On Fri, Aug 20, 2010 at 9:02 AM, Ryan Freeman <r...@slipgate.org> wrote: > > included previous conversation as I did not realise it did not make > it to the list. attached is an updated version of my ioquake3 port, > this as Mr Schlichting pointed out does not use the sdl_snd_c patch > anymore, and I decided to sync all patches with the latest for > openarena, as they do share a very similar codebase. I also opted > to include Jacob Meuser's snd_sndio.c which worked without a hitch, > this is working even smoother now esp in regards to sound. I'll be > testing it more myself, comments? > > -ryan >
Hi Ryan, It fails for me on amd64, wheras the previous version works great. Build log attached. Cheers, -- Mattieu Baptiste "/earth is 102% full ... please delete anyone you can."
===> Looking for ioquake3-1.36.tgz in $PKG_PATH - not found *** Error code 1 Stop in /usr/ports/games/ioquake3 (line 1572 of /usr/ports/infrastructure/mk/bsd.port.mk). ===> Checking files for ioquake3-1.36 `/usr/ports/distfiles/ioquake3-1.36.tar.bz2' is up to date. >> (SHA256) ioquake3-1.36.tar.bz2: OK ===> ioquake3-1.36 depends on: gmake-* - found ===> ioquake3-1.36 depends on: bzip2-* - found ===> ioquake3-1.36 depends on: sdl-* - found ===> Verifying specs: SDL.>=7 SDL.>=7 GL c m pthread sndio GL c m pthread sndio ===> found SDL.8.0 GL.10.0 c.56.0 m.5.2 pthread.12.1 sndio.3.3 ===> Extracting for ioquake3-1.36 ===> Patching for ioquake3-1.36 ===> Configuring for ioquake3-1.36 ===> Building for ioquake3-1.36 gmake[1]: Entering directory `/usr/pobj/ioquake3-1.36/ioquake3-1.36' Building ioquake3 in build/release-openbsd: PLATFORM: openbsd ARCH: amd64 VERSION: 1.36 COMPILE_PLATFORM: openbsd COMPILE_ARCH: amd64 CC: cc CFLAGS: -O2 -pipe -MMD -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes -DUSE_ICON -DARCH_STRING="amd64" -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -DNO_VM_COMPILED -I/usr/X11R6/include -I/usr/local/include -DUSE_MUMBLE -DUSE_VOIP -DFLOATING_POINT -DUSE_ALLOCA -Icode/libspeex/include -DDEFAULT_BASEDIR="/usr/local/share/games/quake3/" -DUSE_LOCAL_HEADERS -DPRODUCT_VERSION="1.36" -DNDEBUG -fomit-frame-pointer -pipe -ffast-math -falign-loops=2 -falign-jumps=2 -falign-functions=2 -funroll-loops -fstrength-reduce LDFLAGS: LIBS: -lm Output: build/release-openbsd/ioq3ded build/release-openbsd/ioquake3 build/release-openbsd/baseq3/cgameamd64.so build/release-openbsd/baseq3/qagameamd64.so build/release-openbsd/baseq3/uiamd64.so build/release-openbsd/missionpack/cgameamd64.so build/release-openbsd/missionpack/qagameamd64.so build/release-openbsd/missionpack/uiamd64.so build/release-openbsd/baseq3/vm/cgame.qvm build/release-openbsd/baseq3/vm/qagame.qvm build/release-openbsd/baseq3/vm/ui.qvm build/release-openbsd/missionpack/vm/qagame.qvm build/release-openbsd/missionpack/vm/cgame.qvm build/release-openbsd/missionpack/vm/ui.qvm gmake[2]: Entering directory `/usr/pobj/ioquake3-1.36/ioquake3-1.36' DED_CC code/server/sv_bot.c DED_CC code/server/sv_client.c DED_CC code/server/sv_ccmds.c DED_CC code/server/sv_game.c DED_CC code/server/sv_init.c DED_CC code/server/sv_main.c DED_CC code/server/sv_net_chan.c DED_CC code/server/sv_snapshot.c DED_CC code/server/sv_world.c DED_CC code/qcommon/cm_load.c DED_CC code/qcommon/cm_patch.c DED_CC code/qcommon/cm_polylib.c DED_CC code/qcommon/cm_test.c DED_CC code/qcommon/cm_trace.c DED_CC code/qcommon/cmd.c DED_CC code/qcommon/common.c DED_CC code/qcommon/cvar.c DED_CC code/qcommon/files.c DED_CC code/qcommon/md4.c DED_CC code/qcommon/msg.c DED_CC code/qcommon/net_chan.c DED_CC code/qcommon/net_ip.c In file included from code/qcommon/net_ip.c:65: /usr/include/arpa/inet.h:74: warning: 'struct in_addr' declared inside parameter list /usr/include/arpa/inet.h:74: warning: its scope is only this definition or declaration, which is probably not what you want /usr/include/arpa/inet.h:75: warning: 'struct in_addr' declared inside parameter list DED_CC code/qcommon/huffman.c DED_CC code/qcommon/q_math.c DED_CC code/qcommon/q_shared.c DED_CC code/qcommon/unzip.c DED_CC code/qcommon/vm.c DED_CC code/qcommon/vm_interpreted.c BOT_CC code/botlib/be_aas_bspq3.c BOT_CC code/botlib/be_aas_cluster.c BOT_CC code/botlib/be_aas_debug.c BOT_CC code/botlib/be_aas_entity.c BOT_CC code/botlib/be_aas_file.c BOT_CC code/botlib/be_aas_main.c BOT_CC code/botlib/be_aas_move.c BOT_CC code/botlib/be_aas_optimize.c BOT_CC code/botlib/be_aas_reach.c BOT_CC code/botlib/be_aas_route.c BOT_CC code/botlib/be_aas_routealt.c BOT_CC code/botlib/be_aas_sample.c BOT_CC code/botlib/be_ai_char.c BOT_CC code/botlib/be_ai_chat.c BOT_CC code/botlib/be_ai_gen.c BOT_CC code/botlib/be_ai_goal.c BOT_CC code/botlib/be_ai_move.c BOT_CC code/botlib/be_ai_weap.c BOT_CC code/botlib/be_ai_weight.c BOT_CC code/botlib/be_ea.c BOT_CC code/botlib/be_interface.c BOT_CC code/botlib/l_crc.c BOT_CC code/botlib/l_libvar.c BOT_CC code/botlib/l_log.c BOT_CC code/botlib/l_memory.c BOT_CC code/botlib/l_precomp.c BOT_CC code/botlib/l_script.c BOT_CC code/botlib/l_struct.c DED_CC code/null/null_client.c DED_CC code/null/null_input.c DED_CC code/null/null_snddma.c DED_CC code/sys/con_log.c DED_CC code/sys/sys_main.c DED_CC code/sys/sys_unix.c DED_CC code/sys/con_tty.c LD build/release-openbsd/ioq3ded build/release-openbsd/ded/sv_client.o(.text+0x4b71): In function `SV_GetChallenge': : warning: strcpy() is almost always misused, please use strlcpy() build/release-openbsd/ded/common.o(.text+0xc90): In function `Com_ReadCDKey': : warning: sprintf() is often misused, please use snprintf() build/release-openbsd/ded/sv_ccmds.o(.text+0xd9d): In function `SV_ConSay_f': : warning: strcat() is almost always misused, please use strlcat() CC code/client/cl_cgame.c CC code/client/cl_cin.c CC code/client/cl_console.c CC code/client/cl_input.c CC code/client/cl_keys.c CC code/client/cl_main.c CC code/client/cl_net_chan.c CC code/client/cl_parse.c CC code/client/cl_scrn.c CC code/client/cl_ui.c CC code/client/cl_avi.c CC code/qcommon/cm_load.c CC code/qcommon/cm_patch.c CC code/qcommon/cm_polylib.c CC code/qcommon/cm_test.c CC code/qcommon/cm_trace.c CC code/qcommon/cmd.c CC code/qcommon/common.c CC code/qcommon/cvar.c CC code/qcommon/files.c CC code/qcommon/md4.c CC code/qcommon/md5.c CC code/qcommon/msg.c CC code/qcommon/net_chan.c CC code/qcommon/net_ip.c In file included from code/qcommon/net_ip.c:65: /usr/include/arpa/inet.h:74: warning: 'struct in_addr' declared inside parameter list /usr/include/arpa/inet.h:74: warning: its scope is only this definition or declaration, which is probably not what you want /usr/include/arpa/inet.h:75: warning: 'struct in_addr' declared inside parameter list CC code/qcommon/huffman.c CC code/client/snd_adpcm.c CC code/client/snd_dma.c CC code/client/snd_mem.c CC code/client/snd_mix.c CC code/client/snd_wavelet.c CC code/client/snd_main.c CC code/client/snd_codec.c CC code/client/snd_codec_wav.c CC code/client/snd_codec_ogg.c CC code/client/qal.c CC code/client/snd_openal.c CC code/client/cl_curl.c CC code/server/sv_bot.c CC code/server/sv_ccmds.c CC code/server/sv_client.c CC code/server/sv_game.c CC code/server/sv_init.c CC code/server/sv_main.c CC code/server/sv_net_chan.c CC code/server/sv_snapshot.c CC code/server/sv_world.c CC code/qcommon/q_math.c CC code/qcommon/q_shared.c CC code/qcommon/unzip.c CC code/qcommon/puff.c CC code/qcommon/vm.c CC code/qcommon/vm_interpreted.c BOT_CC code/botlib/be_aas_bspq3.c BOT_CC code/botlib/be_aas_cluster.c BOT_CC code/botlib/be_aas_debug.c BOT_CC code/botlib/be_aas_entity.c BOT_CC code/botlib/be_aas_file.c BOT_CC code/botlib/be_aas_main.c BOT_CC code/botlib/be_aas_move.c BOT_CC code/botlib/be_aas_optimize.c BOT_CC code/botlib/be_aas_reach.c BOT_CC code/botlib/be_aas_route.c BOT_CC code/botlib/be_aas_routealt.c BOT_CC code/botlib/be_aas_sample.c BOT_CC code/botlib/be_ai_char.c BOT_CC code/botlib/be_ai_chat.c BOT_CC code/botlib/be_ai_gen.c BOT_CC code/botlib/be_ai_goal.c BOT_CC code/botlib/be_ai_move.c BOT_CC code/botlib/be_ai_weap.c BOT_CC code/botlib/be_ai_weight.c BOT_CC code/botlib/be_ea.c BOT_CC code/botlib/be_interface.c BOT_CC code/botlib/l_crc.c BOT_CC code/botlib/l_libvar.c BOT_CC code/botlib/l_log.c BOT_CC code/botlib/l_memory.c BOT_CC code/botlib/l_precomp.c BOT_CC code/botlib/l_script.c BOT_CC code/botlib/l_struct.c CC code/jpeg-6b/jcapimin.c CC code/jpeg-6b/jcapistd.c CC code/jpeg-6b/jccoefct.c CC code/jpeg-6b/jccolor.c CC code/jpeg-6b/jcdctmgr.c CC code/jpeg-6b/jchuff.c CC code/jpeg-6b/jcinit.c CC code/jpeg-6b/jcmainct.c CC code/jpeg-6b/jcmarker.c CC code/jpeg-6b/jcmaster.c CC code/jpeg-6b/jcomapi.c CC code/jpeg-6b/jcparam.c CC code/jpeg-6b/jcphuff.c CC code/jpeg-6b/jcprepct.c CC code/jpeg-6b/jcsample.c CC code/jpeg-6b/jdapimin.c CC code/jpeg-6b/jdapistd.c CC code/jpeg-6b/jdatasrc.c CC code/jpeg-6b/jdcoefct.c CC code/jpeg-6b/jdcolor.c CC code/jpeg-6b/jddctmgr.c CC code/jpeg-6b/jdhuff.c CC code/jpeg-6b/jdinput.c CC code/jpeg-6b/jdmainct.c CC code/jpeg-6b/jdmarker.c CC code/jpeg-6b/jdmaster.c CC code/jpeg-6b/jdpostct.c CC code/jpeg-6b/jdsample.c CC code/jpeg-6b/jdtrans.c CC code/jpeg-6b/jerror.c In file included from /usr/local/include/SDL/SDL_opengl.h:49, from code/jpeg-6b/../renderer/qgl.h:30, from code/jpeg-6b/../renderer/tr_local.h:31, from code/jpeg-6b/jerror.c:21: /usr/X11R6/include/GL/glu.h:287: warning: function declaration isn't a prototype CC code/jpeg-6b/jfdctflt.c CC code/jpeg-6b/jidctflt.c CC code/jpeg-6b/jmemmgr.c CC code/jpeg-6b/jmemnobs.c In file included from /usr/local/include/SDL/SDL_opengl.h:49, from code/jpeg-6b/../renderer/qgl.h:30, from code/jpeg-6b/../renderer/tr_local.h:31, from code/jpeg-6b/jmemnobs.c:18: /usr/X11R6/include/GL/glu.h:287: warning: function declaration isn't a prototype CC code/jpeg-6b/jutils.c CC code/renderer/tr_animation.c In file included from /usr/local/include/SDL/SDL_opengl.h:49, from code/renderer/qgl.h:30, from code/renderer/tr_local.h:31, from code/renderer/tr_animation.c:23: /usr/X11R6/include/GL/glu.h:287: warning: function declaration isn't a prototype CC code/renderer/tr_backend.c In file included from /usr/local/include/SDL/SDL_opengl.h:49, from code/renderer/qgl.h:30, from code/renderer/tr_local.h:31, from code/renderer/tr_backend.c:22: /usr/X11R6/include/GL/glu.h:287: warning: function declaration isn't a prototype CC code/renderer/tr_bsp.c In file included from /usr/local/include/SDL/SDL_opengl.h:49, from code/renderer/qgl.h:30, from code/renderer/tr_local.h:31, from code/renderer/tr_bsp.c:24: /usr/X11R6/include/GL/glu.h:287: warning: function declaration isn't a prototype CC code/renderer/tr_cmds.c In file included from /usr/local/include/SDL/SDL_opengl.h:49, from code/renderer/qgl.h:30, from code/renderer/tr_local.h:31, from code/renderer/tr_cmds.c:22: /usr/X11R6/include/GL/glu.h:287: warning: function declaration isn't a prototype CC code/renderer/tr_curve.c In file included from /usr/local/include/SDL/SDL_opengl.h:49, from code/renderer/qgl.h:30, from code/renderer/tr_local.h:31, from code/renderer/tr_curve.c:23: /usr/X11R6/include/GL/glu.h:287: warning: function declaration isn't a prototype CC code/renderer/tr_flares.c In file included from /usr/local/include/SDL/SDL_opengl.h:49, from code/renderer/qgl.h:30, from code/renderer/tr_local.h:31, from code/renderer/tr_flares.c:24: /usr/X11R6/include/GL/glu.h:287: warning: function declaration isn't a prototype CC code/renderer/tr_font.c In file included from /usr/local/include/SDL/SDL_opengl.h:49, from code/renderer/qgl.h:30, from code/renderer/tr_local.h:31, from code/renderer/tr_font.c:73: /usr/X11R6/include/GL/glu.h:287: warning: function declaration isn't a prototype CC code/renderer/tr_image.c In file included from /usr/local/include/SDL/SDL_opengl.h:49, from code/renderer/qgl.h:30, from code/renderer/tr_local.h:31, from code/renderer/tr_image.c:23: /usr/X11R6/include/GL/glu.h:287: warning: function declaration isn't a prototype CC code/renderer/tr_image_png.c In file included from /usr/local/include/SDL/SDL_opengl.h:49, from code/renderer/qgl.h:30, from code/renderer/tr_local.h:31, from code/renderer/tr_image_png.c:22: /usr/X11R6/include/GL/glu.h:287: warning: function declaration isn't a prototype CC code/renderer/tr_image_jpg.c In file included from /usr/local/include/SDL/SDL_opengl.h:49, from code/renderer/qgl.h:30, from code/renderer/tr_local.h:31, from code/renderer/tr_image_jpg.c:23: /usr/X11R6/include/GL/glu.h:287: warning: function declaration isn't a prototype CC code/renderer/tr_image_bmp.c In file included from /usr/local/include/SDL/SDL_opengl.h:49, from code/renderer/qgl.h:30, from code/renderer/tr_local.h:31, from code/renderer/tr_image_bmp.c:23: /usr/X11R6/include/GL/glu.h:287: warning: function declaration isn't a prototype CC code/renderer/tr_image_tga.c In file included from /usr/local/include/SDL/SDL_opengl.h:49, from code/renderer/qgl.h:30, from code/renderer/tr_local.h:31, from code/renderer/tr_image_tga.c:23: /usr/X11R6/include/GL/glu.h:287: warning: function declaration isn't a prototype CC code/renderer/tr_image_pcx.c In file included from /usr/local/include/SDL/SDL_opengl.h:49, from code/renderer/qgl.h:30, from code/renderer/tr_local.h:31, from code/renderer/tr_image_pcx.c:24: /usr/X11R6/include/GL/glu.h:287: warning: function declaration isn't a prototype CC code/renderer/tr_init.c In file included from /usr/local/include/SDL/SDL_opengl.h:49, from code/renderer/qgl.h:30, from code/renderer/tr_local.h:31, from code/renderer/tr_init.c:24: /usr/X11R6/include/GL/glu.h:287: warning: function declaration isn't a prototype CC code/renderer/tr_light.c In file included from /usr/local/include/SDL/SDL_opengl.h:49, from code/renderer/qgl.h:30, from code/renderer/tr_local.h:31, from code/renderer/tr_light.c:24: /usr/X11R6/include/GL/glu.h:287: warning: function declaration isn't a prototype CC code/renderer/tr_main.c In file included from /usr/local/include/SDL/SDL_opengl.h:49, from code/renderer/qgl.h:30, from code/renderer/tr_local.h:31, from code/renderer/tr_main.c:24: /usr/X11R6/include/GL/glu.h:287: warning: function declaration isn't a prototype CC code/renderer/tr_marks.c In file included from /usr/local/include/SDL/SDL_opengl.h:49, from code/renderer/qgl.h:30, from code/renderer/tr_local.h:31, from code/renderer/tr_marks.c:24: /usr/X11R6/include/GL/glu.h:287: warning: function declaration isn't a prototype CC code/renderer/tr_mesh.c In file included from /usr/local/include/SDL/SDL_opengl.h:49, from code/renderer/qgl.h:30, from code/renderer/tr_local.h:31, from code/renderer/tr_mesh.c:24: /usr/X11R6/include/GL/glu.h:287: warning: function declaration isn't a prototype CC code/renderer/tr_model.c In file included from /usr/local/include/SDL/SDL_opengl.h:49, from code/renderer/qgl.h:30, from code/renderer/tr_local.h:31, from code/renderer/tr_model.c:24: /usr/X11R6/include/GL/glu.h:287: warning: function declaration isn't a prototype CC code/renderer/tr_noise.c In file included from /usr/local/include/SDL/SDL_opengl.h:49, from code/renderer/qgl.h:30, from code/renderer/tr_local.h:31, from code/renderer/tr_noise.c:23: /usr/X11R6/include/GL/glu.h:287: warning: function declaration isn't a prototype CC code/renderer/tr_scene.c In file included from /usr/local/include/SDL/SDL_opengl.h:49, from code/renderer/qgl.h:30, from code/renderer/tr_local.h:31, from code/renderer/tr_scene.c:23: /usr/X11R6/include/GL/glu.h:287: warning: function declaration isn't a prototype CC code/renderer/tr_shade.c In file included from /usr/local/include/SDL/SDL_opengl.h:49, from code/renderer/qgl.h:30, from code/renderer/tr_local.h:31, from code/renderer/tr_shade.c:24: /usr/X11R6/include/GL/glu.h:287: warning: function declaration isn't a prototype CC code/renderer/tr_shade_calc.c In file included from /usr/local/include/SDL/SDL_opengl.h:49, from code/renderer/qgl.h:30, from code/renderer/tr_local.h:31, from code/renderer/tr_shade_calc.c:24: /usr/X11R6/include/GL/glu.h:287: warning: function declaration isn't a prototype CC code/renderer/tr_shader.c In file included from /usr/local/include/SDL/SDL_opengl.h:49, from code/renderer/qgl.h:30, from code/renderer/tr_local.h:31, from code/renderer/tr_shader.c:22: /usr/X11R6/include/GL/glu.h:287: warning: function declaration isn't a prototype CC code/renderer/tr_shadows.c In file included from /usr/local/include/SDL/SDL_opengl.h:49, from code/renderer/qgl.h:30, from code/renderer/tr_local.h:31, from code/renderer/tr_shadows.c:22: /usr/X11R6/include/GL/glu.h:287: warning: function declaration isn't a prototype CC code/renderer/tr_sky.c In file included from /usr/local/include/SDL/SDL_opengl.h:49, from code/renderer/qgl.h:30, from code/renderer/tr_local.h:31, from code/renderer/tr_sky.c:23: /usr/X11R6/include/GL/glu.h:287: warning: function declaration isn't a prototype CC code/renderer/tr_surface.c In file included from /usr/local/include/SDL/SDL_opengl.h:49, from code/renderer/qgl.h:30, from code/renderer/tr_local.h:31, from code/renderer/tr_surface.c:23: /usr/X11R6/include/GL/glu.h:287: warning: function declaration isn't a prototype CC code/renderer/tr_world.c In file included from /usr/local/include/SDL/SDL_opengl.h:49, from code/renderer/qgl.h:30, from code/renderer/tr_local.h:31, from code/renderer/tr_world.c:22: /usr/X11R6/include/GL/glu.h:287: warning: function declaration isn't a prototype CC code/sdl/sdl_gamma.c In file included from /usr/local/include/SDL/SDL_opengl.h:49, from code/sdl/../renderer/qgl.h:30, from code/sdl/../renderer/tr_local.h:31, from code/sdl/sdl_gamma.c:29: /usr/X11R6/include/GL/glu.h:287: warning: function declaration isn't a prototype CC code/sdl/sdl_input.c In file included from /usr/local/include/SDL/SDL_opengl.h:49, from code/sdl/../renderer/qgl.h:30, from code/sdl/../renderer/tr_local.h:31, from code/sdl/sdl_input.c:33: /usr/X11R6/include/GL/glu.h:287: warning: function declaration isn't a prototype CC code/sndio/snd_sndio.c CC code/sys/con_passive.c CC code/sys/con_log.c CC code/sys/sys_main.c CC code/libspeex/bits.c CC code/libspeex/buffer.c CC code/libspeex/cb_search.c CC code/libspeex/exc_10_16_table.c CC code/libspeex/exc_10_32_table.c CC code/libspeex/exc_20_32_table.c CC code/libspeex/exc_5_256_table.c CC code/libspeex/exc_5_64_table.c CC code/libspeex/exc_8_128_table.c CC code/libspeex/fftwrap.c CC code/libspeex/filterbank.c CC code/libspeex/filters.c CC code/libspeex/gain_table.c CC code/libspeex/gain_table_lbr.c CC code/libspeex/hexc_10_32_table.c CC code/libspeex/hexc_table.c CC code/libspeex/high_lsp_tables.c CC code/libspeex/jitter.c CC code/libspeex/kiss_fft.c CC code/libspeex/kiss_fftr.c CC code/libspeex/lpc.c CC code/libspeex/lsp.c CC code/libspeex/lsp_tables_nb.c CC code/libspeex/ltp.c CC code/libspeex/mdf.c CC code/libspeex/modes.c CC code/libspeex/modes_wb.c CC code/libspeex/nb_celp.c CC code/libspeex/preprocess.c CC code/libspeex/quant_lsp.c CC code/libspeex/resample.c CC code/libspeex/sb_celp.c CC code/libspeex/smallft.c CC code/libspeex/speex.c CC code/libspeex/speex_callbacks.c CC code/libspeex/speex_header.c CC code/libspeex/stereo.c In file included from code/libspeex/stereo.c:36: /usr/local/include/speex/speex_stereo.h:63: warning: function declaration isn't a prototype code/libspeex/stereo.c:76: warning: function declaration isn't a prototype CC code/libspeex/vbr.c CC code/libspeex/vq.c CC code/libspeex/window.c CC code/sys/sys_unix.c CC code/client/libmumblelink.c CC code/sdl/sdl_glimp.c In file included from /usr/local/include/SDL/SDL_opengl.h:49, from code/sdl/../renderer/qgl.h:30, from code/sdl/../renderer/tr_local.h:31, from code/sdl/sdl_glimp.c:49: /usr/X11R6/include/GL/glu.h:287: warning: function declaration isn't a prototype LD build/release-openbsd/ioquake3 build/release-openbsd/client/cl_cin.o(.text+0x1e20): In function `CIN_PlayCinematic': : warning: strcpy() is almost always misused, please use strlcpy() build/release-openbsd/client/cl_main.o(.text+0x662): In function `CL_CDKeyValidate': : warning: sprintf() is often misused, please use snprintf() build/release-openbsd/client/cl_cgame.o(.text+0x1430): In function `CL_GetServerCommand': : warning: strcat() is almost always misused, please use strlcat() CGAME_CC code/cgame/cg_main.c CGAME_CC code/game/bg_misc.c CGAME_CC code/game/bg_pmove.c CGAME_CC code/game/bg_slidemove.c CGAME_CC code/game/bg_lib.c CGAME_CC code/cgame/cg_consolecmds.c CGAME_CC code/cgame/cg_draw.c CGAME_CC code/cgame/cg_drawtools.c CGAME_CC code/cgame/cg_effects.c CGAME_CC code/cgame/cg_ents.c CGAME_CC code/cgame/cg_event.c CGAME_CC code/cgame/cg_info.c CGAME_CC code/cgame/cg_localents.c CGAME_CC code/cgame/cg_marks.c CGAME_CC code/cgame/cg_players.c CGAME_CC code/cgame/cg_playerstate.c CGAME_CC code/cgame/cg_predict.c CGAME_CC code/cgame/cg_scoreboard.c CGAME_CC code/cgame/cg_servercmds.c CGAME_CC code/cgame/cg_snapshot.c CGAME_CC code/cgame/cg_view.c CGAME_CC code/cgame/cg_weapons.c SHLIB_CC code/qcommon/q_math.c SHLIB_CC code/qcommon/q_shared.c CGAME_CC code/cgame/cg_syscalls.c LD build/release-openbsd/baseq3/cgameamd64.so GAME_CC code/game/g_main.c GAME_CC code/game/ai_chat.c GAME_CC code/game/ai_cmd.c GAME_CC code/game/ai_dmnet.c GAME_CC code/game/ai_dmq3.c GAME_CC code/game/ai_main.c GAME_CC code/game/ai_team.c GAME_CC code/game/ai_vcmd.c GAME_CC code/game/bg_misc.c GAME_CC code/game/bg_pmove.c GAME_CC code/game/bg_slidemove.c GAME_CC code/game/bg_lib.c GAME_CC code/game/g_active.c GAME_CC code/game/g_arenas.c GAME_CC code/game/g_bot.c GAME_CC code/game/g_client.c GAME_CC code/game/g_cmds.c GAME_CC code/game/g_combat.c GAME_CC code/game/g_items.c GAME_CC code/game/g_mem.c GAME_CC code/game/g_misc.c GAME_CC code/game/g_missile.c GAME_CC code/game/g_mover.c GAME_CC code/game/g_session.c GAME_CC code/game/g_spawn.c GAME_CC code/game/g_svcmds.c GAME_CC code/game/g_target.c GAME_CC code/game/g_team.c GAME_CC code/game/g_trigger.c GAME_CC code/game/g_utils.c GAME_CC code/game/g_weapon.c GAME_CC code/game/g_syscalls.c LD build/release-openbsd/baseq3/qagameamd64.so UI_CC code/q3_ui/ui_main.c UI_CC code/game/bg_misc.c UI_CC code/game/bg_lib.c UI_CC code/q3_ui/ui_addbots.c UI_CC code/q3_ui/ui_atoms.c UI_CC code/q3_ui/ui_cdkey.c UI_CC code/q3_ui/ui_cinematics.c UI_CC code/q3_ui/ui_confirm.c UI_CC code/q3_ui/ui_connect.c UI_CC code/q3_ui/ui_controls2.c UI_CC code/q3_ui/ui_credits.c UI_CC code/q3_ui/ui_demo2.c UI_CC code/q3_ui/ui_display.c UI_CC code/q3_ui/ui_gameinfo.c UI_CC code/q3_ui/ui_ingame.c UI_CC code/q3_ui/ui_loadconfig.c UI_CC code/q3_ui/ui_menu.c UI_CC code/q3_ui/ui_mfield.c UI_CC code/q3_ui/ui_mods.c UI_CC code/q3_ui/ui_network.c UI_CC code/q3_ui/ui_options.c UI_CC code/q3_ui/ui_playermodel.c UI_CC code/q3_ui/ui_players.c UI_CC code/q3_ui/ui_playersettings.c UI_CC code/q3_ui/ui_preferences.c UI_CC code/q3_ui/ui_qmenu.c UI_CC code/q3_ui/ui_removebots.c UI_CC code/q3_ui/ui_saveconfig.c UI_CC code/q3_ui/ui_serverinfo.c UI_CC code/q3_ui/ui_servers2.c UI_CC code/q3_ui/ui_setup.c UI_CC code/q3_ui/ui_sound.c UI_CC code/q3_ui/ui_sparena.c UI_CC code/q3_ui/ui_specifyserver.c UI_CC code/q3_ui/ui_splevel.c UI_CC code/q3_ui/ui_sppostgame.c UI_CC code/q3_ui/ui_spskill.c UI_CC code/q3_ui/ui_startserver.c UI_CC code/q3_ui/ui_team.c UI_CC code/q3_ui/ui_teamorders.c UI_CC code/q3_ui/ui_video.c UI_CC_MISSIONPACK code/ui/ui_syscalls.c LD build/release-openbsd/baseq3/uiamd64.so CGAME_CC_MISSIONPACK code/cgame/cg_main.c CGAME_CC_MISSIONPACK code/game/bg_misc.c CGAME_CC_MISSIONPACK code/game/bg_pmove.c CGAME_CC_MISSIONPACK code/game/bg_slidemove.c CGAME_CC_MISSIONPACK code/game/bg_lib.c CGAME_CC_MISSIONPACK code/cgame/cg_consolecmds.c CGAME_CC_MISSIONPACK code/cgame/cg_newdraw.c CGAME_CC_MISSIONPACK code/cgame/cg_draw.c CGAME_CC_MISSIONPACK code/cgame/cg_drawtools.c CGAME_CC_MISSIONPACK code/cgame/cg_effects.c CGAME_CC_MISSIONPACK code/cgame/cg_ents.c CGAME_CC_MISSIONPACK code/cgame/cg_event.c CGAME_CC_MISSIONPACK code/cgame/cg_info.c CGAME_CC_MISSIONPACK code/cgame/cg_localents.c CGAME_CC_MISSIONPACK code/cgame/cg_marks.c CGAME_CC_MISSIONPACK code/cgame/cg_players.c CGAME_CC_MISSIONPACK code/cgame/cg_playerstate.c CGAME_CC_MISSIONPACK code/cgame/cg_predict.c CGAME_CC_MISSIONPACK code/cgame/cg_scoreboard.c CGAME_CC_MISSIONPACK code/cgame/cg_servercmds.c CGAME_CC_MISSIONPACK code/cgame/cg_snapshot.c CGAME_CC_MISSIONPACK code/cgame/cg_view.c CGAME_CC_MISSIONPACK code/cgame/cg_weapons.c UI_CC_MISSIONPACK code/ui/ui_shared.c SHLIB_CC_MISSIONPACK code/qcommon/q_math.c SHLIB_CC_MISSIONPACK code/qcommon/q_shared.c CGAME_CC_MISSIONPACK code/cgame/cg_syscalls.c LD build/release-openbsd/missionpack/cgameamd64.so GAME_CC_MISSIONPACK code/game/g_main.c GAME_CC_MISSIONPACK code/game/ai_chat.c GAME_CC_MISSIONPACK code/game/ai_cmd.c GAME_CC_MISSIONPACK code/game/ai_dmnet.c GAME_CC_MISSIONPACK code/game/ai_dmq3.c GAME_CC_MISSIONPACK code/game/ai_main.c GAME_CC_MISSIONPACK code/game/ai_team.c GAME_CC_MISSIONPACK code/game/ai_vcmd.c GAME_CC_MISSIONPACK code/game/bg_misc.c GAME_CC_MISSIONPACK code/game/bg_pmove.c GAME_CC_MISSIONPACK code/game/bg_slidemove.c GAME_CC_MISSIONPACK code/game/bg_lib.c GAME_CC_MISSIONPACK code/game/g_active.c GAME_CC_MISSIONPACK code/game/g_arenas.c GAME_CC_MISSIONPACK code/game/g_bot.c GAME_CC_MISSIONPACK code/game/g_client.c GAME_CC_MISSIONPACK code/game/g_cmds.c GAME_CC_MISSIONPACK code/game/g_combat.c GAME_CC_MISSIONPACK code/game/g_items.c GAME_CC_MISSIONPACK code/game/g_mem.c GAME_CC_MISSIONPACK code/game/g_misc.c GAME_CC_MISSIONPACK code/game/g_missile.c GAME_CC_MISSIONPACK code/game/g_mover.c GAME_CC_MISSIONPACK code/game/g_session.c GAME_CC_MISSIONPACK code/game/g_spawn.c GAME_CC_MISSIONPACK code/game/g_svcmds.c GAME_CC_MISSIONPACK code/game/g_target.c GAME_CC_MISSIONPACK code/game/g_team.c GAME_CC_MISSIONPACK code/game/g_trigger.c GAME_CC_MISSIONPACK code/game/g_utils.c GAME_CC_MISSIONPACK code/game/g_weapon.c GAME_CC_MISSIONPACK code/game/g_syscalls.c LD build/release-openbsd/missionpack/qagameamd64.so UI_CC_MISSIONPACK code/ui/ui_main.c UI_CC_MISSIONPACK code/ui/ui_atoms.c UI_CC_MISSIONPACK code/ui/ui_gameinfo.c UI_CC_MISSIONPACK code/ui/ui_players.c UI_CC_MISSIONPACK code/game/bg_misc.c UI_CC_MISSIONPACK code/game/bg_lib.c LD build/release-openbsd/missionpack/uiamd64.so TOOLS_CC code/tools/lcc/etc/lcc.c TOOLS_CC code/tools/lcc/etc/bytecode.c In file included from code/tools/lcc/etc/bytecode.c:5: code/tools/lcc/etc/../../../qcommon/q_platform.h:308:2: error: #error "Architecture not supported" gmake[2]: *** [build/release-openbsd/tools/etc/bytecode.o] Error 1 gmake[2]: Leaving directory `/usr/pobj/ioquake3-1.36/ioquake3-1.36' gmake[1]: *** [targets] Error 2 gmake[1]: Leaving directory `/usr/pobj/ioquake3-1.36/ioquake3-1.36' gmake: *** [release] Error 2 *** Error code 2 Stop in /usr/ports/games/ioquake3 (line 2343 of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/games/ioquake3 (line 1580 of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/games/ioquake3 (line 1580 of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/games/ioquake3 (line 2133 of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/games/ioquake3 (line 1608 of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/games/ioquake3 (line 2116 of /usr/ports/infrastructure/mk/bsd.port.mk).