From: "Jeroen Roovers" <jer@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/gegl/, media-libs/gegl/files/
Date: Sat, 5 Dec 2015 09:05:46 +0000 (UTC) [thread overview]
Message-ID: <1449306326.b428d604c631ab659a91f7a364f811b80f70f9a4.jer@gentoo> (raw)
commit: b428d604c631ab659a91f7a364f811b80f70f9a4
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 5 09:05:26 2015 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> 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
next reply other threads:[~2015-12-05 9:06 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-05 9:05 Jeroen Roovers [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-12-05 16:41 [gentoo-commits] repo/gentoo:master commit in: media-libs/gegl/, media-libs/gegl/files/ Justin Lecher
2017-01-09 21:11 Sebastian Pipping
2017-04-01 22:25 Sebastian Pipping
2017-05-20 22:23 Sebastian Pipping
2017-12-04 20:30 Sebastian Pipping
2018-01-10 22:08 Sebastian Pipping
2018-01-10 22:42 Sebastian Pipping
2018-05-13 17:30 Sebastian Pipping
2019-03-09 18:22 Sebastian Pipping
2019-10-27 23:02 Sebastian Pipping
2019-10-28 12:54 Sebastian Pipping
2020-06-25 8:08 Joonas Niilola
2020-08-22 16:07 Andreas Sturmlechner
2021-06-09 21:34 Sam James
2021-06-09 21:34 Sam James
2022-03-15 4:20 John Helmert III
2022-12-21 23:52 Sam James
2024-04-14 0:43 Sam James
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1449306326.b428d604c631ab659a91f7a364f811b80f70f9a4.jer@gentoo \
--to=jer@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox