From owner-svn-ports-head@freebsd.org Mon Jan 27 22:01:49 2020 Return-Path: Delivered-To: svn-ports-head@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 D439F2302DF; Mon, 27 Jan 2020 22:01:49 +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 4863cY5JG8z4FbC; Mon, 27 Jan 2020 22:01:49 +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 B166E18DCC; Mon, 27 Jan 2020 22:01:49 +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 00RM1nTg077764; Mon, 27 Jan 2020 22:01:49 GMT (envelope-from pkubaj@FreeBSD.org) Received: (from pkubaj@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 00RM1ngd077763; Mon, 27 Jan 2020 22:01:49 GMT (envelope-from pkubaj@FreeBSD.org) Message-Id: <202001272201.00RM1ngd077763@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pkubaj set sender to pkubaj@FreeBSD.org using -f From: Piotr Kubaj Date: Mon, 27 Jan 2020 22:01:49 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r524447 - head/graphics/openimageio/files X-SVN-Group: ports-head X-SVN-Commit-Author: pkubaj X-SVN-Commit-Paths: head/graphics/openimageio/files X-SVN-Commit-Revision: 524447 X-SVN-Commit-Repository: ports 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.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: Mon, 27 Jan 2020 22:01:49 -0000 Author: pkubaj Date: Mon Jan 27 22:01:49 2020 New Revision: 524447 URL: https://svnweb.freebsd.org/changeset/ports/524447 Log: graphics/openimageio: fix build on powerpc64 elfv2 Change if to explicit ifdef to prevent: /wrkdirs/usr/ports/graphics/openimageio/work/oiio-Release-2.0.10/src/libutil/ustring.cpp:328:27: error: expected value in expression # if _LIBCPP_BIG_ENDIAN PR: 242134 Approved by: FreeBSD@ShaneWare.Biz (maintainer timeout) Added: head/graphics/openimageio/files/patch-src_libutil_ustring.cpp (contents, props changed) Added: head/graphics/openimageio/files/patch-src_libutil_ustring.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/openimageio/files/patch-src_libutil_ustring.cpp Mon Jan 27 22:01:49 2020 (r524447) @@ -0,0 +1,20 @@ +--- src/libutil/ustring.cpp.orig 2020-01-27 21:27:51 UTC ++++ src/libutil/ustring.cpp +@@ -314,7 +314,7 @@ struct libcpp_string__long { + std::string::size_type __size_; + std::string::size_type __cap_; + }; +-# if _LIBCPP_BIG_ENDIAN ++# ifdef _LIBCPP_BIG_ENDIAN + enum { libcpp_string__long_mask = 0x1ul }; + # else // _LIBCPP_BIG_ENDIAN + enum { libcpp_string__long_mask = ~(std::string::size_type(~0) >> 1) }; +@@ -325,7 +325,7 @@ struct libcpp_string__long { + std::string::size_type __size_; + std::string::pointer __data_; + }; +-# if _LIBCPP_BIG_ENDIAN ++# ifdef _LIBCPP_BIG_ENDIAN + enum { libcpp_string__long_mask = ~(std::string::size_type(~0) >> 1) }; + # else // _LIBCPP_BIG_ENDIAN + enum { libcpp_string__long_mask = 0x1ul };