From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 7BF191384B4 for ; Sat, 5 Dec 2015 09:06:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 725DBE0854; Sat, 5 Dec 2015 09:05:53 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0ECA8E0854 for ; Sat, 5 Dec 2015 09:05:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BB2FB340976 for ; Sat, 5 Dec 2015 09:05:50 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8A3CFA3F for ; Sat, 5 Dec 2015 09:05:46 +0000 (UTC) From: "Jeroen Roovers" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jeroen Roovers" Message-ID: <1449306326.b428d604c631ab659a91f7a364f811b80f70f9a4.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/gegl/, media-libs/gegl/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/gegl/files/gegl-0.3.4-endian.patch media-libs/gegl/gegl-0.3.4.ebuild X-VCS-Directories: media-libs/gegl/ media-libs/gegl/files/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: b428d604c631ab659a91f7a364f811b80f70f9a4 X-VCS-Branch: master Date: Sat, 5 Dec 2015 09:05:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: a54fc33e-04b4-4946-bcc1-b9bce6ca7a99 X-Archives-Hash: fff44ff48d661c589afc59268d65747a commit: b428d604c631ab659a91f7a364f811b80f70f9a4 Author: Jeroen Roovers gentoo org> AuthorDate: Sat Dec 5 09:05:26 2015 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Sat Dec 5 09:05:26 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b428d604 media-libs/gegl: Fix compiling on bigendian. Package-Manager: portage-2.2.26 media-libs/gegl/files/gegl-0.3.4-endian.patch | 11 +++++++++++ media-libs/gegl/gegl-0.3.4.ebuild | 2 ++ 2 files changed, 13 insertions(+) diff --git a/media-libs/gegl/files/gegl-0.3.4-endian.patch b/media-libs/gegl/files/gegl-0.3.4-endian.patch new file mode 100644 index 0000000..3df13e6 --- /dev/null +++ b/media-libs/gegl/files/gegl-0.3.4-endian.patch @@ -0,0 +1,11 @@ +--- a/operations/external/tiff-load.c ++++ b/operations/external/tiff-load.c +@@ -505,7 +505,7 @@ + GeglRectangle line = { 0, p->height - row - 1, p->width, 1 }; + #if G_BYTE_ORDER != G_LITTLE_ENDIAN + guint row_start = row * p->width; +- guint row end = row * p->width + p->width; ++ guint row_end = row * p->width + p->width; + guint i; + + for (i = row_start; i < row_end; i++) diff --git a/media-libs/gegl/gegl-0.3.4.ebuild b/media-libs/gegl/gegl-0.3.4.ebuild index 4fca26c..ce3348c 100644 --- a/media-libs/gegl/gegl-0.3.4.ebuild +++ b/media-libs/gegl/gegl-0.3.4.ebuild @@ -77,6 +77,8 @@ pkg_setup() { } src_prepare() { + epatch "${FILESDIR}"/${PN}-0.3.4-endian.patch + # FIXME: the following should be proper patch sent to upstream # fix OSX loadable module filename extension sed -i -e 's/\.dylib/.bundle/' configure.ac || die