From: "Dongxu Li" <dongxuli2011@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: media-gfx/brlcad/files/, media-gfx/brlcad/
Date: Mon, 26 Sep 2011 14:42:11 +0000 (UTC) [thread overview]
Message-ID: <44d4582768174b870467ada6faa89eb6fe9be554.dongxuli@gentoo> (raw)
commit: 44d4582768174b870467ada6faa89eb6fe9be554
Author: Dongxu Li <dongxuli2011 <AT> gmail <DOT> com>
AuthorDate: Mon Sep 26 14:35:27 2011 +0000
Commit: Dongxu Li <dongxuli2011 <AT> gmail <DOT> com>
CommitDate: Mon Sep 26 14:35:27 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=44d45827
media-gfx/brlcad: included patch for 7.20.2, bug#378273
---
media-gfx/brlcad/ChangeLog | 3 +
media-gfx/brlcad/brlcad-7.20.2.ebuild | 3 +
.../brlcad/files/brlcad-7.18.4-libpng15.patch | 42 ++++++++++++++++++++
3 files changed, 48 insertions(+), 0 deletions(-)
diff --git a/media-gfx/brlcad/ChangeLog b/media-gfx/brlcad/ChangeLog
index 08295cf..3a0944d 100644
--- a/media-gfx/brlcad/ChangeLog
+++ b/media-gfx/brlcad/ChangeLog
@@ -4,6 +4,9 @@
*brlcad-7.20.2 (15 Jul 2011)
+ 26 Sep 2011; Dongxu Li <dongxuli2011@gmail.com> brlcad-7.20.2.ebuild:
+ Included libpng15 patch by Ian Stakenvicius, bug#378273
+
18 Aug 2011; Dongxu Li <dongxuli2011@gmail.com> brlcad-9999.ebuild:
Fixed an ebuild configuration issue
diff --git a/media-gfx/brlcad/brlcad-7.20.2.ebuild b/media-gfx/brlcad/brlcad-7.20.2.ebuild
index c473901..f554089 100644
--- a/media-gfx/brlcad/brlcad-7.20.2.ebuild
+++ b/media-gfx/brlcad/brlcad-7.20.2.ebuild
@@ -36,6 +36,9 @@ DEPEND="${RDEPEND}
doc? ( dev-libs/libxslt )"
BRLCAD_DIR="${EPREFIX}/usr/${PN}"
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-7.18.4-libpng15.patch"
+}
src_configure() {
local myconf="--without-jdk"
diff --git a/media-gfx/brlcad/files/brlcad-7.18.4-libpng15.patch b/media-gfx/brlcad/files/brlcad-7.18.4-libpng15.patch
new file mode 100644
index 0000000..e0d42d1
--- /dev/null
+++ b/media-gfx/brlcad/files/brlcad-7.18.4-libpng15.patch
@@ -0,0 +1,42 @@
+http://bugs.gentoo.org/378273
+
+--- src/libged/png.c
++++ src/libged/png.c
+@@ -30,6 +30,8 @@
+ #include <string.h>
+ #include "bio.h"
+
++#include <zlib.h> /* Z_BEST_COMPRESSION */
++
+ #include "png.h"
+ #include "bu.h"
+ #include "vmath.h"
+--- src/fb/fb-png.c 2011-04-12 14:31:56.000000000 -0400
++++ src/fb/fb-png.c.new 2011-09-19 13:18:08.000000000 -0400
+@@ -38,13 +38,13 @@
+ # include <unistd.h>
+ #endif
+
++#include "zlib.h"
+ #include "png.h"
+ #include "bu.h"
+ #include "fb.h"
+
+ #include "pkg.h"
+
+-
+ /* in cmap-crunch.c */
+ extern void cmap_crunch(RGBpixel (*scan_buf), int pixel_ct, ColorMap *colormap);
+
+--- src/util/pix-png.c 2011-04-12 14:34:24.000000000 -0400
++++ src/util/pix-png.c.new 2011-09-19 13:18:59.000000000 -0400
+@@ -36,7 +36,8 @@
+ #include "bio.h"
+
+ #include "zlib.h"
+-#include "pngconf.h"
++/* removed as png.h includes this and including it in the wrong order seems to cause bugs
++#include "pngconf.h" */
+ #include "png.h"
+
+ #include "bu.h"
next reply other threads:[~2011-09-26 14:42 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-26 14:42 Dongxu Li [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-01-12 11:46 [gentoo-commits] proj/sci:master commit in: media-gfx/brlcad/files/, media-gfx/brlcad/ Andrew Ammerlaan
2012-03-29 9:07 Justin Lecher
2012-03-27 22:06 Dongxu Li
2012-02-11 17:14 Dongxu Li
2012-02-05 15:14 Dongxu Li
2011-08-10 0:33 Dongxu Li
2011-07-15 15:37 Dongxu Li
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=44d4582768174b870467ada6faa89eb6fe9be554.dongxuli@gentoo \
--to=dongxuli2011@gmail.com \
--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