From owner-svn-ports-head@freebsd.org Fri Jun 14 07:03:38 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 6398815C84F2; Fri, 14 Jun 2019 07:03:38 +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 085B486AD7; Fri, 14 Jun 2019 07:03:38 +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 D40BEC6C6; Fri, 14 Jun 2019 07:03:37 +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 x5E73bRj076213; Fri, 14 Jun 2019 07:03:37 GMT (envelope-from pkubaj@FreeBSD.org) Received: (from pkubaj@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x5E73boR076212; Fri, 14 Jun 2019 07:03:37 GMT (envelope-from pkubaj@FreeBSD.org) Message-Id: <201906140703.x5E73boR076212@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pkubaj set sender to pkubaj@FreeBSD.org using -f From: Piotr Kubaj Date: Fri, 14 Jun 2019 07:03:37 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r504164 - head/graphics/libjxr/files X-SVN-Group: ports-head X-SVN-Commit-Author: pkubaj X-SVN-Commit-Paths: head/graphics/libjxr/files X-SVN-Commit-Revision: 504164 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 085B486AD7 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.998,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.96)[-0.957,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] 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, 14 Jun 2019 07:03:38 -0000 Author: pkubaj Date: Fri Jun 14 07:03:37 2019 New Revision: 504164 URL: https://svnweb.freebsd.org/changeset/ports/504164 Log: graphics/libjxr: fix build on big-endian architectures _BIG__ENDIAN__ should be spelled _BIG__ENDIAN_ (one _ too much). PR: 238502 Approved by: mi@ALDAN.algebra.com (maintainer), mat (mentor) Differential Revision: https://reviews.freebsd.org/D20620 Modified: head/graphics/libjxr/files/patch-jxrlib_warnings Modified: head/graphics/libjxr/files/patch-jxrlib_warnings ============================================================================== --- head/graphics/libjxr/files/patch-jxrlib_warnings Fri Jun 14 07:01:19 2019 (r504163) +++ head/graphics/libjxr/files/patch-jxrlib_warnings Fri Jun 14 07:03:37 2019 (r504164) @@ -12,7 +12,7 @@ https://archive.codeplex.com/projects/jxrlib/issues/13 -#ifdef _BIG__ENDIAN_ -#define _byteswap_ulong(x) (x) -#else // _BIG__ENDIAN_ -+#ifndef _BIG__ENDIAN__ ++#ifndef _BIG__ENDIAN_ U32 _byteswap_ulong(U32 bits) { U32 r = (bits & 0xffu) << 24;