From owner-svn-ports-all@freebsd.org Mon Feb 17 20:26:40 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4B53524600F; Mon, 17 Feb 2020 20:26:40 +0000 (UTC) (envelope-from pkubaj@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 48LwW35Wyhz4WZ3; Mon, 17 Feb 2020 20:26:39 +0000 (UTC) (envelope-from pkubaj@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 A76FFCB5C; Mon, 17 Feb 2020 20:26:39 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 01HKQdjM077831; Mon, 17 Feb 2020 20:26:39 GMT (envelope-from pkubaj@FreeBSD.org) Received: (from pkubaj@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 01HKQdbQ077830; Mon, 17 Feb 2020 20:26:39 GMT (envelope-from pkubaj@FreeBSD.org) Message-Id: <202002172026.01HKQdbQ077830@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pkubaj set sender to pkubaj@FreeBSD.org using -f From: Piotr Kubaj Date: Mon, 17 Feb 2020 20:26:39 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r526426 - head/science/mbdyn/files X-SVN-Group: ports-head X-SVN-Commit-Author: pkubaj X-SVN-Commit-Paths: head/science/mbdyn/files X-SVN-Commit-Revision: 526426 X-SVN-Commit-Repository: ports 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.29 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: Mon, 17 Feb 2020 20:26:40 -0000 Author: pkubaj Date: Mon Feb 17 20:26:39 2020 New Revision: 526426 URL: https://svnweb.freebsd.org/changeset/ports/526426 Log: science/mbdyn: fix build on powerpc* result is undefined: wraptest.cc:325:9: error: 'result' was not declared in this scope 325 | time = result << 32; | ^~~~~~ PR: 244202 Approved by: yuri (maintainer) Added: head/science/mbdyn/files/ head/science/mbdyn/files/patch-libraries_libmbwrap_wraptest.cc (contents, props changed) Added: head/science/mbdyn/files/patch-libraries_libmbwrap_wraptest.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/mbdyn/files/patch-libraries_libmbwrap_wraptest.cc Mon Feb 17 20:26:39 2020 (r526426) @@ -0,0 +1,13 @@ +--- libraries/libmbwrap/wraptest.cc.orig 2020-02-17 19:20:23 UTC ++++ libraries/libmbwrap/wraptest.cc +@@ -321,9 +321,7 @@ static inline unsigned long long rd_CPU_ts(void) + "\tbne 0b \n" + : "=r"(upper),"=r"(lower),"=r"(tmp) + ); +- time = upper; +- time = result << 32; +- time = result|lower; ++ time = (upper << 32) | lower; + #endif + return time; + }