From owner-svn-ports-head@freebsd.org Fri Feb 10 17:12:24 2017 Return-Path: Delivered-To: svn-ports-head@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 3657ECD9D83; Fri, 10 Feb 2017 17:12:24 +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 mx1.freebsd.org (Postfix) with ESMTPS id 0365613BB; Fri, 10 Feb 2017 17:12:23 +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 v1AHCNVU068690; Fri, 10 Feb 2017 17:12:23 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v1AHCNL5068689; Fri, 10 Feb 2017 17:12:23 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201702101712.v1AHCNL5068689@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Fri, 10 Feb 2017 17:12:23 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r433815 - head/games/ri-li/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-head@freebsd.org X-Mailman-Version: 2.1.23 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, 10 Feb 2017 17:12:24 -0000 Author: amdmi3 Date: Fri Feb 10 17:12:22 2017 New Revision: 433815 URL: https://svnweb.freebsd.org/changeset/ports/433815 Log: - Fix build with clang 4.0 PR: 216626 Added: head/games/ri-li/files/patch-src_tableau.cc (contents, props changed) Added: head/games/ri-li/files/patch-src_tableau.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/ri-li/files/patch-src_tableau.cc Fri Feb 10 17:12:22 2017 (r433815) @@ -0,0 +1,11 @@ +--- src/tableau.cc.orig 2007-11-02 11:48:21 UTC ++++ src/tableau.cc +@@ -87,7 +87,7 @@ bool Tableau::Save(void) + + // Alloue la mémoire + Buf=new unsigned char [sizeof(s_Tableau)*N+sizeof(int)+1]; +- if(Buf<=0) return false; ++ if(Buf==NULL) return false; + + // Charge les tableaux + Buf[0]=N/256;