From owner-svn-ports-head@freebsd.org Fri Feb 8 20:21:44 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C815914C3388; Fri, 8 Feb 2019 20:21:44 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 671736A392; Fri, 8 Feb 2019 20:21:44 +0000 (UTC) (envelope-from amdmi3@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5B33D1E399; Fri, 8 Feb 2019 20:21:44 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x18KLit5005534; Fri, 8 Feb 2019 20:21:44 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x18KLieY005533; Fri, 8 Feb 2019 20:21:44 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201902082021.x18KLieY005533@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Fri, 8 Feb 2019 20:21:44 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r492445 - head/games/ponscripter-sekai/files X-SVN-Group: ports-head X-SVN-Commit-Author: amdmi3 X-SVN-Commit-Paths: head/games/ponscripter-sekai/files X-SVN-Commit-Revision: 492445 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 671736A392 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.95 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.996,0]; NEURAL_HAM_SHORT(-0.96)[-0.958,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-0.999,0] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Feb 2019 20:21:45 -0000 Author: amdmi3 Date: Fri Feb 8 20:21:43 2019 New Revision: 492445 URL: https://svnweb.freebsd.org/changeset/ports/492445 Log: - Fix build after SDL2_Mixer update Don't try to check for SDL2_Mixer at configure phase by trying to run program which tries Mix_LoadMUS. First, the program is incorrect as per SDL2_Mixer documentation, one is not allowed to call any SDL2_Mixer functions without first calling Mix_Init() (which is not called). Next, calling any mixer functions may involve opening audio device, which may not be present on the machine where the package is built. Fix by forcing the broken check to pass. PR: 235557 Reported by: jbeich@FreeBSD.org Approved by: portmgr blanket (build fix) Upstream issue: https://github.com/sekaiproject/ponscripter-fork/issues/92 Added: head/games/ponscripter-sekai/files/patch-configure (contents, props changed) Added: head/games/ponscripter-sekai/files/patch-configure ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/ponscripter-sekai/files/patch-configure Fri Feb 8 20:21:43 2019 (r492445) @@ -0,0 +1,11 @@ +--- configure.orig 2019-02-08 19:59:55 UTC ++++ configure +@@ -606,7 +606,7 @@ then + _EOF + INTERNAL_SDL_MIXER=true + $CXX `$SDL_CONFIG --cflags` test.cc `$SDL_CONFIG --libs` -lSDL2_mixer -o mtest >/dev/null 2>&1 +- ./mtest 2>/dev/null ++ true 2>/dev/null + case $? in + 0) echo "yes"; INTERNAL_SDL_MIXER=false ;; + 1) echo "no MP3" ;; 2) echo "no Ogg" ;; 3) echo "no Ogg or MP3" ;;