From owner-svn-ports-all@freebsd.org Fri Apr 7 17:39:59 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A3B3AD3203F; Fri, 7 Apr 2017 17:39:59 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 70A0FA9E; Fri, 7 Apr 2017 17:39:59 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v37HdwHE069993; Fri, 7 Apr 2017 17:39:58 GMT (envelope-from danfe@FreeBSD.org) Received: (from danfe@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v37HdwB6069992; Fri, 7 Apr 2017 17:39:58 GMT (envelope-from danfe@FreeBSD.org) Message-Id: <201704071739.v37HdwB6069992@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: danfe set sender to danfe@FreeBSD.org using -f From: Alexey Dokuchaev Date: Fri, 7 Apr 2017 17:39:58 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r437948 - head/games/doomlegacy/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Apr 2017 17:39:59 -0000 Author: danfe Date: Fri Apr 7 17:39:58 2017 New Revision: 437948 URL: https://svnweb.freebsd.org/changeset/ports/437948 Log: Disable searching for WADs in the current directory as it can easily take up a lot of time (e.g., when launched from $HOME) and thus delay the game startup in a very annoying way (also stresses the disks a lot). Added: head/games/doomlegacy/files/patch-src_d__main.c (contents, props changed) Added: head/games/doomlegacy/files/patch-src_d__main.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/doomlegacy/files/patch-src_d__main.c Fri Apr 7 17:39:58 2017 (r437948) @@ -0,0 +1,27 @@ +--- src/d_main.c.orig 2017-03-03 19:49:10 UTC ++++ src/d_main.c +@@ -439,11 +439,13 @@ extern char mac_user_home[FILENAME_SIZE] + void owner_wad_search_order( void ) + { + // Wad search order. ++#if 0 + if( defdir_stat ) + { + // Search current dir near first, for other wad searches. + doomwaddir[1] = defdir; + } ++#endif + // Search progdir/wads early, for other wad searches. + doomwaddir[2] = progdir_wads; + // Search last, for other wad searches. +@@ -1160,8 +1162,10 @@ void Print_search_directories( byte emf + // Verbose only. For IWAD or legacy.wad they are in doomwaddir entries. + if( (enables==0x0F) && progdir_wads ) + GenPrintf(emf, " : %s\n", progdir_wads ); ++#if 0 + if( (enables==0x0F) && defdir ) + GenPrintf(emf, " defdir: %s\n", defdir ); ++#endif + #ifdef LEGACYWADDIR + GenPrintf(emf, " LEGACYWADDIR: %s\n", LEGACYWADDIR ); + #endif