diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2011-09-23 08:59:24 +0000 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2011-09-23 08:59:24 +0000 |
commit | ab49028266e3471b230f89ac602259f03bb64634 (patch) | |
tree | a89a5c47fcdce2187a1587dece0d0529cb8b3c7c /media-gfx/brlcad/files | |
parent | Readded libpng15 patch (bug #383491). Moved ebuild back to EAPI-4 (diff) | |
download | gentoo-2-ab49028266e3471b230f89ac602259f03bb64634.tar.gz gentoo-2-ab49028266e3471b230f89ac602259f03bb64634.tar.bz2 gentoo-2-ab49028266e3471b230f89ac602259f03bb64634.zip |
Added fixed patch to build with libpng15 (bug #378273)
(Portage version: 2.2.0_alpha59/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx/brlcad/files')
-rw-r--r-- | media-gfx/brlcad/files/brlcad-7.18.4-libpng15.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/media-gfx/brlcad/files/brlcad-7.18.4-libpng15.patch b/media-gfx/brlcad/files/brlcad-7.18.4-libpng15.patch index 0020f69629ee..e0d42d1e22f9 100644 --- a/media-gfx/brlcad/files/brlcad-7.18.4-libpng15.patch +++ b/media-gfx/brlcad/files/brlcad-7.18.4-libpng15.patch @@ -11,3 +11,32 @@ http://bugs.gentoo.org/378273 #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" |