Package: warsow Version: 0.32.dfsg-1 Severity: minor Tags: patch Wsw downloads the map up to 100% in $HOME/.warsow/basewsw/mapname.pk3.tmp and then fails to check it and delete the temporary file...
As reported on wsw forums[1], when fs_usehomedir is set, the path used to check the dowloaded map file is wrong. [1] http://www.warsow.net/forum/viewtopic.php?id=15584 -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.23-1-686 (SMP w/2 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages warsow depends on: ii libc6 2.7-5 GNU C Library: Shared libraries ii libcurl3-gnutls 7.17.1-1 Multi-protocol file transfer libra ii libjpeg62 6b-14 The Independent JPEG Group's JPEG ii libkrb53 1.6.dfsg.3~beta1-2 MIT Kerberos runtime libraries ii libsdl1.2debian 1.2.11-9 Simple DirectMedia Layer ii libvorbisfile3 1.2.0.dfsg-2 The Vorbis General Audio Compressi ii libx11-6 2:1.0.3-7 X11 client-side library ii libxext6 1:1.0.3-2 X11 miscellaneous extension librar ii libxinerama1 1:1.0.2-1 X11 Xinerama extension library ii libxxf86dga1 2:1.0.2-1 X11 Direct Graphics Access extensi ii libxxf86vm1 1:1.0.1-2 X11 XFree86 video mode extension l ii mesa-utils 7.0.2-3 Miscellaneous Mesa GL utilities ii warsow-data 0.32-1 Game data for the ego-shooter Wars ii xbase-clients 1:7.2.ds2-2 miscellaneous X clients ii zlib1g 1:1.2.3.3.dfsg-8 compression library - runtime warsow recommends no packages. -- no debconf information
diff -u warsow-0.32.dfsg/debian/patches/series warsow-0.32.dfsg/debian/patches/series --- warsow-0.32.dfsg/debian/patches/series +++ warsow-0.32.dfsg/debian/patches/series @@ -2,0 +3 @@ +fix_map_dwnld.diff diff -u warsow-0.32.dfsg/debian/changelog warsow-0.32.dfsg/debian/changelog --- warsow-0.32.dfsg/debian/changelog +++ warsow-0.32.dfsg/debian/changelog @@ -1,3 +1,9 @@ +warsow (0.32.dfsg-2) unstable; urgency=low + + * fix a bug when downloading maps with fs_usehomedir set. + + -- Eric DÉCORNOD <[EMAIL PROTECTED]> Wed, 02 Jan 2008 16:35:52 +0100 + warsow (0.32.dfsg-1) unstable; urgency=low [ Andres Mejia ] only in patch2: unchanged: --- warsow-0.32.dfsg.orig/debian/patches/fix_map_dwnld.diff +++ warsow-0.32.dfsg/debian/patches/fix_map_dwnld.diff @@ -0,0 +1,13 @@ +Index: Fix a bug w/ fs_usehomedir=1 when downloading maps +=================================================================== +--- warsow-0.32.dfsg.orig/warsow_0.32/source/qcommon/files.c 2008-01-02 16:29:12.000000000 +0100 ++++ warsow-0.32.dfsg/warsow_0.32/source/qcommon/files.c 2008-01-02 16:29:33.000000000 +0100 +@@ -2277,7 +2277,7 @@ + if( !fullname ) + return qfalse; + +- pakfile = FS_LoadPK3File( filename, qtrue ); ++ pakfile = FS_LoadPK3File( fullname, qtrue ); + if( pakfile ) { // unlock and free, we don't need this file anyway + if( pakfile->sysHandle ) + Sys_FS_UnlockFile( pakfile->sysHandle );